WebRTC Metrics
A comprehensive overview of WebRTC statistics, derived indicators, and observable signals, to better understand call quality, connectivity, and user experience in rtcStats
Back
connectivitybug
TURN Authentication Error
The connection has been rejected by the TURN server due to an authentication error (401).
Description
This indicates that a TURN server returned a 401 Unauthorized error.
Such an error means the credentials passed to the TURN servers are wrong. Two main reasons for this to happen:
- The configuration for the TURN server is wrong, so the credentials don’t match
- Credentials in TURN servers for WebRTC are usually short-lived (usually 1-24 hours in length), and they might have expired
What do we do here?
When we see a 401 error on TURN we mark it as an Observation.