Diagnostics Checks Failed. Throws the below error.
schezwansoftware opened this issue · comments
"components_agent": {
2019-06-02 07:02:00: "output": "Error executing DC/OS components health check: unable to unmarshal diagnostics response: invalid character '\u003c' looking for beginning of value\n"
Hey can you share information about version and more logs and configuration?
@schezwansoftware Are you still experiencing this issue? Please share some more info as @janisz suggested.
Similar issue noticed on DC/OS 1.11.12.
curl 0.0.0.0:61001/system/health/v1
returns 502
:
<html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>openresty</center>
</body>
</html>
dcos-adminrouter-agent
can't connect to diagnostics socket
[error] 19749#0: *345978 connect() to unix:/run/dcos/dcos-diagnostics.sock failed (11: Resource temporarily unavailable) while connecting to upstream, client: 192.168.0.3, server: agent.mesos, request: "GET /system/health/v1 HTTP/1.1", upstream: "http://unix:/run/dcos/dcos-diagnostics.sock:/system/health/v1",
$ curl -v --unix-socket /run/dcos/dcos-diagnostics.sock http://localhost/system/health/v1
* Trying /run/dcos/dcos-diagnostics.sock...
* Connection time-out
* Closing connection 0
curl: (28) Connection time-out
restarting dcos-diagnostics
can "fix" the issue:
service dcos-diagnostics restart
DC/OS 1.11 is not supported please update to latest version of DC/OS