-
Notifications
You must be signed in to change notification settings - Fork 1.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
gcp_stackdriver_logs: 401 Unauthorised each hour #19614
Comments
You are correct, it seems like those requests are not retried. I'd argue they should be (per #10870), in addition to refreshing the token before it expires. Retry logic: Lines 517 to 531 in 131ab45
|
Coming back to this, it seems as though the root issue relates to running more than 1 gcp_stackdriver_logs sink (we had a separate sink sending a subset of logs to a different GCP project). |
Update: The 401s have returned since we scaled back to a single gcp_stackdriver_logs sink. |
Closing. Fixed in #20574 |
A note for the community
Problem
Each ~hour we are observing "Http status: 401 Unauthorized" in our vector logs coming from the gcp_stackdriver_logs sink.
Vector is running in GKE as a headless service and consuming logs from kafka, we do not utilise the
credentials_path
and instead rely on the Service Account to authenticate. The problem resolves itself after a 2/3 minute period however my understanding is that these logs are not retried and are therefore discarded.Configuration
Version
0.34.1-distroless-libc
Debug Output
No response
Example Data
No response
Additional Context
No response
References
The text was updated successfully, but these errors were encountered: