ValveSoftware / steam-for-linux

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

LogonFailure No Connection Spontaneous Network Breakage from Old Big Picture #8962

Closed Myrddin-Wyllt closed 1 year ago

Myrddin-Wyllt commented 1 year ago

Your system information

Please describe your issue in as much detail as possible:

I've been using Steam for years on this laptop. Yesterday, while using the Old Big Picture; I selected Steam News on Grip Combat Racing. The preview tile was blank, so I figured the network was lagging. When I pressed 'A' on it, Steam locked up. I killed the zombie process after waiting a few minutes. When I went to reopen Steam, it wouldn't connect to anything. I figured a corrupted file was to blame so I moved my games out and renamed ~/.local/share/Steam to force a clean environment. This networking error persists and is almost identical to issue #7667. The solutions in the other issue don't work and seem to have a different cause (DNS issues). I've enabled nscd, enabled systemd-resolved including the stub-resolv.conf symlink, installed the lib32-nss package, tried deleting the beta file, tried steam-native all to no avail.

I can download http://media.steampowered.com/client/steam_client_publicbeta_ubuntu12 fine in Firefox, but the terminal output keeps saying it can't via Steam (i.e., see logs below). If more data would help, let me know.

Essentially, Steam has broken its own networking and removing ~/.local/share/Steam won't fix it. All other networking works fine.

Konsole output:
steam.sh[4460]: Running Steam on manjarolinux 22.0.0 64-bit
steam.sh[4460]: STEAM_RUNTIME is enabled automatically
setup.sh[4535]: Steam runtime environment up-to-date!
steam.sh[4460]: Steam client's requirements are satisfied
[2022-11-28 14:21:14] Startup - updater built Jun  7 2022 03:18:19
[2022-11-28 14:21:14] Opted in to client beta 'publicbeta' via beta file
You are in the 'publicbeta' client beta.
Installing breakpad exception handler for appid(steam)/version(1669074495)
[2022-11-28 14:21:14] Loading cached metrics from disk (/home/miasma/.local/share/Steam/package/steam_client_metrics.bin)
[2022-11-28 14:21:14] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2022-11-28 14:21:14] Using the following download hosts for Public, Realm steamglobal
[2022-11-28 14:21:14] 1. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1669074495)
[2022-11-28 14:21:14] Verifying installation...
[2022-11-28 14:21:14] BVerifyInstalledFiles: steam.sh is 22814 bytes, expected 23039
[2022-11-28 14:21:14] BVerifyInstalledFiles: ubuntu12_32/steam is 6356183 bytes, expected 6882060
[2022-11-28 14:21:14] Verification complete
[2022-11-28 14:21:14] Downloading update...
[2022-11-28 14:21:14] Checking for available updates...
[2022-11-28 14:21:14] Downloading manifest: http://media.steampowered.com/client/steam_client_publicbeta_ubuntu12
[2022-11-28 14:21:14] Manifest download: send request
Installing breakpad exception handler for appid(steam)/version(1669074495)
[2022-11-28 14:21:14] Manifest download: waiting for download to finish
Installing breakpad exception handler for appid(steam)/version(1669074495)
Installing breakpad exception handler for appid(steam)/version(1669074495)
[2022-11-28 14:21:22] Manifest download: finished
[2022-11-28 14:21:22] Download failed: http error 0 (media.steampowered.com/client/steam_client_publicbeta_ubuntu12)
[2022-11-28 14:21:22] DownloadManifest - exhausted list of download hosts
[2022-11-28 14:21:22] failed to load manifest from buffer.
[2022-11-28 14:21:22] Failed to load manifest
[2022-11-28 14:21:22] Error: Download failed: http error 0
[2022-11-28 14:21:22] Saving metrics to disk (/home/miasma/.local/share/Steam/package/steam_client_metrics.bin)
[2022-11-28 14:21:23] BRepairInstalledFiles: ignoring bootstrap file ubuntu12_32/steam
[2022-11-28 14:21:23] BRepairInstalledFiles: ignoring bootstrap file steam.sh
Loaded SDL version 2.25.1-p7674411
/usr/share/themes/Breeze-Dark/gtk-2.0/widgets/entry:70: error: unexpected identifier 'direction', expected character '}'

(steam:4598): Gtk-WARNING **: 14:21:23.403: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Breeze-Dark/gtk-2.0/widgets/styles:36: error: invalid string constant "combobox_entry", expected valid string constant
Installing breakpad exception handler for appid(steam)/version(1669074495)
steamwebhelper.sh[4615]: Runtime for steamwebhelper: defaulting to /home/miasma/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[4615]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
Installing breakpad exception handler for appid(steam)/version(1669074495)
Installing breakpad exception handler for appid(steam)/version(1669074495)
Installing breakpad exception handler for appid(steam)/version(1669074495)
CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize
Installing breakpad exception handler for appid(steam)/version(1669074495)
Installing breakpad exception handler for appid(steam)/version(1669074495)
Installing breakpad exception handler for appid(steam)/version(1669074495)
Installing breakpad exception handler for appid(steam)/version(1669074495)
Installing breakpad exception handler for appid(steam)/version(1669074495)
Installing breakpad exception handler for appid(steam)/version(1669074495)
Installing breakpad exception handler for appid(steam)/version(1669074495)
Installing breakpad exception handler for appid(steam)/version(1669074495)
Installing breakpad exception handler for appid(steam)/version(1669074495)
Installing breakpad exception handler for appid(steam)/version(1669074495)
Installing breakpad exception handler for appid(steam)/version(1669074495)
Installing breakpad exception handler for appid(steam)/version(1669074495)
Installing breakpad exception handler for appid(steam)/version(1669074495)
Installing breakpad exception handler for appid(steam)/version(1669074495)
Installing breakpad exception handler for appid(steam)/version(1669074495)
[2022-11-28 14:21:24] Error: Failed to determine download location for universe 1

(steam:4598): GLib-CRITICAL **: 14:21:24.650: g_main_context_push_thread_default: assertion 'acquired_context' failed

(steam:4598): GLib-CRITICAL **: 14:21:24.650: g_main_context_pop_thread_default: assertion 'g_queue_peek_head (stack) == context' failed
Installing breakpad exception handler for appid(steam)/version(1669074495)
Installing breakpad exception handler for appid(steam)/version(1669074495)
Found no supported CDM versions, using last known good version 4.10.1440.19
LogonFailure No Connection

(steam:4598): GLib-CRITICAL **: 14:21:34.657: g_main_context_push_thread_default: assertion 'acquired_context' failed

(steam:4598): GLib-CRITICAL **: 14:21:34.657: g_main_context_pop_thread_default: assertion 'g_queue_peek_head (stack) == context' failed
Installing breakpad exception handler for appid(steam)/version(1669074495)

(steam:4598): GLib-CRITICAL **: 14:21:44.676: g_main_context_push_thread_default: assertion 'acquired_context' failed

(steam:4598): GLib-CRITICAL **: 14:21:44.677: g_main_context_pop_thread_default: assertion 'g_queue_peek_head (stack) == context' failed
Installing breakpad exception handler for appid(steam)/version(1669074495)

(steam:4598): GLib-CRITICAL **: 14:21:54.683: g_main_context_push_thread_default: assertion 'acquired_context' failed

(steam:4598): GLib-CRITICAL **: 14:21:54.683: g_main_context_pop_thread_default: assertion 'g_queue_peek_head (stack) == context' failed
LogonFailure No Connection

(steam:4598): GLib-CRITICAL **: 14:22:04.695: g_main_context_push_thread_default: assertion 'acquired_context' failed

(steam:4598): GLib-CRITICAL **: 14:22:04.695: g_main_context_pop_thread_default: assertion 'g_queue_peek_head (stack) == context' failed

(steam:4598): GLib-GObject-CRITICAL **: 14:22:10.692: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(steam:4598): GLib-GObject-WARNING **: 14:22:10.693: instance with invalid (NULL) class pointer

(steam:4598): GLib-GObject-CRITICAL **: 14:22:10.693: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(steam:4598): GLib-GObject-CRITICAL **: 14:22:10.693: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
[2022-11-28 14:22:10] Shutdown
connection_log.txt output:
[2022-11-28 14:21:24] Connectivity test: Starting test, fetching 'http://test.steampowered.com/204'
[2022-11-28 14:21:24] [Logged Off, 0, 0] [U:1:0] CCMInterface::SetSteamID( [U:1:0] )
[2022-11-28 14:21:24] [Logged Off, 0, 0] [U:1:0] LogOff()
[2022-11-28 14:21:24] IPv6 HTTP connectivity test (ipv6check-http.steamserver.net / [2602:801:f00b:101::cdc4:693]:80 ([2602:801:f00b:101::cdc4:693]:80)) - SUCCESS
[2022-11-28 14:21:24] IPv6 HTTP connectivity test (ipv6check-http.steamserver.net / [2602:801:f00b:101::cdc4:693]:80 ([2602:801:f00b:101::cdc4:693]:80)) - server indicated we are using ipv6, external address = '2607:fb90:3582:f3a9:72c9:4eff:fe5b:5057'
[2022-11-28 14:21:25] CCMInterface::YieldingConnect -- calling ISteamDirectory/GetCMListForConnect web api
[2022-11-28 14:21:26] IPv6 UDP connectivity test (ipv6check-udp.steamserver.net / 2602:801:f002:101::a2fe:c008) - TIMEOUT
[2022-11-28 14:21:32] Connectivity test: HTTP fetch failed
[2022-11-28 14:21:32] Connectivity test: result=Failed (since 0.0s ago), prev=Unknown, in progress=0
[2022-11-28 14:21:33] GetCMListForConnect -- web API call failed (status = 0)
[2022-11-28 14:21:33] [Connecting, 0, 0] [U:1:0] PingWebSocketCM() (ext3-ord.steamserver.net:27021) starting...
[2022-11-28 14:21:33] [Connecting, 0, 0] [U:1:0] PingWebSocketCM() (ext5-iad1.steamserver.net:443) starting...
[2022-11-28 14:21:33] [Connecting, 0, 0] [U:1:0] PingWebSocketCM() (ext1-lax1.steamserver.net:27021) starting...
[2022-11-28 14:21:33] [Connecting, 0, 0] [U:1:0] PingWebSocketCM() (ext3-ord.steamserver.net:27021) failed talking to cm (timeout/neterror - Invalid)
[2022-11-28 14:21:34] [Connecting, 0, 0] [U:1:0] PingWebSocketCM() (ext5-iad1.steamserver.net:443) failed talking to cm (timeout/neterror - Invalid)
[2022-11-28 14:21:34] [Connecting, 0, 0] [U:1:0] PingWebSocketCM() (ext1-lax1.steamserver.net:27021) failed talking to cm (timeout/neterror - Invalid)
[2022-11-28 14:21:34] [Connecting, 0, 3] [U:1:0] Connect() starting connection (eNetQOSLevelHigh, ext3-ord.steamserver.net:27021, WebSocket)
[2022-11-28 14:21:34] [Connecting, 0, 0] [U:1:0] ConnectFailed('Connection Failed':0) (0.0.0.0:0, WebSocket)
[2022-11-28 14:21:34] [Connecting, 0, 0] [U:1:0] Client thinks it can connect via: UDP - yes, TCP - yes, WebSocket:443 - yes, WebSocket:Non443 - yes
[2022-11-28 14:21:34] [Logged Off, 0, 0] [U:1:0] StartAutoReconnect() will start in 20.0 seconds (attempt 1)
[2022-11-28 14:21:38] Connectivity test: Starting test, fetching 'http://test.steampowered.com/204'
[2022-11-28 14:21:46] Connectivity test: HTTP fetch failed
[2022-11-28 14:21:46] Connectivity test: result=Failed (since 14.5s ago), prev=Unknown, in progress=0
[2022-11-28 14:21:54] Connectivity test: Starting test, fetching 'http://test.steampowered.com/204'
[2022-11-28 14:21:54] CCMInterface::YieldingConnect -- calling ISteamDirectory/GetCMListForConnect web api
[2022-11-28 14:21:55] [Connecting, 0, 0] [U:1:0] EConnect called connection job is already running
[2022-11-28 14:22:02] Connectivity test: HTTP fetch failed
[2022-11-28 14:22:02] Connectivity test: result=Failed (since 30.1s ago), prev=Unknown, in progress=0
[2022-11-28 14:22:02] GetCMListForConnect -- web API call failed (status = 0)
[2022-11-28 14:22:02] [Connecting, 0, 0] [U:1:0] Existing WebSocket ping data (ext1-lax1.steamserver.net:27021) results: 100000.0000ms + load 0.0000 (28 seconds ago)
[2022-11-28 14:22:02] [Connecting, 0, 0] [U:1:0] Existing WebSocket ping data (ext5-iad1.steamserver.net:443) results: 100000.0000ms + load 0.0000 (28 seconds ago)
[2022-11-28 14:22:02] [Connecting, 0, 0] [U:1:0] PingWebSocketCM() (ext3-ord.steamserver.net:27021) starting...
[2022-11-28 14:22:02] [Connecting, 0, 0] [U:1:0] PingWebSocketCM() (ext5-iad1.steamserver.net:443) starting...
[2022-11-28 14:22:02] [Connecting, 0, 0] [U:1:0] PingWebSocketCM() (ext1-lax1.steamserver.net:27021) starting...
[2022-11-28 14:22:02] [Connecting, 0, 0] [U:1:0] PingWebSocketCM() (ext3-ord.steamserver.net:27021) failed talking to cm (timeout/neterror - Invalid)
[2022-11-28 14:22:03] [Connecting, 0, 0] [U:1:0] PingWebSocketCM() (ext1-lax1.steamserver.net:27021) failed talking to cm (timeout/neterror - Invalid)
[2022-11-28 14:22:03] [Connecting, 0, 0] [U:1:0] PingWebSocketCM() (ext5-iad1.steamserver.net:443) failed talking to cm (timeout/neterror - Invalid)
[2022-11-28 14:22:03] [Connecting, 0, 7] [U:1:0] Connect() starting connection (eNetQOSLevelHigh, ext3-ord.steamserver.net:27021, WebSocket)
[2022-11-28 14:22:03] [Connecting, 0, 0] [U:1:0] ConnectFailed('Connection Failed':0) (0.0.0.0:0, WebSocket)
[2022-11-28 14:22:03] [Connecting, 0, 0] [U:1:0] Client thinks it can connect via: UDP - yes, TCP - yes, WebSocket:443 - yes, WebSocket:Non443 - yes
[2022-11-28 14:22:03] [Logged Off, 0, 0] [U:1:0] StartAutoReconnect() will start in 17.0 seconds (attempt 2)
[2022-11-28 14:22:04] IPv6 HTTP connectivity test (ipv6check-http.steamserver.net / [2602:801:f00b:101::cdc4:68f]:80 ([2602:801:f00b:101::cdc4:68f]:80)) - SUCCESS
[2022-11-28 14:22:04] IPv6 HTTP connectivity test (ipv6check-http.steamserver.net / [2602:801:f00b:101::cdc4:68f]:80 ([2602:801:f00b:101::cdc4:68f]:80)) - server indicated we are using ipv6, external address = '2607:fb90:3582:f3a9:72c9:4eff:fe5b:5057'
[2022-11-28 14:22:04] IPv6 UDP connectivity test (ipv6check-udp.steamserver.net / [2602:801:f002:101::a2fe:c007]:27019) - SUCCESS
[2022-11-28 14:22:08] Connectivity test: Starting test, fetching 'http://test.steampowered.com/204'
[2022-11-28 14:22:09] [Logged Off, 0, 0] [U:1:0] ResetVoiceRecording() (was recording: 0) (last get voice time: 1669670529 seconds ago)
[2022-11-28 14:22:09] [Logged Off, 0, 0] [U:1:0] Log session ended
dig media.steampowered.com
; <<>> DiG 9.18.8 <<>> media.steampowered.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61302
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;media.steampowered.com.                IN      A

;; ANSWER SECTION:
media.steampowered.com. 60      IN      CNAME   cdn.akamai.steamstatic.com.edgesuite.net.
cdn.akamai.steamstatic.com.edgesuite.net. 3600 IN CNAME a1843.b.akamai.net.
a1843.b.akamai.net.     20      IN      A       23.205.109.82
a1843.b.akamai.net.     20      IN      A       23.205.109.68

;; Query time: 83 msec
;; SERVER: 127.0.0.53#53(127.0.0.53) (UDP)
;; WHEN: Mon Nov 28 14:32:17 MST 2022
;; MSG SIZE  rcvd: 166
host media.steampowered.com
media.steampowered.com is an alias for cdn.akamai.steamstatic.com.edgesuite.net.
cdn.akamai.steamstatic.com.edgesuite.net is an alias for a1843.b.akamai.net.
a1843.b.akamai.net has address 23.205.110.205
a1843.b.akamai.net has address 23.205.110.220
a1843.b.akamai.net has IPv6 address 2607:7700:0:27::17cd:6edc
a1843.b.akamai.net has IPv6 address 2607:7700:0:27::17cd:6ecd

Steps for reproducing this issue:

  1. Open Old Big Picture with the latest beta
  2. Navigate to a game and select News (i.e., Grip Combat Racing for me)
  3. Notice the tile is blank (i.e., no preview of the news item)
  4. Steam locks up and breaks its networking
Myrddin-Wyllt commented 1 year ago

I managed to update to the Nov 30th version & the issue resolved itself. I spent a good 10 hours debugging this. May I suggest adding more networking debugging output for Steam?

As for how I updated, first let me ask your policy on internal (LAN) proxying; hypothetically a system in my household. The way your legalese is worded implies consequences for using proxies unless permission is given. I absolutely didn't use proxychains-ng lib32, so maybe try that. If I were to be given permission; perhaps I could edit this to detail my solution better.

For clarity, everything now works as it should; it's completely fixed with no workarounds currently applied.

Also, when's SteamOS 3 for desktops officially landing? I'd love to try it out.