-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Terminal closes with error 'websocket: close 1006' #14271
Comments
could be fixed by #14192 |
Is it possible to backport this to 2.4 and later? |
@matthiasdeblock we no longer support anything earlier than 2.6. |
Im running into the same symptoms but I'm on |
Fwiw, I tried to upgrade to |
FWIW, I also tried to test when port forwarding to ArgoCD server, and it works without issues. So feel like something with the load balancer. Doesn't feel like a timeout bc its quick. I can setup a backednconfig for session affinity if needed, but I'd expect the docs to say if that was a requirement. https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-configuration |
Im leaving some comments on #14192 as well, but from what I can tell the terminal is locking in under 60 secs, like 15-45 secs and it locks so the keep alive being at 60 secs isn't resolving my issue (best I can tell). I did just see that the timeout for the LB is 30 secs so let me try to make that value longer. |
Alright so in GCP the default timeout for a backend service is 30 secs, with the default settings the terminal was hanging. After increasing that timeout > 60 secs (currently set for 3600 secs ie 1 hr) and I've been able to wait 10+ mins and return to a working terminal. Everything is working now as expected. I would recoomend that the docs https://argo-cd.readthedocs.io/en/stable/operator-manual/web_based_terminal/ be updated to call out the 60 sec check that now exists and that for LB's the timeout needs to be > 60 secs |
@erhudy , is the fix available in v2.7.3 argocd version. We are facing the same issue where in our terminal closes around 60 seconds of inactivity. |
Same problem is here. Upgrade to 2.8.4 nothing changed. Problem appeared after kubernetes upgrade from 1.22 with cilium to 1.25 with cilium on same cloud provider. Exposing argocd without cloud NLB nothing changed: terminal freezes in 30-60 seconds.
Ingress-nginx have extended timeout annotation
in logs:
Argocd-server with Oauth2 integration with Keycloak: other UI-elements works as expected |
found merged MR #14192 for terminal keepalive. Enabled websocket tracing (https://developer.chrome.com/blog/new-in-devtools-74/#binary) and dont see any pings in websocket messages |
my problem was containerd, restarted every minute via mistake cron job. Sorry for my mistake. |
Checklist:
argocd version
.Describe the bug
Opening a terminal in ArgoCD and let it rest for about 50 seconds results in an unresponsive terminal.
To Reproduce
Open a Pod terminal in ArgoCD and wait for 50 seconds.
Expected behavior
Continue to work in the shell even after 50 seconds inactivity.
Screenshots
Screenshot from the Response of a websocket terminal call:
Version
Logs
The text was updated successfully, but these errors were encountered: