You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the Server responds with an error/timeout for the configuration call. Sidecar detects this as a 'new' configuration and rewrites the local configuration and restarts the specific agent. In the next iteration it detects the correct configuration again as new configuration and restarts the agent.
Steps to reproduce the problem
Make sure the request for the configuration times out or fails, without an HTTP Status Code or DNS Resolution times out via UDP.
Possible Solution
In this Line the Error gets detected from the sidecar, and the error gets logged to file:
Problem description
If the Server responds with an error/timeout for the configuration call. Sidecar detects this as a 'new' configuration and rewrites the local configuration and restarts the specific agent. In the next iteration it detects the correct configuration again as new configuration and restarts the agent.
Steps to reproduce the problem
Possible Solution
In this Line the Error gets detected from the sidecar, and the error gets logged to file:
collector-sidecar/api/graylog.go
Lines 109 to 113 in cd538a1
As the resp being nil following condition does not match:
collector-sidecar/api/graylog.go
Line 115 in cd538a1
So the last return statement triggers and returns an 'nil' Error, which leads the calling procedure to 'detect' a new config:
collector-sidecar/api/graylog.go
Line 136 in cd538a1
Logs
The text was updated successfully, but these errors were encountered: