Skip to content
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

Checkman stops polling upon getting a 504 #30

Open
TildeWill opened this issue Feb 6, 2014 · 1 comment
Open

Checkman stops polling upon getting a 504 #30

TildeWill opened this issue Feb 6, 2014 · 1 comment

Comments

@TildeWill
Copy link
Contributor

Checkman seems to stop polling when using the site script and the response is a 504 (I believe this happens with a 502 too, but didn't have logs to show it). This results in a red build until Checkman is restarted.

Example log output from Alt+clicking the build in question:

cd /Users/pivotal/Dropbox/front-end; /bin/bash "-lc" "PATH=$PATH:/Applications/Checkman.app/Contents/Resources site.check https://console.run.pivotal.io/heartbeat"

{"result":false,"changing":false,"url":"https://example.com/heartbeat","info":[["Url","https://example.com/heartbeat"],["Status","HTTP/1.1 504 Gateway Timeout"],["Content-length:0"]]}

stty: stdin isn't a terminal
stty: stdin isn't a terminal
curl -sIk -A "CheckmanSite (Hostname: $HOSTNAME)" 'https://example.com/heartbeat'
HTTP/1.1 504 Gateway Timeout

Content-length:0
@TildeWill
Copy link
Contributor Author

This could also be a [lack of?] header problem. In the case of 504/502 Checkman doesn't actually get to the app. In the case where Checkman reaches to our app and gets a 500, it behaves as expected.

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

No branches or pull requests

1 participant