@@ -19,13 +19,17 @@ string `OK`.
19
19
20
20
If there is an issue, you may see one of the following errors reported:
21
21
22
- ### <a name =" EACS01 " >EACS01: Access URL not set</a >
22
+ ### EACS01
23
+
24
+ _ Access URL not set_
23
25
24
26
** Problem:** no access URL has been configured.
25
27
26
28
** Solution:** configure an [ access URL] ( ./configure.md#access-url ) for Coder.
27
29
28
- ### <a name =" EACS02 " >EACS02: Access URL invalid</a >
30
+ ### EACS02
31
+
32
+ _ Access URL invalid_
29
33
30
34
** Problem:** ` ${CODER_ACCESS_URL}/healthz ` is not a valid URL.
31
35
@@ -35,7 +39,9 @@ If there is an issue, you may see one of the following errors reported:
35
39
36
40
> ** Tip:** You can check this [ here] ( https://go.dev/play/p/CabcJZyTwt9 ) .
37
41
38
- ### <a name =" EACS03 " >EACS03: Failed to fetch ` /healthz ` </a >
42
+ ### EACS03
43
+
44
+ _ Failed to fetch ` /healthz ` _
39
45
40
46
** Problem:** Coder was unable to execute a GET request to
41
47
` ${CODER_ACCESS_URL}/healthz ` .
@@ -63,7 +69,9 @@ curl -v ${CODER_ACCESS_URL}/healthz
63
69
64
70
The output of this command should aid further diagnosis.
65
71
66
- ### <a name =" EACS04 " >EACS04: /healthz did not return 200 OK</a >
72
+ ### EACS04
73
+
74
+ _ /healthz did not return 200 OK_
67
75
68
76
** Problem:** Coder was able to execute a GET request to
69
77
` ${CODER_ACCESS_URL}/healthz ` , but the response code was not ` 200 OK ` as
@@ -84,14 +92,18 @@ should give you a good indication of the root cause.
84
92
Coder continuously executes a short database query to validate that it can reach
85
93
its configured database, and also measures the median latency over 5 attempts.
86
94
87
- ### <a name =" EDB01 " >EDB01: Database Ping Failed</a >
95
+ ### EDB01
96
+
97
+ _ Database Ping Failed_
88
98
89
99
** Problem:** This error code is returned if any attempt to execute this database
90
100
query fails.
91
101
92
102
** Solution:** Investigate the health of the database.
93
103
94
- ### <a name =" EDB02 " >EDB02: Database Latency High</a >
104
+ ### EDB02
105
+
106
+ _ Database Latency High_
95
107
96
108
** Problem:** This code is returned if the median latency is higher than the
97
109
[ configured threshold] ( ../cli/server.md#--health-check-threshold-database ) . This
@@ -120,7 +132,9 @@ traffic between Coder and workspace agents. Coder periodically queries the
120
132
health of its configured DERP servers and may return one or more of the
121
133
following:
122
134
123
- ### <a name =" EDERP01 " >EDERP01: DERP Node Uses Websocket</a >
135
+ ### EDERP01
136
+
137
+ _ DERP Node Uses Websocket_
124
138
125
139
** Problem:** When Coder attempts to establish a connection to one or more DERP
126
140
servers, it sends a specific ` Upgrade: derp ` HTTP header. Some load balancers
@@ -137,7 +151,9 @@ still be able to reach their workspaces, connection performance may be degraded.
137
151
** Solution:** ensure that any configured reverse proxy does not strip the
138
152
` Upgrade: derp ` header.
139
153
140
- ### <a name =" EDERP02 " >EDERP02: One or more DERP nodes are unhealthy</a >
154
+ ### EDERP02
155
+
156
+ _ One or more DERP nodes are unhealthy_
141
157
142
158
** Problem:** This is shown if Coder is unable to reach one or more configured
143
159
DERP servers. Clients will fall back to use the remaining DERP servers, but
@@ -170,7 +186,9 @@ functionality, Coder will periodically attempt to establish a WebSocket
170
186
connection with itself using the configured [ Access URL] ( #access-url ) , send a
171
187
message over the connection, and attempt to read back that same message.
172
188
173
- ### <a name =" EWS01 " >EWS01: Failed to establish a WebSocket connection</a >
189
+ ### EWS01
190
+
191
+ _ Failed to establish a WebSocket connection_
174
192
175
193
** Problem:** Coder was unable to establish a WebSocket connection over its own
176
194
Access URL.
@@ -187,7 +205,9 @@ Access URL.
187
205
2 . Ensure that any reverse proxy that is sitting in front of Coder's configured
188
206
access URL is not stripping the HTTP header ` Upgrade: websocket ` .
189
207
190
- ### <a name =" EWS02 " >EWS02: Failed to echo a WebSocket message</a >
208
+ ### EWS02
209
+
210
+ _ Failed to echo a WebSocket message_
191
211
192
212
** Problem:** Coder was able to establish a WebSocket connection, but was unable
193
213
to write a message.
@@ -206,23 +226,29 @@ to write a message.
206
226
If you have configured [ Workspace Proxies] ( ../admin/workspace-proxies.md ) , Coder
207
227
will periodically query their availability and show their status here.
208
228
209
- ### <a name =" EWP01 " >EWP01: Error Updating Workspace Proxy Health</a >
229
+ ### EWP01
230
+
231
+ _ Error Updating Workspace Proxy Health_
210
232
211
233
** Problem:** Coder was unable to query the connected workspace proxies for their
212
234
health status.
213
235
214
236
** Solution:** This may be a transient issue. If it persists, it could signify a
215
237
connectivity issue.
216
238
217
- ### <a name =" EWP02 " >EWP02: Error Fetching Workspace Proxies</a >
239
+ ### EWP02
240
+
241
+ _ Error Fetching Workspace Proxies_
218
242
219
243
** Problem:** Coder was unable to fetch the stored workspace proxy health data
220
244
from the database.
221
245
222
246
** Solution:** This may be a transient issue. If it persists, it could signify an
223
247
issue with Coder's configured database.
224
248
225
- ### <a name =" EWP03 " >EWP03: Workspace Proxy Version Mismatch</a >
249
+ ### EWP03
250
+
251
+ _ Workspace Proxy Version Mismatch_
226
252
227
253
** Problem:** One or more workspace proxies are more than one major or minor
228
254
version out of date with the main deployment. It is important that workspace
@@ -232,14 +258,18 @@ of API incompatibility.
232
258
** Solution:** Update the workspace proxy to match the currently running version
233
259
of Coder.
234
260
235
- ### <a name =" EWP04 " >EWP04: One or more Workspace Proxies Unhealthy</a >
261
+ ### EWP04
262
+
263
+ _ One or more Workspace Proxies Unhealthy_
236
264
237
265
** Problem:** One or more workspace proxies are not reachable.
238
266
239
267
** Solution:** Ensure that Coder can establish a connection to the configured
240
268
workspace proxies on port 443.
241
269
242
- ## <a name =" EUNKNOWN " >Unknown Error</a >
270
+ ## EUNKNOWN
271
+
272
+ _ Unknown Error_
243
273
244
274
** Problem:** This error is shown when an unexpected error occurred evaluating
245
275
deployment health. It may resolve on its own.
0 commit comments