-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
siteArea: frontend dashboardArea: frontend dashboard
Description
The "Access URL" and "Websocket" pages under "Health" do not show detailed error messages or further troubleshooting information.
For example:
Given: Coder instance with misconfigured scheme in CODER_ACCESS_URL
(e.g. https://localhost:7080
which is generally HTTP and not HTTPS)
When: you hit the health tab
Then: you see the following information:
Severity: error
Access URL: https://localhost:7080
Reachable: No
Status Code: 0
But the /api/v2/debug/health
endpoint provides more detailed information, e.g.:
"access_url": {
"healthy": false,
"severity": "error",
"warnings": [],
"dismissed": false,
"access_url": "https://localhost:7080/",
"reachable": false,
"status_code": 0,
"healthz_response": "",
"error": "EACS03: get healthz endpoint: Get \"https://localhost:7080/healthz\": http: server gave HTTP response to HTTPS client"
},
Ditto for websocket check.
Metadata
Metadata
Assignees
Labels
siteArea: frontend dashboardArea: frontend dashboard