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

Unreliable HTTP checks #824

Closed
jacobat opened this issue Mar 30, 2015 · 2 comments
Closed

Unreliable HTTP checks #824

jacobat opened this issue Mar 30, 2015 · 2 comments

Comments

@jacobat
Copy link

jacobat commented Mar 30, 2015

Creating an HTTP kind of health check fails every other or third request.

I have a check like:

{
  "ID": "my_app",
  "Name": "my_app",
  "Tags": [
  ],
  "Address": "192.168.42.120",
  "Port": 3000,
  "Check": {
    "HTTP": "http://192.168.42.120:3000",
    "interval": "10s",
    "timeout": "1s"
  }
}

And in my web server logs I see:

192.168.42.120 - - [30/Mar/2015:14:38:07 +0000] "GET / HTTP/1.0" 200 - 0.0011
192.168.42.120 - - [30/Mar/2015:14:38:17 +0000] "GET / HTTP/1.0" 200 - 0.0011
192.168.42.120 - - [30/Mar/2015:14:38:37 +0000] "GET / HTTP/1.0" 200 - 0.0011
192.168.42.120 - - [30/Mar/2015:14:38:57 +0000] "GET / HTTP/1.0" 200 - 0.0012

Notice the missing checks at :27 and :47.

Using the "script" kind of check works reliably and will make a request every 10 seconds.

@highlyunavailable
Copy link
Contributor

This looks like a duplicate of #779 - I'm guessing it's the same issue.

@jacobat
Copy link
Author

jacobat commented Mar 30, 2015

It does indeed. I'll await the next release and report back if I still see the issue.

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

2 participants