Question

Status Code: 503 APP Platform: upstream connect error or disconnect/reset before headers. reset reason: local reset

Posted December 16, 2020 1.3k views
DigitalOcean App Platform

Hi,

i receive always a Status Code: 503 on a docker-Container running on the app platform.
The Error Said: upstream connect error or disconnect/reset before headers. reset reason: local reset.
It is only php7.4 installed on the Container.

Yesterday the build was running without problems and today it does not Work…

3 comments
  • Hej, I have the same problem, but with other stack (nodeJS)

  • I have same problem, we have python 3.8 and django 3.1.
    Initially, I thought, it might be due to high memory usage(80%) so, I have reduce process number and worker, reduce memory usage to (45%) and it has same behaviour.
    Randomly work for 1-2 request, after that all requests fail with 503.

    we have same docker image and same code on production. it is working for production but not for staging

  • I have the same problem here! Our stack is NodeJS in App Plataform

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
4 answers

Hei…
I think its a problem from the digitalocean app platform…

any resolution to this, getting it with django as well on App Platform.

“upstream connect error or disconnect/reset before headers.”

Same problem here !

Same problem here. When I call my API it sends back: upstream connect error or disconnect/reset before headers. reset reason: connection termination

Some other error that it throws: no healthy upstream

  • So apparently there was a big error in my log, I fixed that error and now everything seems to work. Make sure you look at your logs first.