decentraland / decentraland/unity-explorer

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

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

Description

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

```
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 123, 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 123, in ConnectAsync
File "SceneRunner.Scene.cpp", line 10250, in ReportAndRethrowExceptionAsync
File "SceneRuntime__1.cpp", line 6432, 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 the cause of the WebSocketException, reproduce it if possible, and verify that the affected connection path completes without the reported exception.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.