decentraland / decentraland/unity-explorer

System.InvalidOperationException: Cannot determine the protocol from the about url: ws-room:ws://127.0.0.1:8100/mini-comms/room-1

Open
#9,952 1 comment 0 reactions 0 assignees View on GitHub
1-high bug sentry
Dominant language
C#
Stars
23
Forks
17
Avg merge
2d 19h
Merged PRs (30d)
107

Description

Sentry Issue: [UNITY-EXPLORER-P87](https://decentraland.sentry.io/issues/7504050464/)

```
System.InvalidOperationException: Cannot determine the protocol from the about url: ws-room:ws://127.0.0.1:8100/mini-comms/room-1
File "/opt/workspace/workspace/a065372e-0c5f-4536-0000-0440104d155d.8c1273e985o/Explorer/Assets/DCL/Multiplayer/Connections/Archipelago/Rooms/ForkGlobalRealmRoom.cs", line 46, in ChooseRoom
File "/opt/workspace/workspace/a065372e-0c5f-4536-0000-0440104d155d.8c1273e985o/Explorer/Assets/DCL/Multiplayer/Connections/Archipelago/Rooms/ForkGlobalRealmRoom.cs", line 31, in StartAsync
File "/opt/workspace/workspace/a065372e-0c5f-4536-0000-0440104d155d.8c1273e985o/Explorer/Assets/DCL/Multiplayer/Connections/Rooms/Connective/IConnectiveRoom.cs", line 83, in StartIfNotAsync
File "/opt/workspace/workspace/a065372e-0c5f-4536-0000-0440104d155d.8c1273e985o/Explorer/Assets/DCL/Multiplayer/Connections/RoomHubs/RoomHub.cs", line 86, in StartAsync
File "/opt/workspace/workspace/a065372e-0c5f-4536-0000-0440104d155d.8c1273e985o/Explorer/Assets/DCL/Multiplayer/Connections/RoomHubs/RoomHub.cs", line 74, in TryGetUser
...
(208 additional frame(s) were not displayed)
```
This issue was automatically created by Sentry via [Explorer Alpha Github Issue Creation](https://sentry.io/organizations/decentraland/monitors/alerts/3130340/)

Contributor guide

Open the contributing guide

Research direction

Start at Assets/DCL/Multiplayer/Connections/Archipelago/Rooms/ForkGlobalRealmRoom.cs line 46, where ChooseRoom reports the failure, and trace the ws-room URL from StartAsync. Reproduce the Sentry exception if possible and inspect the related room connection flow; done should mean this URL no longer causes the reported protocol-determination exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, unity
Domain
game-dev, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.