geerlingguy/ansible-role-node_exporter

Status code was -1 and not [200]: Connection failure: timed out

chanyshev opened this issue · 2 comments

Hi, I get this error

TASK [ansible-role-node_exporter : Verify node_exporter is responding to requests.] *******************************************************************************************************************************************************fatal: [mobile-admin.backend.ab.internal]: FAILED! => {"changed": false, "content": "", "elapsed": 30, "failed_when_result": true, "msg": "Status code was -1 and not [200]: Connection failure: timed out", "redirected": false, "status": -1, "url": "http://localhost:9100/"}
If I do restart node_exporter on the target server, the error does not appear after that

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.