Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Failed to query service health #190

Open
infa-svijayak opened this issue Oct 14, 2020 · 1 comment
Open

Failed to query service health #190

infa-svijayak opened this issue Oct 14, 2020 · 1 comment

Comments

@infa-svijayak
Copy link

infa-svijayak commented Oct 14, 2020

Hi,
I saw one of your previous issue #133 where the response you have given is by increasing the timeout for consul while getting service health, but increase in timeout doesnt seem to work in my case too. I am still getting the same error

time="2020-10-13T23:06:18Z" level=error msg="Failed to query service health: Get http://<consul-service>/v1/health/service/<servicename>?stale=: net/http: request canceled (Client.Timeout exceeded while awaiting headers)" source="consul_exporter.go:294"

Inside the pod i am able to do wget and getting the response in no time

wget http://consul-service/v1/health/service/servicename?stale=:
Connecting to <consul-service> (xxx.xxx.xxx.xxx.:80)
servicename 100% |************************************************************************************************************************************************************|  1821   0:00:00 ETA

Any assistance on this much appreciated

@simonpasquier
Copy link
Member

Which version are you running? How much have you increased the timeout? Have you checked the server's logs?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants