Hello Jordan, we are back because we have found the problem again. We have deleted the custom health check handler, disabled the health check in the *app.yaml* configuration file, but the problem is still there.
Just to recap, what we keep seeing is the following. - From the proxy perspective, all we see is a 502 Bad Gateway response from the backend server - On the backend server itself, we see the following error: 07:11:15.000 [error] 32#32: *84209 upstream prematurely closed connection while reading response header from upstream, client: 130.211.1.151, server: , request: "POST /collect HTTP/1.1", upstream: "http://172.17.0.1:8080/collect", host: "[ourprojectid].appspot.com" It does not look like the problem is caused by long running tasks, as we encountered the problem also with a simple hello-world application with no long running tasks at all. We also do not receive requests bigger than 12MB, which could possibly reach the App Engine request size limit. In any case, to be sure, we also put a filter at the beginning of the app to filter out requests bigger that 1500 Bytes (so we are sure we are handling only small requests) On Monday, October 2, 2017 at 4:53:43 PM UTC+2, Jordan (Cloud Platform Support) wrote: > > If properly responding to the health check with a message body > *res.status(200).send('');* as the documentation states causes the health > checks to fail, that would indeed warrant an issue to be reported in the > PIT (public issue tracker). > > Note that responding to health checks is not required as even a 404 > response from your application tells nginx that you application is alive > (as it responded saying it cannot find the requested resource 404). > > > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/eedd3c8f-e6f0-4bf6-b75e-54378cbdf239%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
