[error] 4993#4993: *22595 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 126.96.36.199, server: example.com, request: "GET / HTTP/1.1", upstream: "uwsgi://unix://www/webservice.sock:", host: "example.com", referrer: "url"
This snippet is for future me. Most answers for this problem you'll see are related to PHP. This issue is related to the buffer size in the uWSGI. Probably your requests have a long query parameters and cookies.
Default size is 4096. If you plan to receive relatively big requests, you'll need to change this parameter value. You can tune it up to 65535.
I do it in my application config uwsgi ini file.