ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.23k stars 175 forks source link

Steam is having trouble connecting to the Steam server #7667

Open ernstp opened 3 years ago

ernstp commented 3 years ago

Your system information

Please describe your issue in as much detail as possible:

I had a working steam install but I stopped being able to connect, I get "Steam is having trouble connecting to the Steam server".

I thought it was connected to a big round of updates on Ubuntu 21.04, with libc and libstdc++ updates etc.

My network seems to work fine otherwise. I can connect to Steam from Windows (not running beta there though).

On the console I see "LogonFailure 3".

After some discussion here, https://www.reddit.com/r/linux_gaming/comments/lpozkg/trying_to_install_steam_but_get_an_error/ , I found this thing:

LC_ALL=C wget http://client-download.steampowered.com/client/steam_client_ubuntu12 --2021-02-22 21:01:24-- http://client-download.steampowered.com/client/steam_client_ubuntu12 Resolving client-download.steampowered.com (client-download.steampowered.com)... 205.196.6.227, 205.196.6.232, 205.196.6.229, ... Connecting to client-download.steampowered.com (client-download.steampowered.com)|205.196.6.227|:80... connected. HTTP request sent, awaiting response... 302 Found Location: http://cdn.akamai.steamstaticcom/client/steam_client_ubuntu12?1613270262 [following] --2021-02-22 21:01:27-- http://cdn.akamai.steamstaticcom/client/steam_client_ubuntu12?1613270262 Resolving cdn.akamai.steamstaticcom (cdn.akamai.steamstaticcom)... failed: Name or service not known. wget: unable to resolve host address 'cdn.akamai.steamstaticcom'

SilverPenguin73 commented 3 years ago

Same issue here on gentoo and debian. From a fresh install of steam cannot reach login page. Tried with different kernels 5.4.97 5.11.1 5.10

output from terminal: `STEAM_RUNTIME is enabled by the user Pins up-to-date! Can't find 'steam-runtime-check-requirements', continuing anyway /home/timothy/.local/share/Steam/ubuntu12_32/steam [2021-02-23 15:59:30] Startup - updater built Oct 28 2020 23:34:22 ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt". Installing breakpad exception handler for appid(steam)/version(0) [2021-02-23 15:59:30] Loading cached metrics from disk (/home/timothy/.local/share/Steam/package/steam_client_metrics.bin) [2021-02-23 15:59:30] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults [2021-02-23 15:59:30] Using the following download hosts for Public, Realm steamglobal [2021-02-23 15:59:30] 1. http://client-download.steampowered.com, /client/, Realm 'steamglobal', weight was 100, source = 'baked in' [2021-02-23 15:59:30] 2. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in' Installing breakpad exception handler for appid(steam)/version(1.0) [2021-02-23 15:59:30] Verifying installation... [2021-02-23 15:59:30] Unable to read and verify install manifest /home/timothy/.local/share/Steam/package/steam_client_ubuntu12.installed [2021-02-23 15:59:30] Verification complete [2021-02-23 15:59:30] Downloading Update... [2021-02-23 15:59:30] Checking for available update... [2021-02-23 15:59:30] Downloading manifest: client-download.steampowered.com/client/steam_client_ubuntu12 Installing breakpad exception handler for appid(steam)/version(1.0) Installing breakpad exception handler for appid(steam)/version(1.0) Installing breakpad exception handler for appid(steam)/version(1.0) KeyValues Error: LoadFromBuffer: missing { (current key: '<!DOCTYPE') in file manifest [offset: 14]

/data/src/tier1/KeyValues.cpp (2999) : Assertion Failed: Error while parsing text KeyValues for resource manifest /data/src/tier1/KeyValues.cpp (2999) : Assertion Failed: Error while parsing text KeyValues for resource manifest Installing breakpad exception handler for appid(steam)/version(1.0) crash_20210223155931_7.dmp[2853]: Uploading dump (out-of-process) /tmp/dumps/crash_20210223155931_7.dmp [2021-02-23 15:59:31] failed to load manifest from buffer. [2021-02-23 15:59:31] Failed to load manifest [2021-02-23 15:59:31] Error: Download failed: http error 200 [2021-02-23 15:59:31] Saving metrics to disk (/home/timothy/.local/share/Steam/package/steam_client_metrics.bin) [2021-02-23 15:59:31] Error: Steam needs to be online to update. Please confirm your network connection and try again. crash_20210223155931_7.dmp[2853]: Finished uploading minidump (out-of-process): success = no crash_20210223155931_7.dmp[2853]: error: libcurl.so: wrong ELF class: ELFCLASS64 crash_20210223155931_7.dmp[2853]: file ''/tmp/dumps/crash_20210223155931_7.dmp'', upload no: ''libcurl.so: wrong ELF class: ELFCLASS64'' [2021-02-23 15:59:33] Shutdown /data/src/tier0/threadtools.cpp (3658) : Assertion Failed: Illegal termination of worker thread 'Thread(0x0x56f89180/0x0xf4db0a' /data/src/tier0/threadtools.cpp (3658) : Assertion Failed: Illegal termination of worker thread 'Thread(0x0x56f89180/0x0xf4db0a' `

ernstp commented 3 years ago

I have some interesting stuff in my logs also...

STEAM_RUNTIME_HEAVY: ./steam-runtime-heavy [0223/192230.820356:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: browser [0223/192230.837943:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0 [0223/192230.837989:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1613172115 [0223/192230.837996:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public [0223/192230.838002:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so: undefined symbol: g_log_structured_standard Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications. [0223/192230.868629:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0 [0223/192230.868677:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1613172115 [0223/192230.868683:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public [0223/192230.868687:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve [0223/192230.869133:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: gpu-process [0223/192230.935264:ERROR:sandbox_linux.cc(372)] InitializeSandbox() called with multiple threads in process gpu-process. [0223/192230.961917:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0 [0223/192230.961964:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1613172115 [0223/192230.961971:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public [0223/192230.961977:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve [0223/192230.962451:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: utility Installing breakpad exception handler for appid(steam)/version(1613176728) Installing breakpad exception handler for appid(steam)/version(1613176728) Installing breakpad exception handler for appid(steam)/version(1613176728) CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize Installing breakpad exception handler for appid(steam)/version(1613176728) Installing breakpad exception handler for appid(steam)/version(1613176728) Installing breakpad exception handler for appid(steam)/version(1613176728) Installing breakpad exception handler for appid(steam)/version(1613176728) Installing breakpad exception handler for appid(steam)/version(1613176728) Installing breakpad exception handler for appid(steam)/version(1613176728) Installing breakpad exception handler for appid(steam)/version(1613176728) Installing breakpad exception handler for appid(steam)/version(1613176728) Installing breakpad exception handler for appid(steam)/version(1613176728) CApplicationManagerPopulateThread took 110 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread) Installing breakpad exception handler for appid(steam)/version(1613176728) Proceed to auto login Found no supported CDM versions, using last known good version 4.10.1440.19 No cached credentials [2021-02-23 19:22:31] Error: Failed to determine download location for universe 1 WARNING: radv is not a conformant vulkan implementation, testing use only. WARNING: radv is not a conformant vulkan implementation, testing use only. Installing breakpad exception handler for appid(steam)/version(1613176728) Installing breakpad exception handler for appid(steam)/version(1613176728) src/clientdll/cminterface.cpp (2861) : Assertion Failed: m_VecNetAdrNetFilterCMs.Count() > 0 src/clientdll/cminterface.cpp (2861) : Assertion Failed: m_VecNetAdrNetFilterCMs.Count() > 0 Installing breakpad exception handler for appid(steam)/version(1613176728) assert_20210223192309_21.dmp[22613]: Uploading dump (out-of-process) /tmp/dumps/assert_20210223192309_21.dmp LogonFailure 3 src/clientdll/cminterface.cpp (2861) : Assertion Failed: m_VecNetAdrNetFilterCMs.Count() > 0 src/clientdll/cminterface.cpp (2861) : Assertion Failed: m_VecNetAdrNetFilterCMs.Count() > 0 LogonFailure 3 src/clientdll/cminterface.cpp (2861) : Assertion Failed: m_VecNetAdrNetFilterCMs.Count() > 0 src/clientdll/cminterface.cpp (2861) : Assertion Failed: m_VecNetAdrNetFilterCMs.Count() > 0 LogonFailure 3 src/clientdll/cminterface.cpp (2861) : Assertion Failed: m_VecNetAdrNetFilterCMs.Count() > 0 src/clientdll/cminterface.cpp (2861) : Assertion Failed: m_VecNetAdrNetFilterCMs.Count() > 0 LogonFailure 3 Installing breakpad exception handler for appid(steam)/version(1613176728) Installing breakpad exception handler for appid(steam)/version(1613176728) LogonFailure 3 LogonFailure 3

SilverPenguin73 commented 3 years ago

Dont know if this helps, The ip address located in ~/.steam/steam/package/steam_client_metrics.bin 205.196.6.229, which point at valve corp, seatle, washington, is only getting resolved in toronto canada as https://dnschecker.org states.

stubbo commented 3 years ago

The domain is invalid cdn.akamai.steamstaticcom there is no dot before the TLD I feel this might also be miss labeled - i found this post originally from a steamcmd issue i was helping someone with

SilverPenguin73 commented 3 years ago

Ok think is solved this, Theres and error on line 145 in ~/.steam/bin/steam-runtime/setup.sh

Should look like this: _mapfile -t find_output_array << (find "$steam_runtimepath" -type l | grep \.so)

if you run sh ~/.steam/bin/steam-runtime/setup.sh it should show the error.

The fix i did was remove the 2 << and () brackets? so the line now looks like this:

mapfile -t find_output_array find "$steam_runtime_path" -type l | grep \.so

save and run sh ~/.steam/bin/steam-runtime/setup.sh which poped up a message saying pins ok.

Running steam after that has resulted in a succesful launch

can someone try it and see if it works for them?

EDIT: Should also point out i did these steps before hand:

Removed .steam from home folder and .local

Downloaded the beta launcher .tar.gz from https://repo.steampowered.com/steam/archive/precise/

unpacked in home folder and ran sh steam_latest-beta/steam-launcher/bin_steam.sh

This reproduced the same errors posted above.

smcv commented 3 years ago

if you run sh ~/.steam/bin/steam-runtime/setup.sh it should show the error

setup.sh is a #!/bin/bash script. It is not a bug that it uses bash syntax.

The fix i did was remove the 2 << and () brackets

That is not a correct change: it changes the meaning of the code so that the script no longer does what it is meant to do. Editing setup.sh will also not solve connectivity issues for you.

SilverPenguin73 commented 3 years ago

Well, Without fix =

sh ~/.steam/bin/steam-runtime/setup.sh /home/timothy/.steam/bin/steam-runtime/setup.sh: line 145: syntax error near unexpected token(' With fix =sh ~/.steam/bin/steam-runtime/setup.sh Pins up-to-date! `

RyuzakiKK commented 3 years ago

Well, Without fix =

sh ~/.steam/bin/steam-runtime/setup.sh /home/timothy/.steam/bin/steam-runtime/setup.sh: line 145: syntax error near unexpected token(' With fix =sh ~/.steam/bin/steam-runtime/setup.sh Pins up-to-date! `

It's a Bash script, so you need to either launch it as ~/.steam/bin/steam-runtime/setup.sh or as bash ~/.steam/bin/steam-runtime/setup.sh.

In your system sh might be linked to dash that doesn't support the bash syntax.

SilverPenguin73 commented 3 years ago

On gentoo so no dash, I know it's a bash script but the point is it's worked, at least for me. EDIT: ~/.steam/bin/steam-runtime/setup.sh instead of sh ~/.steam/bin/steam-runtime/setup.sh

Has same results, Can be replicated by replacing << () and run with ~/.steam/bin/steam-runtime/setup.sh throws the error on line 145

ernstp commented 3 years ago

I hope this has a very high prio inside Valve @kisak-valve ? I can't access Steam at all.

ernstp commented 3 years ago

Ok I've been digging some more. Steam Flatpak works. So while this http redirect error is probably a real error, it doesn't seem to be the showstopper here.

I get the same output regardless if I have my network connected or not, that's interesting! Could it be something with libnm... ? Systemd resolve? Tried disabling that.

I deleted steam and restarted, now it looks like this:

~$ steam Running Steam on ubuntu 21.04 64-bit STEAM_RUNTIME is enabled automatically Pins up-to-date! Can't find 'steam-runtime-check-requirements', continuing anyway /home/ernst/.local/share/Steam/ubuntu12_32/steam [2021-02-26 03:22:36] Startup - updater built Oct 28 2020 23:34:22 ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt". Installing breakpad exception handler for appid(steam)/version(0) [2021-02-26 03:22:37] Loading cached metrics from disk (/home/ernst/.local/share/Steam/package/steam_client_metrics.bin) [2021-02-26 03:22:37] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults [2021-02-26 03:22:37] Using the following download hosts for Public, Realm steamglobal [2021-02-26 03:22:37] 1. http://client-download.steampowered.com, /client/, Realm 'steamglobal', weight was 100, source = 'baked in' [2021-02-26 03:22:37] 2. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in' Installing breakpad exception handler for appid(steam)/version(1.0) [2021-02-26 03:22:37] Verifying installation... [2021-02-26 03:22:37] Unable to read and verify install manifest /home/ernst/.local/share/Steam/package/steam_client_ubuntu12.installed [2021-02-26 03:22:37] Verification complete [2021-02-26 03:22:37] Downloading Update... [2021-02-26 03:22:37] Checking for available update... [2021-02-26 03:22:37] Downloading manifest: client-download.steampowered.com/client/steam_client_ubuntu12 Installing breakpad exception handler for appid(steam)/version(1.0) [2021-02-26 03:22:37] Download failed: http error 0 (client-download.steampowered.com/client/steam_client_ubuntu12) [2021-02-26 03:22:37] Downloading manifest: media.steampowered.com/client/steam_client_ubuntu12 [2021-02-26 03:22:37] Download failed: http error 0 (media.steampowered.com/client/steam_client_ubuntu12) [2021-02-26 03:22:37] DownloadManifest - exhausted list of download hosts [2021-02-26 03:22:37] failed to load manifest from buffer. [2021-02-26 03:22:37] Failed to load manifest [2021-02-26 03:22:37] Error: Download failed: http error 0 [2021-02-26 03:22:37] Saving metrics to disk (/home/ernst/.local/share/Steam/package/steam_client_metrics.bin) [2021-02-26 03:22:37] Error: Steam needs to be online to update. Please confirm your network connection and try again. [2021-02-26 03:22:41] Shutdown /data/src/tier0/threadtools.cpp (3658) : Assertion Failed: Illegal termination of worker thread 'Thread(0x0x56f51ec0/0x0xe48fea' /data/src/tier0/threadtools.cpp (3658) : Assertion Failed: Illegal termination of worker thread 'Thread(0x0x56f51ec0/0x0xe48fea' Installing breakpad exception handler for appid(steam)/version(1.0) crash_20210226032242_5.dmp[29919]: Uploading dump (out-of-process) /tmp/dumps/crash_20210226032242_5.dmp crash_20210226032242_5.dmp[29919]: Finished uploading minidump (out-of-process): success = no crash_20210226032242_5.dmp[29919]: error: Couldn't resolve host name crash_20210226032242_5.dmp[29919]: file ''/tmp/dumps/crash_20210226032242_5.dmp'', upload no: ''Couldn't resolve host name''

eiglow commented 3 years ago

I run into it with flatpak steam, but not rpmfusion steam... Maybe I should report this on the steam flatpak issue tracker? But it seems like some people have this issue even outside of flatpak steam, so I don't know

ernstp commented 3 years ago

The key error is Download failed: http error 0 (media.steampowered.com/client/steam_client_ubuntu12) why does it fail?! Can I get more debug output somehow? The first download should fail but not this one.

ernstp commented 3 years ago

I solved my issue now, by installing and enabling nscd! This solved the network related issues with both Steam and Wine for me. I have no idea why it helped! All "getent hosts media.steampowered.com" results look the same etc... If I stop the nscd daemon it immediately stops working again.

lucyferu commented 3 years ago

Just tried what @SilverPenguin73 did and it didn't work for me.

Then, I installed nscd as suggested by @ernstp , but no idea what you mean by enabling it. What should I do?

ernstp commented 3 years ago

Then, I installed nscd as suggested by @ernstp , but no idea what you mean by enabling it. What should I do?

It wasn't running straight away, I had to do systemctl start nscd also I think.

lucyferu commented 3 years ago

Then, I installed nscd as suggested by @ernstp , but no idea what you mean by enabling it. What should I do?

It wasn't running straight away, I had to do systemctl start nscd also I think.

So, it was running straight away for me and, no, it didn't work. Uff!

ernstp commented 3 years ago

So, it was running straight away for me and, no, it didn't work. Uff!

How does your log look?

What does this command give?

curl -v http://media.steampowered.com/client/steam_client_ubuntu12 > /dev/null

lucyferu commented 3 years ago

curl -v http://media.steampowered.com/client/steam_client_ubuntu12 > /dev/null

1) when run steam

Running Steam on zorin 15 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Can't find 'steam-runtime-check-requirements', continuing anyway
/home/mms/.local/share/Steam/ubuntu12_32/steam
[2021-02-27 16:19:06] Startup - updater built Oct 28 2020 23:34:22
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
Installing breakpad exception handler for appid(steam)/version(0)
[2021-02-27 16:19:06] Loading cached metrics from disk (/home/mms/.local/share/Steam/package/steam_client_metrics.bin)
[2021-02-27 16:19:06] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2021-02-27 16:19:06] Using the following download hosts for Public, Realm steamglobal
[2021-02-27 16:19:06] 1. http://client-download.steampowered.com, /client/, Realm 'steamglobal', weight was 100, source = 'baked in'
[2021-02-27 16:19:06] 2. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1.0)
[2021-02-27 16:19:06] Verifying installation...
[2021-02-27 16:19:06] Unable to read and verify install manifest /home/mms/.local/share/Steam/package/steam_client_ubuntu12.installed
[2021-02-27 16:19:06] Verification complete
[2021-02-27 16:19:06] Downloading Update...
[2021-02-27 16:19:06] Checking for available update...
[2021-02-27 16:19:06] Downloading manifest: client-download.steampowered.com/client/steam_client_ubuntu12
Installing breakpad exception handler for appid(steam)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1.0)
KeyValues Error: LoadFromBuffer: missing {   (current key: '<!DOCTYPE') in file manifest [offset: 14]

/data/src/tier1/KeyValues.cpp (2999) : Assertion Failed: Error while parsing text KeyValues for resource manifest
/data/src/tier1/KeyValues.cpp (2999) : Assertion Failed: Error while parsing text KeyValues for resource manifest
Installing breakpad exception handler for appid(steam)/version(1.0)
crash_20210227161911_7.dmp[9269]: Uploading dump (out-of-process)
/tmp/dumps/crash_20210227161911_7.dmp
[2021-02-27 16:19:11] failed to load manifest from buffer.
[2021-02-27 16:19:11] Failed to load manifest
[2021-02-27 16:19:11] Error: Download failed: http error 200
[2021-02-27 16:19:11] Saving metrics to disk (/home/mms/.local/share/Steam/package/steam_client_metrics.bin)
[2021-02-27 16:19:11] Error: Steam needs to be online to update.     Please confirm your network connection and try again.
crash_20210227161911_7.dmp[9269]: Finished uploading minidump (out-of-process): success = no
crash_20210227161911_7.dmp[9269]: error: libcurl.so: cannot open shared object file: No such file or directory
crash_20210227161911_7.dmp[9269]: file ''/tmp/dumps/crash_20210227161911_7.dmp'', upload no: ''libcurl.so: cannot open shared object file: No such file or directory''
[2021-02-27 16:19:13] Shutdown
/data/src/tier0/threadtools.cpp (3658) : Assertion Failed: Illegal termination of worker thread 'Thread(0x0x58830420/0x0xf4d39b'
/data/src/tier0/threadtools.cpp (3658) : Assertion Failed: Illegal termination of worker thread 'Thread(0x0x58830420/0x0xf4d39b'

2) when run your command

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 62.252.115.59...
* TCP_NODELAY set
* Connected to media.steampowered.com (62.252.115.59) port 80 (#0)
> GET /client/steam_client_ubuntu12 HTTP/1.1
> Host: media.steampowered.com
> User-Agent: curl/7.58.0
> Accept: */*
> 
< HTTP/1.1 200 OK
< Last-Modified: Sun, 14 Feb 2021 02:37:42 GMT
< ETag: "60288cf6-2538"
< Server: nginx/1.10.3 (Ubuntu)
< Content-Type: application/octet-stream
< Cache-Control: public, max-age=375
< Expires: Sat, 27 Feb 2021 16:24:47 GMT
< Date: Sat, 27 Feb 2021 16:18:32 GMT
< Content-Length: 9528
< Connection: keep-alive
< 
{ [9528 bytes data]
100  9528  100  9528    0     0  86618      0 --:--:-- --:--:-- --:--:-- 86618
* Connection #0 to host media.steampowered.com left intact
DocMAX commented 3 years ago

Same issue here, any solutions?: Looking at tcpdump there are no connection attempts at all! IPv6 is enabled. Nscd didn't help either.

[docmax@game]: ~>$ steam-runtime
Running Steam on arch rolling 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Can't find 'steam-runtime-check-requirements', continuing anyway
/home/docmax/.local/share/Steam/ubuntu12_32/steam
[2021-03-14 14:06:50] Startup - updater built Feb 12 2021 23:21:33
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
Installing breakpad exception handler for appid(steam)/version(0)
[2021-03-14 14:06:50] Loading cached metrics from disk (/home/docmax/.local/share/Steam/package/steam_client_metrics.bin)
[2021-03-14 14:06:50] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2021-03-14 14:06:50] Using the following download hosts for Public, Realm steamglobal
[2021-03-14 14:06:50] 1. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1.0)
[2021-03-14 14:06:50] Verifying installation...
[2021-03-14 14:06:50] Unable to read and verify install manifest /home/docmax/.local/share/Steam/package/steam_client_ubuntu12.installed
[2021-03-14 14:06:50] Verification complete
[2021-03-14 14:06:50] Downloading Update...
[2021-03-14 14:06:50] Checking for available update...
[2021-03-14 14:06:50] Downloading manifest: http://media.steampowered.com/client/steam_client_ubuntu12
Installing breakpad exception handler for appid(steam)/version(1.0)
[2021-03-14 14:06:50] Download failed: http error 0 (media.steampowered.com/client/steam_client_ubuntu12)
[2021-03-14 14:06:50] DownloadManifest - exhausted list of download hosts
[2021-03-14 14:06:50] failed to load manifest from buffer.
[2021-03-14 14:06:50] Failed to load manifest
[2021-03-14 14:06:50] Error: Download failed: http error 0
[2021-03-14 14:06:50] Saving metrics to disk (/home/docmax/.local/share/Steam/package/steam_client_metrics.bin)
[2021-03-14 14:06:50] Error: Steam needs to be online to update.     Please confirm your network connection and try again.
[docmax@game]: ~>$ curl -v http://media.steampowered.com/client/steam_client_ubuntu12 > /dev/null
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 185.98.140.40:80...
* Connected to media.steampowered.com (185.98.140.40) port 80 (#0)
> GET /client/steam_client_ubuntu12 HTTP/1.1
> Host: media.steampowered.com
> User-Agent: curl/7.75.0
> Accept: */*
> 
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Last-Modified: Sun, 14 Feb 2021 02:37:42 GMT
< ETag: "60288cf6-2538"
< Server: nginx/1.10.3 (Ubuntu)
< Content-Type: application/octet-stream
< Cache-Control: public, max-age=376
< Expires: Sun, 14 Mar 2021 13:17:46 GMT
< Date: Sun, 14 Mar 2021 13:11:30 GMT
< Content-Length: 9528
< Connection: keep-alive
< 
{ [1122 bytes data]
100  9528  100  9528    0     0  65260      0 --:--:-- --:--:-- --:--:-- 65260
* Connection #0 to host media.steampowered.com left intact
ernstp commented 3 years ago

Ok so your error looks like mine DocMAX, media.steampowered.com is the server that should work and you get http error 0 just like I got. So you have to do something to change some tiny detail in your dns server answers or something, we don't really know... I installed nscd and that made it work again. If Valve could add some more debug prints around this error 0 it would be helpful...

DocMAX commented 3 years ago

after linking resolv.conf with the systemd-resolved resolv.conf AND enabling nscd i got it working. i have 3 more machines with same arch linux os. no issues there and no need of nscd. really strange.

ernstp commented 3 years ago

So to summarize, there are two errors.

  1. Something with url 1 that can give http error 200, maybe a borken http redirect to cdn.akamai.steamstaticcom without the dot.
  2. Then the other issue where you get http error 0 for all urls, which seems more mysterious.
EdRoxter commented 3 years ago

For me, installing and starting nscd worked on Ubuntu 21.04.

That is:

sudo apt install nscd
sudo service nscd start

I'm not sure if it was removed during the upgrade to 21.04 or had been missing before, but it does no harm.

neffo commented 3 years ago

I was also getting the same issue on Ubuntu 21.04, and installing nscd worked, as per this @ernstp above

ericfont commented 2 years ago

after linking resolv.conf with the systemd-resolved resolv.conf AND enabling nscd i got it working...

Yup...this fixed it for me...basically:

ln -sf /run/systemd/resolve/stub-resolv.conf /mnt/etc/resolv.conf