decentraland / decentraland/unity-explorer

Cysharp.Threading.Tasks.UnityWebRequestException: HTTP/1.1 429 Too Many Requests

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

Description

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

```
Cysharp.Threading.Tasks.UnityWebRequestException: HTTP/1.1 429 Too Many Requests
{"error":"Slowdown: 360 per 1 minute"}

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
...
(190 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 WebRequestController.cs around lines 88 and 129 to trace the repeated request flow. Use the Sentry issue details to investigate the HTTP 429 response and the reported 360-per-minute slowdown. Done means the cause of the excessive requests is identified and the error no longer occurs under the affected flow.

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
Active
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.