DragonSurvivalTeam / DragonSurvival

Other
49 stars 41 forks source link

[1.20.1 Bug]: Skin loading issues in China #568

Open sszhuanxiang opened 2 months ago

sszhuanxiang commented 2 months ago

■ Your Discord ID or other contacts

No response

■ Dragon Survival version

DragonSurvival-1.20.1-09.05.2024_ALPHA

■ Forge/Neoforge version

forge-47.3.0

■ Single game or server?

Local network (LAN, Hamachi, etc.)

■ Describe the bug

When I run the game and try to load a save file, it hangs on “loading data“. It seems no response. After checking the error log, I found there seems to be an issue with accessing a URL. Here are the relevant URL details and screenshots. It seems my network access is being blocked:

[14:55:15] [Render thread/WARN] [Dragon Survival/]: Reader could not be closed java.io.IOException: Server returned HTTP response code: 403 for URL: https://web-api.gitcode.com/api/v1/projects/mirrors%2FDragonSurvivalTeam%2FDragonSurvival/repository/tree?ref=master&path=src/test/resources&per_page=100&page=1 Log4.txt 1720112736153

■ Crash Report File and Logs

Log4.txt

sszhuanxiang commented 2 months ago

Of course, two players who connected to my LAN are also experiencing the same issue.

Psither commented 2 months ago

It appears that Github has changed their handling for HTML requests coming from China, see: 1195160

Eirin-lin commented 2 months ago

This bug is also found on 1.19.2. To address this issue temporarily, you can use proxy software like Clash to reject all connections to web-api.gitcode.com.

rules:
  - DOMAIN-SUFFIX,web-api.gitcode.com,REJECT
Inhrtbury2998 commented 2 months ago

I think it's because the gitcode site has been under maintenance for the last few days, so it's throw 403.See this