Describe the bug 🐛

Status 503 Service Unavailable
Public Links run only once when connected to a Django job, then fail when launch a second time displaying the error message 👉 upstream connect error or disconnect reset before headers reset reason connection failure
To Reproduce 🔂
- Create a Public Links.
- Waiting for Ingress status to be Ingress is now ready.
- Connect the newly created Public Link to a Django job.
- Click on Submit to launch the Django job.
- Click on Open interface does open a browser window displaying the newly created Public Link in the navigation bar.
- Click on Stop application to terminate the running Django job.
- Click on Run application again to launch the Django job with the same parameters.
- Click on Submit to launch the Django job.
- Click on Open interface does open a browser window displaying the same Public Link as first run in the navigation bar, this time displaying the error message: upstream connect error or disconnect/reset before headers. reset reason: connection termination.
Configuration ⚙️
- Python 3.11.0
- PostgreSQL Server 14.5
- Django version 4.1.2
Expected behavior 🚀
app-mission-ocean.cloud.sdu.dk running in DEBUG=False with cache and collectstatic.
Additional context 🌍
When conducting searches on "kubernetes" "ingress" "upstream connect error or disconnect/reset before headers. reset reason: connection failure" on google.com, we note a lot of chatters around that issue, notably that one 👇
For some time, our users reported seeing upstream connect errors and 503s like ”upstream connect error or disconnect/reset before headers. reset reason: connection termination“. This issue goes away if we refresh our browser page. However, it was very difficult to reproduce this error. -- Puzzling 503s and Istio
Notes 📝
Public Links 🔗
| Public Links |
Created |
Worked Last |
Status |
| app-9a7f8023b8b09392140f3ff9f12c91f2.cloud.sdu.dk |
19/03/2023 |
19/03/2023 |
🚫 |
| app-githubbing.cloud.sdu.dk (deleted and created again) |
18/03/2023 |
|
🚫 |
| app-health-check.cloud.sdu.dk |
18/03/2023 |
18/03/2023 |
✅ |
| app-health-status.cloud.sdu.dk |
18/03/2023 |
23/03/2023 |
✅ |
| app-mission-ocean.cloud.sdu.dk |
19/02/2023 |
|
🚫 |
| app-research-funding.cloud.sdu.dk |
11/03/2023 |
|
🚫 |
| app-thalassa.cloud.sdu.dk |
11/03/2023 |
23/03/2023 |
✅ |
| app-yerun.cloud.sdu.dk |
17/03/2023 |
|
🚫 |
DEBUF = Truein settings).Describe the bug 🐛
Status 503 Service Unavailable
Public Links run only once when connected to a Django job, then fail when launch a second time displaying the error message 👉 upstream connect error or disconnect reset before headers reset reason connection failure
To Reproduce 🔂
Configuration ⚙️
Expected behavior 🚀
Additional context 🌍
When conducting searches on "kubernetes" "ingress" "upstream connect error or disconnect/reset before headers. reset reason: connection failure" on google.com, we note a lot of chatters around that issue, notably that one 👇
Notes 📝
Public Links 🔗