decentraland / decentraland/unity-explorer

Cysharp.Threading.Tasks.UnityWebRequestException: Cannot connect to destination host

Open
#9,661 3 comments 0 reactions 0 assignees View on GitHub
2-medium 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-PAY](https://decentraland.sentry.io/issues/7543540029/)

```
Cysharp.Threading.Tasks.UnityWebRequestException: Cannot connect to destination host
File "/opt/workspace/workspace/a065372e-0c5f-4536-0000-0440104d155d.8c1273e985o/Explorer/Assets/DCL/WebRequests/ITypedWebRequest.cs", line 29, in MoveNext
File "/opt/workspace/workspace/a065372e-0c5f-4536-0000-0440104d155d.8c1273e985o/Explorer/Assets/DCL/WebRequests/WebRequestController.cs", line 88, in MoveNext
File "/opt/workspace/workspace/a065372e-0c5f-4536-0000-0440104d155d.8c1273e985o/Explorer/Assets/DCL/WebRequests/ITypedWebRequest.cs", line 53, in MoveNext
File "/opt/workspace/workspace/a065372e-0c5f-4536-0000-0440104d155d.8c1273e985o/Explorer/Assets/DCL/WebRequests/WebRequestController.cs", line 129, in MoveNext
File "/opt/workspace/workspace/a065372e-0c5f-4536-0000-0440104d155d.8c1273e985o/Explorer/Assets/DCL/WebRequests/ITypedWebRequest.cs", line 53, in MoveNext
...
(103 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 by reading Assets/DCL/WebRequests/ITypedWebRequest.cs around line 29 and Assets/DCL/WebRequests/WebRequestController.cs around lines 88 and 129, following how UnityWebRequest failures are propagated. Determine the expected handling for a destination-host connection failure and verify the Sentry error no longer occurs or is handled as intended.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.