home
join about login
Django tips and tricks

gst

June 29, 2018, 3:34 p.m.

uwsgi + nginx + POST request = 502 Bad Gateway

I was having big problem with 502 bad gateway when using uwsgi and nginx.
Always on POST requests and mostly with big files.
After much research seems that the buffer-size parameter in uwsgi was the underlying cause.
I tried to play around with different values, some worked better than others but none config was able to get rid completely of the problem. The best values was 4k or comenting out the buffer-size at all.
Some post called this "the request of death"! And said they got rid of with with a 8k buffer size.
But none of this worked for me. None!
I decided to switch back to Apache wsgi that have been working for us so restlessly for so many years without problems.
I still don't know what was wrong with uwsgi but apache did de job right and that's what we want.

No more headaches, no more users getting Bad Gateway!

460 views origin
Guri de Uruguaiana fala sobre hits do Carnaval e exageros no Phot - Pipi das Meias Altas Portuguese vol 1 - Climate change: 'Hothouse Earth' risks even if CO2 emissions slas - Celebrating 28 Years of the Hubble Space Telescope - Cetus Galaxies and Supernova - Major League Baseball notebook: Mariners deal for Colome, Span fr - Austria plans tougher sentences for crimes against women - Trump quip about North Korea's Kim sparks outcry on social media - At Tranquility Base - Slava Ukraini! on Steam - Exclusive: North Korea earned $200 million from banned exports, s - Federer pummels Bemelmans to move closer to top spot - The Extraordinary Spiral in LL Pegasi - Los candidatos se disputan el poderoso voto del magisterio mexica - GLORIA GROOVE - SEDANAPO - Southern California as Seen From Apollo 7 - NASA Awards Contract for Continued Operations of its Jet Propulsi - Noel Guarany | Sem Fronteira (1975) [Álbum Completo/Full Album] - NASA Awards Contract for Aerospace Systems Modeling, Simulation - Dieguito - A Lesma © ℗ MÚSICA AUTORAL Ensaio - Eu vi eu viiiii O papai noel tava na sinaleira - amizades - Launching to Observe Our Sun - Little Planet Soyuz - gliptodonte encontrado en Picada Varela - Wozniacki passes Barty test in Madrid, Sharapova advances - casados - Fallece un exdiputado federal del PRI tiroteado este fin de seman - This is how to train a cat :D How I Trained My Cat - Tonella - revisão do limpador de parabrisa do fusca - Eclipse solar hoje! - Orion in Red and Blue -  

tutti - social network

Tutti is the simplest social network on internet. Here you can make friends, create communities, sell things, make surveys, comment and share stuff.

" We Know Everything You Don't Know, At The Endtimes Era's Now "

https://navayaisle.uca.icu/
#news #community #update #global #unite #revolution #palestine #GCSC #endtimes #prophecy #civilsociety #ww3 #GreatReset #bunker
image
more