I have facebook apps with jar with nginx and uwsgi. When it gets POST from facebook, it always has an error:
readv() failed (104: Connection reset by peer) while reading upstream
But when I directly access my applications (using the GET method), it works smoothly. What I've done:
- Only Limit @ app.route with the
POST method does not work. - Add a restriction to wsgi:
uwsgi_buffer_size (if the request from facebook is large) and uwsgi_harakiri (if uwsgi provides a timeout before the request is completed) - does not work.
I have a workaround in django , but so far I canβt figure out how to implement it in a bulb. Can anyone help?
post flask wsgi dotcloud
asofyan
source share