Skip to content

Conversation

walkure
Copy link

@walkure walkure commented Jan 23, 2023

Reverse proxies(e.g. nginx / AWS ALB ) replies with 504 Gateway Tiemout response when idle timeout elapsed.

Default value of idle timeouts for AWS ALB / nginx are 60 seconds.

When pushprox-proxy has not received any scrape requests pushprox-client receives 504 reponse after idle timeout elapsed.

So, I've added checking http response status code before reading the response body.

Fix. #77 #118

@walkure walkure force-pushed the check-polling-response-status-code branch from dbdca19 to 60cd408 Compare January 23, 2023 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants