Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report 🐞 (disposable) Public Links work only once 1️⃣ #4

Open
4 tasks done
JV-conseil opened this issue Mar 18, 2023 · 0 comments
Open
4 tasks done
Assignees
Labels
bug Something isn't working

Comments

@JV-conseil
Copy link
Owner

JV-conseil commented Mar 18, 2023

  • I have activated the browser Private mode to evaluate if the error still happens.
  • I have turn-off any extension on my browser like adblock that may interfere with the app behaviour.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I execute it again in debug mode (DEBUF = True in settings).

Describe the bug 🐛

503 Service Unavailable • upstream connect error or disconnect reset before headers  reset reason connection failure
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 🔂

  1. Create a Public Links.
  2. Waiting for Ingress status to be Ingress is now ready.
  3. Connect the newly created Public Link to a Django job.
  4. Click on Submit to launch the Django job.
  5. Click on Open interface does open a browser window displaying the newly created Public Link in the navigation bar.
  6. Click on Stop application to terminate the running Django job.
  7. Click on Run application again to launch the Django job with the same parameters.
  8. Click on Submit to launch the Django job.
  9. 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 DEBUG=False collectstatic cacheapp-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 🚫
@JV-conseil JV-conseil added the bug Something isn't working label Mar 18, 2023
@JV-conseil JV-conseil self-assigned this Mar 18, 2023
@JV-conseil JV-conseil changed the title Bug Report 🐞 (disposable) UCloud Resources > Public Links work only once 1️⃣ Bug Report 🐞 (disposable) Public Links work only once 1️⃣ Mar 18, 2023
@JV-conseil JV-conseil added this to the UCloud Web Qualification milestone Mar 19, 2023
@JV-conseil JV-conseil pinned this issue Mar 20, 2023
Repository owner locked and limited conversation to collaborators Mar 21, 2023
Repository owner unlocked this conversation Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant