When attempting to connnect to a room why do i get...
# ask-ai
t
When attempting to connnect to a room why do i get this error? Error: engine: signal failure: ws failure: HTTP error: 401 UnauthorizedERRORlivekitlivekit_ffi:serverroom253livekit ffiserver:room - error while connecting to a room: engine: signal failure: ws failure: HTTP error: 401 Unauthorized
g
The error "HTTP error: 401 Unauthorized" typically indicates an issue with the token used for authentication. This can occur if the token is invalid, expired, or lacks the necessary permissions. According to LiveKit documentation, a valid token is required to establish a connection to a room. Ensure that the token is generated correctly with the appropriate permissions, such as
roomJoin
,
canPublish
, and
canSubscribe
. Would you like more details on how to generate a valid token or troubleshoot this issue further? Sources: - LiveKit documentation 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.