secondlife / secondlife/viewer

[WebRTC] An error occured while trying to connect to voice when initiating a call immediately after login

Open
#2,303 2 comments 0 reactions 0 assignees View on GitHub

A pull request for this has already been merged.

  • #2886 by @LLGuru — merged
bug maint-pe webrtc
Dominant language
C++
Stars
299
Forks
146
Avg merge
1d 9h
Merged PRs (30d)
88

Description

Environment

Second Life Release 7.1.9.10205353598 (64bit)

You are at 128.0, 127.9, 23.0 in webRTC1 located at simhost-07c23d76c83837d55.aditi
SLURL: secondlife://Aditi/secondlife/webRTC1/128/128/23
(global coordinates 259,968.0, 245,376.0, 23.0)
WebRTC-Voice 2024-08-15.10397494850

Description

Viewer shows a popup "An error has occurred while trying to connect to voice chat for akleshchev. Please try again later."
For some reason this popup is in main chat, not in an IM

Expected:
Either for call to go through or for 'call' button to be disabled. Any errors probably should be in specifc IMs

Reproduction steps

Log in
Call nearby agent as fast as possible

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the issue’s login-then-immediately-call reproduction and the related pull request #2886 before choosing an entry point. Check how the voice connection error is surfaced during that timing window and whether it appears in the intended conversation context. Done means the call is handled appropriately or the call control is unavailable, with errors shown in the specific IM rather than main chat.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.