SteamRE / DepotDownloader

Steam depot downloader utilizing the SteamKit2 library.
GNU General Public License v2.0
1.98k stars 268 forks source link

[CDN] Failed to download manifest 403 (Forbidden) in China #545

Closed fuzzyscn closed 1 month ago

fuzzyscn commented 1 month ago

What did you expect to happen?

download manifest success

Instead of that, what actually happened?

[CDN] Failed to download manifest http://dl.steam.clngaa.com/depot/2347771/manifest/4416334441953422726/5/8323624935514271006: Response status code does not indicate success: 403 (Forbidden). [Steam3Session] Requesting CDN auth token for dl.steam.clngaa.com App 730 was not completely downloaded.

Which operating system are you running on?

Windows

Version

DepotDownloader v2.7.2+5a695e6dd13db74a286659d129784a872a5648b8 Runtime: .NET 8.0.8

Command

DepotDownloader.exe -app 730 -depot 2347771 -debug

Relevant log output

DepotDownloader v2.7.2+5a695e6dd13db74a286659d129784a872a5648b8
Runtime: .NET 8.0.8 on Microsoft Windows 10.0.20348
No username given. Using anonymous account with dedicated server subscription.
Connecting to Steam3...[ServerList] Resolving server list
[ServerList] Server list provider had no entries, will query SteamDirectory
02:13:58.9106722  System.Net.Http.RequestStart(scheme: https, host: api.steampowered.com, port: 443, pathAndQuery: /ISteamDirectory/GetCMListForConnect/v1/?format=vdf&cellid=0, versionMajor: 1, versionMinor: 1, versionPolicy: 0)
02:13:59.0422806  System.Net.NameResolution.ResolutionStart(hostNameOrAddress: api.steampowered.com)
02:13:59.0609348  System.Net.NameResolution.ResolutionStop()
02:13:59.0725550  System.Net.Sockets.ConnectStart(address: InterNetwork:16:{1,187,127,0,0,1,0,0,0,0,0,0,0,0})
02:13:59.0749565  System.Net.Sockets.ConnectStop()
02:13:59.0893145  System.Net.Security.HandshakeStart(isServer: False, targetHost: api.steampowered.com)
02:13:59.1943349  System.Net.Security.HandshakeStop(protocol: 12288)
02:13:59.2027594  System.Net.Http.ConnectionEstablished(versionMajor: 1, versionMinor: 1, connectionId: 0, scheme: https, host: api.steampowered.com, port: 443, remoteAddress: 127.0.0.1)
02:13:59.2067119  System.Net.Http.RequestLeftQueue(timeOnQueueMilliseconds: 213.4132, versionMajor: 1, versionMinor: 1)
02:13:59.2132964  System.Net.Http.RequestHeadersStart(connectionId: 0)
02:13:59.2153311  System.Net.Http.RequestHeadersStop()
02:14:00.3372706  System.Net.Http.ResponseHeadersStart()
02:14:00.3404579  System.Net.Http.ResponseHeadersStop(statusCode: 200)
02:14:00.3445267  System.Net.Http.ResponseContentStart()
02:14:00.3468548  System.Net.Http.ResponseContentStop()
02:14:00.3472685  System.Net.Http.RequestStop(statusCode: 200)
02:14:00.3589948  System.Net.Http.ConnectionClosed(versionMajor: 1, versionMinor: 1, connectionId: 0)
[ServerList] Resolved 160 servers
[ServerList] Next server candidate: Unspecified/cmp2-hkg1.steamserver.net:27020 (WebSocket)
02:14:00.4077625  System.Net.Http.RequestStart(scheme: wss, host: cmp2-hkg1.steamserver.net, port: 27020, pathAndQuery: /cmsocket/, versionMajor: 1, versionMinor: 1, versionPolicy: 2)
02:14:00.4102785  System.Net.NameResolution.ResolutionStart(hostNameOrAddress: cmp2-hkg1.steamserver.net)
02:14:00.4134338  System.Net.NameResolution.ResolutionStop()
02:14:00.4155186  System.Net.Sockets.ConnectStart(address: InterNetworkV6:28:{105,140,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,103,28,54,101,0,0,0,0})
02:14:00.4491383  System.Net.Sockets.ConnectStop()
02:14:00.4498168  System.Net.Security.HandshakeStart(isServer: False, targetHost: cmp2-hkg1.steamserver.net)
02:14:00.4962853  System.Net.Security.HandshakeStop(protocol: 12288)
02:14:00.5117374  System.Net.Http.ConnectionEstablished(versionMajor: 1, versionMinor: 1, connectionId: 1, scheme: https, host: cmp2-hkg1.steamserver.net, port: 27020, remoteAddress: ::ffff:103.28.54.101)
02:14:00.5122004  System.Net.Http.RequestLeftQueue(timeOnQueueMilliseconds: 102.3433, versionMajor: 1, versionMinor: 1)
02:14:00.5125507  System.Net.Http.RequestHeadersStart(connectionId: 1)
02:14:00.5127105  System.Net.Http.RequestHeadersStop()
02:14:00.5455930  System.Net.Http.ResponseHeadersStart()
02:14:00.5464576  System.Net.Http.ResponseHeadersStop(statusCode: 101)
02:14:00.5474783  System.Net.Http.RequestStop(statusCode: 101)
[34ef2170149f4eb8b2bce1be1842591c/WebSocketContext] Connected to wss://cmp2-hkg1.steamserver.net:27020/cmsocket/
 Done!
Logging anonymously into Steam3... Done!
Using Steam3 suggested CellID: 46
Got AppInfo for 730
Using app branch: 'public'.
Got depot key for 2347771 result: OK
Processing depot 2347771
Downloading depot manifest... Got manifest request code for 2347771 4416334441953422726 result: 8323624935514271006
[ContentDownloader] Downloading manifest 4416334441953422726 from dl.steam.clngaa.com:80 (CDN) with no proxy
02:14:02.7388450  System.Net.Http.RequestStart(scheme: http, host: dl.steam.clngaa.com, port: 80, pathAndQuery: /depot/2347771/manifest/4416334441953422726/5/8323624935514271006, versionMajor: 1, versionMinor: 1, versionPolicy: 0)
02:14:02.7402717  System.Net.NameResolution.ResolutionStart(hostNameOrAddress: dl.steam.clngaa.com)
02:14:02.7452316  System.Net.NameResolution.ResolutionStop()
02:14:02.7455642  System.Net.Sockets.ConnectStart(address: InterNetwork:16:{0,80,180,163,200,102,0,0,0,0,0,0,0,0})
02:14:02.7514511  System.Net.Sockets.ConnectStop()
02:14:02.7527503  System.Net.Http.ConnectionEstablished(versionMajor: 1, versionMinor: 1, connectionId: 2, scheme: http, host: dl.steam.clngaa.com, port: 80, remoteAddress: 180.163.200.102)
02:14:02.7536038  System.Net.Http.RequestLeftQueue(timeOnQueueMilliseconds: 13.6366, versionMajor: 1, versionMinor: 1)
02:14:02.7541934  System.Net.Http.RequestHeadersStart(connectionId: 2)
02:14:02.7555656  System.Net.Http.RequestHeadersStop()
02:14:02.7628750  System.Net.Http.ResponseHeadersStart()
02:14:02.7641879  System.Net.Http.ResponseHeadersStop(statusCode: 403)
02:14:02.7646375  System.Net.Http.RequestStop(statusCode: 403)
[CDN] Failed to download manifest http://dl.steam.clngaa.com/depot/2347771/manifest/4416334441953422726/5/8323624935514271006: Response status code does not indicate success: 403 (Forbidden).
[Steam3Session] Requesting CDN auth token for dl.steam.clngaa.com
App 730 was not completely downloaded.
A task was canceled.
02:14:12.9841601  System.Net.Http.ConnectionClosed(versionMajor: 1, versionMinor: 1, connectionId: 1)
[Steam3Session] Disconnected: bIsConnectionRecovery = False, UserInitiated = True, bExpectingDisconnectRemote = False
Disconnected from Steam

Additional Information

No response

oureveryday commented 1 month ago

It's caused by no return value/time out for getCDNAuthToken proto from Steam server. Maybe they changed that somehow.