Skip to content

Commit f3f5284

Browse files
committed
rephrase STUN warnings
1 parent d09e5a1 commit f3f5284

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

coderd/healthcheck/derphealth/derp.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ const (
3232
warningNodeUsesWebsocket = `Node uses WebSockets because the "Upgrade: DERP" header may be blocked on the load balancer.`
3333
oneNodeUnhealthy = "Region is operational, but performance might be degraded as one node is unhealthy."
3434
missingNodeReport = "Missing node health report, probably a developer error."
35-
noSTUN = "No nodes are capable of STUN, direct connections may not be possible."
36-
stunMapVaryDest = "STUN detected variable mapping by destination IP, you may be behind a hard NAT."
35+
noSTUN = "No STUN servers are available."
36+
stunMapVaryDest = "STUN returned different addresses; you may be behind a hard NAT."
3737
)
3838

3939
type ReportOptions struct {

docs/admin/healthcheck.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,11 @@ curl -v "https://coder.company.com/derp"
172172

173173
### ESTUN01
174174

175-
_No STUN nodes available._
175+
_No STUN servers available._
176176

177-
**Problem:** This is shown if no STUN-capable nodes are available. Coder will
178-
use STUN to establish [direct connections](../networking/stun.md). Without at
179-
least one working STUN server, direct connections may not be possible.
177+
**Problem:** This is shown if no STUN servers are available. Coder will use STUN
178+
to establish [direct connections](../networking/stun.md). Without at least one
179+
working STUN server, direct connections may not be possible.
180180

181181
**Solution:** Ensure that the
182182
[configured STUN severs](../cli/server.md#derp-server-stun-addresses) are
@@ -185,7 +185,7 @@ port.
185185

186186
### ESTUN02
187187

188-
_Mapping varies based on destination IP. You may be behind a hard NAT._
188+
_STUN returned different addresses; you may be behind a hard NAT._
189189

190190
**Problem:** This is a warning shown when multiple attempts to determine our
191191
public IP address/port via STUN resulted in different `ip:port` combinations.

0 commit comments

Comments
 (0)