decentraland / decentraland/unity-explorer

Utility.Networking.WebSocketException: Exception of type 'Utility.Networking.WebSocketException' was thrown.

Open
#10,005 3 comments 0 reactions 0 assignees View on GitHub
1-high bug duplicate sentry
Dominant language
C#
Stars
23
Forks
17
Avg merge
2d 16h
Merged PRs (30d)
101

Description

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

```
Utility.Networking.WebSocketException: Exception of type 'Utility.Networking.WebSocketException' was thrown.
File "C:/workspace/workspace/p/Explorer/Assets/DCL/Infrastructure/Utility/Networking/DCLWebSocket.cs", line 107, in ConnectAsync
File "C:/workspace/workspace/p/Explorer/Assets/DCL/Infrastructure/CrdtEcsBridge/JsModulesImplementation/ClientWebSocketApiImplementation.cs", line 59, in ConnectAsync
File "C:/workspace/workspace/p/Explorer/Assets/DCL/Infrastructure/Utility/Networking/DCLWebSocket.cs", line 107, in ConnectAsync
File "SceneRunner.Scene.cpp", line 10276, in ReportAndRethrowExceptionAsync
File "SceneRuntime__1.cpp", line 5975, in ConnectAsync
...
(74 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 with the Sentry stack trace and inspect ConnectAsync in Assets/DCL/Infrastructure/Utility/Networking/DCLWebSocket.cs and Assets/DCL/Infrastructure/CrdtEcsBridge/JsModulesImplementation/ClientWebSocketApiImplementation.cs. Determine why WebSocketException is raised at DCLWebSocket.cs line 107, then reproduce the failure and verify that the connection no longer produces this unhandled exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.