-
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
argocd app logs [app] --follow no longer works in ArgoCD 2.3.1 #8947
Comments
@todaywasawesome (Dan), as discussed here in slack: Thanks again for taking the time to verify and submitting this bug. |
Thanks @todaywasawesome and @Paragon1970 for opening this. Here's what I have so far:
|
It looks like #8404 introduced the
|
Nice work @danielhelfand and very much appreciated. |
Sure thing @Paragon1970. Setting the env var above to something higher should be a workaround for now. Seems like this should be something users opt into as opposed to setting a default like is happening now. Hopefully something like that will be long term fix. |
Hi @danielhelfand I would also agree that this should be an opt-in since as the document you linked to #8404 states its design considerations are to stabilize operations to clusters at the far edge. I have attempted to add ARGOCD_K8s_TCP_TIMEOUT is shown as set within the
ArgoCD client / server are now on 2.3.3 (latest) |
You may have unfortunately discovered another bug. I get the following when I set the env var on the application-controller stateful set:
The comparison of the configured duration to math.MaxInt32 seems to not allow this to even be configured at the moment: Line 115 in 3c00de8
The func has a max param to disallow over a certain value, but it's not being interpreted correctly as a duration. Here's an example of comparing durations in go playground: https://go.dev/play/p/my5nte8wHum |
Thanks for the above information @danielhelfand |
Checklist:
argocd version
.Describe the bug
argocd app logs [app] --follow
no longer works in ArgoCD 2.3.1After initially displaying output, around 30 seconds it will fail with an rpc code.
FATA[0032] stream read failed: rpc error: code = Unknown desc = net/http: request canceled (Client.Timeout or context cancellation while reading body)
This is in both the CLI and the UI.
To Reproduce
argocd app logs [app] --follow
Expected behavior
Following logs should continue to work.
Screenshots
Version
Logs
The text was updated successfully, but these errors were encountered: