SteamRE / DepotDownloader

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

Steam3 timeout when using latest version #210

Closed phamleduy04 closed 3 years ago

phamleduy04 commented 3 years ago

I tried to use the same command with same login creds in v2.3.6 and its working but not the latest version (v2.4.1)

azuisleet commented 3 years ago

Please run with -debug and provide the log.

Aida-Enna commented 3 years ago

It appears? to be an issue with Steam. image

phamleduy04 commented 3 years ago

but the old version still work

phamleduy04 commented 3 years ago

This is the log

>dotnet .\DepotDownloader.dll -app 620980 -depot 620981 -manifest 7624554893344753887 -username MYUSERNAME -password MYPASSWORD -debug

Connecting to Steam3...[ServerList] Resolving server list
[ServerList] Server list provider had no entries, will query SteamDirectory
Timeout connecting to Steam3.
[352593ad2e04410fb626df1ae278c384/CMClient] Connection cancelled before a server could be chosen.
Disconnected from Steam
Unable to get steam3 credentials.
Error: InitializeSteam failed
azuisleet commented 3 years ago

Do you have a firewall that is preventing the application from connecting to api.steampowered.com?

phamleduy04 commented 3 years ago

I don't think so bc I'm using old version and its works fine

azuisleet commented 3 years ago

Between the two releases of SteamKit https://github.com/SteamRE/SteamKit/compare/2.3.0...2.4.0-Alpha.2, I don't see anything that would cause a regression in SteamDirectory or WebAPI.

However, the default timeout on WebAPI is 100 seconds, which is much longer than I would expect.

The fact that it's taking 100 seconds to time out suggests some other network issue that's causing problems.

yaakov-h commented 3 years ago

What .NET Runtime, operating system, etc. are you running on?

If the old version still works I suspect it may not be network-layer-related.

azuisleet commented 3 years ago

2.4.2 enables additional diagnostics for HTTP when -debug is specified. Give it a shot and provide a log.

https://github.com/SteamRE/DepotDownloader/releases/tag/DepotDownloader_2.4.2

azuisleet commented 3 years ago

This should be resolved in 2.4.3 by disabling IPv6 on HTTP sockets. If you still have this issue, feel free to re-open it.

https://github.com/SteamRE/DepotDownloader/releases/tag/DepotDownloader_2.4.3