CastawayLabs / cachet-monitor

Distributed monitoring plugin for CachetHQ
https://castawaylabs.github.io/cachet-monitor/
MIT License
439 stars 127 forks source link

Timeout exceeded while awaiting headers #31

Closed faizshukri closed 8 years ago

faizshukri commented 8 years ago

I'm using cachet-monitor v2.0

Got this message in the incident.

Get http://someurl/health: net/http: request canceled (Client.Timeout exceeded while awaiting headers)

The health check URL is fine, but somehow its response is slightly slow (the slowest take up to 3000ms). But I think it is still acceptable. Is there a way to control the timeout value?

Thanks

matejkramny commented 8 years ago

Should be possible via the config file.

faizshukri commented 8 years ago

@matejkramny Here a PR to enhance the timeout.

matejkramny commented 8 years ago

Thanks

to-kn commented 8 years ago

Hi @matejkramny when do you plan to release that fix? Thanks a lot you two!

matejkramny commented 8 years ago

Hi @tk-s, I meant to improve the package slightly after merging however life got in the way. Will be soon