steam-for-linux icon indicating copy to clipboard operation
steam-for-linux copied to clipboard

Steam launcher doesn't run: "Download failed: http error 0"

Open TheHashTableSlasher opened this issue 8 years ago • 34 comments

Okay, so I've been scratching my head on this one for a few months now, and I have yet to come up with anything, so I may as well make a post here. I am currently running Debian Stretch amd64 with the Nvidia proprietary drivers, and I really just can't get Steam to even boot up. It gives me a progress bar for half a second, and then aborts with an error dialog box. This is the only error message I get in the console:

ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt". [2016-03-28 23:29:47] Startup - updater built Nov 17 2015 12:33:46 [2016-03-28 23:29:47] Verifying installation... [2016-03-28 23:29:47] Unable to read and verify install manifest /home/[user]/.steam/package/steam_client_ubuntu12.installed [2016-03-28 23:29:47] Verification complete [2016-03-28 23:29:47] Downloading Update... [2016-03-28 23:29:47] Checking for available update... [2016-03-28 23:29:48] Download failed: http error 0 [2016-03-28 23:29:48] Download failed: http error 0 [2016-03-28 23:29:48] failed to load manifest from buffer. [2016-03-28 23:29:48] Failed to load manifest [2016-03-28 23:29:48] Error: Download failed: http error 0 [2016-03-28 23:29:48] Error: Steam needs to be online to update. Please confirm your network connection and try again. [2016-03-28 23:29:49] Shutdown threadtools.cpp (3643) : Assertion Failed: Illegal termination of worker thread

Trying to Google the result only leads to a bunch of dead links and archived forum threads relating to SteamCMD, many of which have no replies. I've tried everything from completely purging and reinstalling the Steam launcher (including ~/.steam, ~/.local/share/Steam, and all related symlinks) to manually building and installing a 32-bit libcurl.so. I'm sure this is very basic, so any advice you have would be greatly appreciated.

TheHashTableSlasher avatar Mar 29 '16 03:03 TheHashTableSlasher

the same on Arch Linux 64-bit. It seems like update server is unavailable

woolear@ArchWL ~]$ steam /home/woolear/.local/share/Steam/steam.sh: line 161: VERSION_ID: unbound variable /home/woolear/.local/share/Steam/steam.sh: line 161: VERSION_ID: unbound variable Running Steam on arch 64-bit /home/woolear/.local/share/Steam/steam.sh: line 161: VERSION_ID: unbound variable STEAM_RUNTIME is enabled automatically Installing breakpad exception handler for appid(steam)/version(0) Installing breakpad exception handler for appid(steam)/version(1.0) Installing breakpad exception handler for appid(steam)/version(1.0) Startup - updater builInstalling breakpad exception handler for appid(steam)/version(1.0) Installing breakpad exception handler for appid(steam)/version(1.0) ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt". [2016-03-31 14:00:17] Startup - updater built Nov 17 2015 12:33:46 [2016-03-31 14:00:17] Verifying installation... [2016-03-31 14:00:17] Unable to read and verify install manifest /home/woolear/.local/share/Steam/package/steam_client_ubuntu12.installed [2016-03-31 14:00:17] Verification complete [2016-03-31 14:00:17] Downloading Update... [2016-03-31 14:00:17] Checking for available update... [2016-03-31 14:00:47] Download failed: http error 0 [2016-03-31 14:00:48] Package file tenfoot_misc_all.zip.b9c015520018655499338cfc2c3a3159e28bbe14 missing or incorrect size [2016-03-31 14:00:48] Package file tenfoot_dicts_all.zip.c74a3a9beb77a280cfd8761b901a80ed0f6a3173 missing or incorrect size [2016-03-31 14:00:48] Package file tenfoot_fonts_all.zip.vz.b99d15e7a78b99cea4d0abb6c3f3badc0c6ad441_12073430 missing or incorrect size [2016-03-31 14:00:48] Package file tenfoot_ambientsounds_all.zip.20ccff954777943069dd2c57576216f5f1db7389 missing or incorrect size [2016-03-31 14:00:48] Package file tenfoot_sounds_all.zip.vz.7a3cc0ba5f5309183bca660227b8e0afa9922629_1223056 missing or incorrect size [2016-03-31 14:00:48] Package file tenfoot_images_all.zip.vz.a63c03af96b4e61e506c7603dedf52caeeeb23ac_23617298 missing or incorrect size [2016-03-31 14:00:48] Package file tenfoot_all.zip.vz.4b74123531437ffeea560c52d5d3060d911c5265_1930160 missing or incorrect size [2016-03-31 14:00:48] Package file resources_misc_all.zip.vz.5b8f09b1f407d80780688930b071e340fe22600d_2028216 missing or incorrect size [2016-03-31 14:00:48] Package file resources_all.zip.vz.c5c4d7641e2f0135a89abb660964a1346fd58c37_5010677 missing or incorrect size [2016-03-31 14:00:48] Package file strings_en_all.zip.a68364052609591174d982233776fbc9a5c15bfa missing or incorrect size [2016-03-31 14:00:48] Package file strings_all.zip.vz.bd2a329d462766923cc73d6d22f92d9402014fa8_1952126 missing or incorrect size [2016-03-31 14:00:48] Package file remoteui_all.zip.vz.c3eceeaa19b297032eb8511f44f7f9a49bfdfe01_141152 missing or incorrect size [2016-03-31 14:00:48] Package file public_all.zip.vz.9bb85b3ed63c0e9bd3f670000dd310c8f4b11bb2_791273 missing or incorrect size [2016-03-31 14:00:48] Package file bins_ubuntu12.zip.vz.73c726b21dfcd7f0839ef5bda40bf4289b596d2f_15027018 missing or incorrect size [2016-03-31 14:00:48] Package file bins_pub_ubuntu12.zip.vz.6333c289a611b7441aa0ad4d62a26d13776b7b87_9030237 missing or incorrect size [2016-03-31 14:00:48] Package file bins_sdk_ubuntu12.zip.vz.d4ffbf3bf1f15a2e83d279218ae3c0663b088578_9520741 missing or incorrect size [2016-03-31 14:00:48] Package file bins_codecs_ubuntu12.zip.vz.11b6edae15c9060d91c0730ecbdad978a1bc7f0a_1830793 missing or incorrect size [2016-03-31 14:00:48] Package file bins_misc_ubuntu12.zip.9e5c4f09c8cbdfb1b04cc8d0c93da2fee3b09bb1 missing or incorrect size [2016-03-31 14:00:48] Package file webkit_ubuntu12.zip.vz.388ca9c5c49a79520a1e7017c80f40451280d67f_30507894 missing or incorrect size [2016-03-31 14:00:48] Package file miles_ubuntu12.zip.vz.1b7a19905752a14821fcba42b49fe1a1ed6ba836_299743 missing or incorrect size [2016-03-31 14:00:48] Package file sdl2_ubuntu12.zip.vz.f37f83cc217f9155ab964addb080ddb1549db2c8_288005 missing or incorrect size [2016-03-31 14:00:48] Package file steam_ubuntu12.zip.vz.4a7ff28b30d7a7a839f12a573bf434a5bcefdfc3_1414095 missing or incorrect size [2016-03-31 14:00:48] Package file runtime_part0_ubuntu12.zip.4742a6f20429e36d3068bc3e1be64bcaa5b039ca missing or incorrect size [2016-03-31 14:00:48] Package file runtime_part1_ubuntu12.zip.33e62d95c5ee2b8ec63d0ed7aca0f6f5928d00e9 missing or incorrect size [2016-03-31 14:00:48] Downloading update (0 of 245 364 KB)... [2016-03-31 14:01:18] Error: Download of package (tenfoot_misc_all) failed after 0 bytes (0). [2016-03-31 14:02:18] Error: Download of package (tenfoot_fonts_all) failed after 0 bytes (0). [2016-03-31 14:02:18] Error: Download of package (tenfoot_dicts_all) failed after 0 bytes (0). [2016-03-31 14:02:48] Error: Download of package (tenfoot_ambientsounds_all) fai

Woolear avatar Mar 31 '16 11:03 Woolear

Are you behind a proxy ?

jplandrain avatar Jun 15 '16 11:06 jplandrain

Same problem for me right now. I can't access https://client-download.steampowered.com/ in chromium as well. If I'm interpeting wireshark output correctly, clients (chromium/steam) repeatedly send TCP SYN packets but there's no response from steam servers.

No proxy involved "on my side of the internet". :)

Edit: Now it suddenly works again (but I still can't load that page in chromium).

w-flo avatar Sep 09 '16 22:09 w-flo

My problem was solved by connecting cable directly to a computer and than changing router to better one.

Woolear avatar Sep 10 '16 07:09 Woolear

Its problem with non-working mirrors on Valve's side. If you try host on client-download.steampowered.com you will find that it points to multiple IP addresses. Most of them are not accessible (or better timeouts on con cnect).

You can try put some of these IP in /etc/hosts and try which ones will work. I.e. in my case it was

208.64.200.7 client-download.steampowered.com

kepi avatar Sep 28 '16 02:09 kepi

last ip works for me right now. thx -

groovehunter avatar Oct 17 '16 20:10 groovehunter

Just getting the same issue, solved by switching to 162.254.195.19. What's the idea of having multiple mirrors, if the client uses just the first one and hangs if it's down?

(For the record, if it helps someone:)

~ $ host client-download.steampowered.com 
client-download.steampowered.com has address 162.254.192.22
client-download.steampowered.com has address 205.196.6.151
client-download.steampowered.com has address 162.254.195.19
client-download.steampowered.com has address 162.254.192.19
client-download.steampowered.com has address 162.254.193.39
client-download.steampowered.com has address 205.196.6.150
client-download.steampowered.com has address 162.254.192.17
client-download.steampowered.com has address 162.254.192.20
client-download.steampowered.com has address 162.254.192.21
client-download.steampowered.com has address 162.254.192.16
client-download.steampowered.com has address 205.196.6.132
client-download.steampowered.com has address 162.254.195.14
client-download.steampowered.com has address 205.196.6.152
client-download.steampowered.com has address 162.254.193.37
client-download.steampowered.com has address 162.254.195.18
client-download.steampowered.com has address 162.254.195.13
client-download.steampowered.com has address 162.254.193.40
client-download.steampowered.com has address 162.254.193.38

MightyPork avatar Mar 18 '17 11:03 MightyPork

@MightyPork same issue here executing steam binary from Spain (Vodafone Network) in Ubuntu 17.04 (development).

Additionally I have to add also the media.steampowered.com to my /etc/hosts with IP 77.209.227.66

Take in mind that this IPs are changing often, since are CDN or proxies/load balancers:

For figure out which is the right IP, even out of your network, the DIG tool online from google could be useful looking for A records (glue records) in DNS:

https://toolbox.googleapps.com/apps/dig/#A/client-download.steampowered.com https://toolbox.googleapps.com/apps/dig/#A/media.steampowered.com

I am astonished, that Valve don't try to check other IPS or give us so bad warning error, no trying alternative ways to fetch the connection.

shakaran avatar Mar 28 '17 23:03 shakaran

Help :c this is my bootstrap_log.txt

Log moved to a Gist by moderator.

TeleTubii avatar Mar 30 '17 11:03 TeleTubii

I had the same problem as @myconix (in a Ubuntu 17.04, "freshly" upgraded from Ubuntu 16.04 LTS). this is possible a duplicate of: https://github.com/ValveSoftware/steam-for-linux/issues/4661

I had to install: sudo apt install libnss-resolve:i386 libcurl3:i386

I have added nothing to my /ets/host file for it to work properly again.

Octav14n avatar May 24 '17 16:05 Octav14n

My experience: Ubuntu 17.04

Tried a number of older fixes after getting this error, including installing some different DPI fonts. I think this all started after I configured and connected to a Chinese VPN while the client was running. At first, I couldn't download and install any games; I also noticed that community pages wouldn't load. A few days later, the client wouldn't get past this error.

I attempted host client-download.steampowered.com and timed out.

@Octav14n 's fix worked for me. I installed the libraries, attempted to start the client, but got a strange error about the update package not being a valid tar package. I had to uninstall the client, removed my .steam folder from my home directory, and re-install. Everything is working great for me now. Thanks.

mrdave-dev avatar May 25 '17 17:05 mrdave-dev

Also running Ubuntu 17.04 with the same issue, can confirm that @Octav14n's fix works.

shaggyrogers avatar Jun 04 '17 04:06 shaggyrogers

Chinese User Ubuntu 17.04: The way from @Octav14n is available

sudo apt install libnss-resolve:i386 libcurl3:i386

hangxingliu avatar Jun 07 '17 10:06 hangxingliu

I also was facing the same problem after upgrading to ubuntu 17.04, game updates were failing to download and thus I removed the whole steam and then I was unable to install it again. Then I looked for the logs and I saw this line :

error: libcurl.so: cannot open shared object file: No such file or directory

@Octav14n 's fix just solved the problem by installing 32bit libcurl and libnns.

rezaxdi avatar Jun 11 '17 17:06 rezaxdi

Hit this today on Mac. Here's a bash one-liner to test all the servers:

$ for ip in $(host client-download.steampowered.com | cut -d ' ' -f 4); do nc -G 1 -v -z $ip 443 2> >(tail -n1); done
nc: connectx to 162.254.192.22 port 443 (tcp) failed: Operation timed out
nc: connectx to 162.254.195.19 port 443 (tcp) failed: Operation timed out
nc: connectx to 162.254.195.18 port 443 (tcp) failed: Operation timed out
Connection to 205.196.6.152 port 443 [tcp/https] succeeded!
nc: connectx to 162.254.192.19 port 443 (tcp) failed: Operation timed out
Connection to 205.196.6.150 port 443 [tcp/https] succeeded!
Connection to 205.196.6.151 port 443 [tcp/https] succeeded!
nc: connectx to 162.254.192.20 port 443 (tcp) failed: Operation timed out
nc: connectx to 162.254.192.16 port 443 (tcp) failed: Operation timed out
nc: connectx to 162.254.193.37 port 443 (tcp) failed: Operation timed out
nc: connectx to 162.254.192.17 port 443 (tcp) failed: Operation timed out
Connection to 205.196.6.132 port 443 [tcp/https] succeeded!
nc: connectx to 162.254.193.39 port 443 (tcp) failed: Operation timed out
nc: connectx to 162.254.195.13 port 443 (tcp) failed: Operation timed out
nc: connectx to 162.254.193.40 port 443 (tcp) failed: Operation timed out
nc: connectx to 162.254.192.21 port 443 (tcp) failed: Operation timed out
nc: connectx to 162.254.195.14 port 443 (tcp) failed: Operation timed out
nc: connectx to 162.254.193.38 port 443 (tcp) failed: Operation timed out

rdj avatar Jun 17 '17 18:06 rdj

@rdj which version of netcat are you using? it seems that -G option doesn't exist in my 1.10-41 from Ubuntu (netcat-traditional)

shakaran avatar Jun 22 '17 15:06 shakaran

@Octav14n solution worked for me, in an Ubuntu 17.04 and a freshly installed steam.

Thanks a lot.

jcastp avatar Jun 23 '17 06:06 jcastp

@shakaran The /usr/bin/nc on macOS 10.12 may very well have Apple-specific flags. -G is TCP timeout. I think you could just use -w on Linux. Seems to work, for example, on Ubuntu 16.04.

rdj avatar Jun 23 '17 13:06 rdj

@rjd thanks I test with -w and this was my results too:

$ for ip in $(host client-download.steampowered.com | cut -d ' ' -f 4); do nc -w 1 -v -z $ip 443 2> >(tail -n1); done
nc: connect to 162.254.193.40 port 443 (tcp) timed out: Operation now in progress
nc: connect to 162.254.192.20 port 443 (tcp) timed out: Operation now in progress
Connection to 205.196.6.152 443 port [tcp/https] succeeded!
nc: connect to 162.254.195.14 port 443 (tcp) timed out: Operation now in progress
nc: connect to 162.254.193.37 port 443 (tcp) timed out: Operation now in progress
nc: connect to 162.254.192.21 port 443 (tcp) timed out: Operation now in progress
Connection to 205.196.6.151 443 port [tcp/https] succeeded!
nc: connect to 162.254.192.16 port 443 (tcp) timed out: Operation now in progress
nc: connect to 162.254.195.18 port 443 (tcp) timed out: Operation now in progress
nc: connect to 162.254.195.19 port 443 (tcp) timed out: Operation now in progress
nc: connect to 162.254.192.17 port 443 (tcp) timed out: Operation now in progress
nc: connect to 162.254.193.38 port 443 (tcp) timed out: Operation now in progress
nc: connect to 162.254.195.13 port 443 (tcp) timed out: Operation now in progress
nc: connect to 162.254.193.39 port 443 (tcp) timed out: Operation now in progress
Connection to 205.196.6.150 443 port [tcp/https] succeeded!
nc: connect to 162.254.192.19 port 443 (tcp) timed out: Operation now in progress
nc: connect to 162.254.192.22 port 443 (tcp) timed out: Operation now in progress
Connection to 205.196.6.132 443 port [tcp/https] succeeded!

shakaran avatar Jul 06 '17 02:07 shakaran

Having the issue now, ubuntu 17.04 and cant update apps. Signing in requires spamming retry for like 10 seconds

Also the host commands give a

;; connection timed out; no servers could be reached

gidoBOSSftw5731 avatar Oct 11 '17 02:10 gidoBOSSftw5731

FIxed, just added the code below to my /etc/host and it works

162.254.192.17  na.client.steamcontent.akadns.net
162.254.192.17  client-download.steampowered.com 

gidoBOSSftw5731 avatar Oct 11 '17 22:10 gidoBOSSftw5731

adding ip to the hosts worked for me.

kloudmuka avatar Oct 23 '17 13:10 kloudmuka

Also running Ubuntu 17.04 with the same issue, can confirm that @Octav14n's fix works.

Works for me too.

I now suspect this was the cause of the "Content servers unreachable" that caused me to reinstall steam, too; too bad that search term never led me here...

roystgnr avatar Nov 05 '17 21:11 roystgnr

Chinese User Ubuntu 17.04: The way from @Octav14n is available

sudo apt install libnss-resolve:i386 libcurl3:i386

Thanks, work for me ;)

sedzisz avatar Feb 28 '20 21:02 sedzisz

For ubuntu 19.10 sudo apt install libnss-resolve:i386

Pithikos avatar Apr 28 '20 19:04 Pithikos

Chinese User Ubuntu 17.04: The way from @Octav14n is available

sudo apt install libnss-resolve:i386 libcurl3:i386

Thanks, work for me too 👍

ilyasaftr avatar May 28 '20 23:05 ilyasaftr

This worked for me on Ubuntu 20.04 when nothing else did.

Running steam from terminal shows something like 'Adding Pending Downlod' for every package it tries to download. I copied every link and downloaded them manually. Then I ran steam from terminal again and when it starts to download those packages, i pasted my previously downloaded files. It fails again, but then it picks up those packages and starts to extracting them.

nabilanam avatar Jun 30 '20 15:06 nabilanam

nabilanam's solution worked for me. Just to expand on it a touch:

  • Open terminal and run "steam"
  • There will be a number lines printed to the terminal then it will start downloading stuff. Scroll up and find where it lists what downloads are getting queued up like so: Add pending download: media4.steampowered.com/client/tenfoot_images_all.zip.vz.4e9a101f45f3ed44e5465ce414b5349c3548c920_31340363
  • For each line like that copy the url after the ":" and drop it into a new browser tab which should trigger a file download. I had to download 4. I personally just used a terminal and wget to retrieve each.
  • For Linux at least, go to ~/.local/share/Steam/package and paste/move the files you downloaded into that folder.
  • Quit steam (if it is still trying to download stuff) and run it again. This time it should see the new files you pasted there and try to extract them.
  • If all goes well, once it's done with setup the steam login screen should show up.

DomtronVox avatar Nov 28 '20 00:11 DomtronVox

I had this same issue, and scoured these forums. Here's one you've probably seen before but with a special twist that worked for me:

  1. ping media.steampowered.com to get its IP
  2. then edit /etc/hosts --- add [The IP] client-download.steampowered.com

The important change for me was "client-download" rather than "media" which is what I'd seen previously and hadn't solved my problem.

Hope this helps

kingkw1 avatar Feb 23 '21 05:02 kingkw1

I had this same issue, and scoured these forums. Here's one you've probably seen before but with a special twist that worked for me:

  1. ping media.steampowered.com to get its IP
  2. then edit /etc/hosts --- add [The IP] client-download.steampowered.com

The important change for me was "client-download" rather than "media" which is what I'd seen previously and hadn't solved my problem.

Hope this helps

TKS!

oliniski avatar Feb 23 '21 17:02 oliniski