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

Steam: Partially Fails to Connect to Internet after Waking

Open torval opened this issue 13 years ago • 112 comments

I've noticed that, several times, after I have woken my computer up from "sleep," Steam will have difficulty connecting to the internet. Browsing and everything else on the PC works fine, but Steam will say that it is "Unable to connect to the server" when I attempt to load the store page. Multiple refreshes and waiting a few minutes can usually resolve the issue.

Additionally, this gets in the way of launching games sometimes. For instance, right now, I am sitting waiting on Killing Floor to launch. The pop-up window says "Preparing to Launch Killing Floor," but it generally just sits there indefinitely, doing nothing.

If I attempt to launch the game directly from it's working directory, it starts, but I receive a message about how multiplayer won't work, because Steam isn't running or I don't have an internet connection.

Restarting Steam seems to resolve this.

torval avatar Dec 30 '12 15:12 torval

This appears to be related to issue, #472 , as well. Although I think they may still qualify as separate issues, considering that one is in regards to Steams initial startup on boot, and the other is in regards to Steam reconnecting to the internet while already running after "waking" the computer.

torval avatar Dec 31 '12 11:12 torval

I can confirm. After waking up PC from sleep steam becomes unusable, stuck when launching games. until steam is restarted

Despruk avatar Jan 16 '13 12:01 Despruk

Similar problem for me on OS X 10.8.3. I think in about 80% of the times the computer is waking up from standby Steam thinks that there's no connection.

Playing games works, but I can't chat or see who's online. Steam will never automatically reconnect, though. Only quitting and restarting it will help.

koraktor avatar May 26 '13 14:05 koraktor

There seem to be entries in service_log.txt related to this problem:

Sat Jun 08 18:10:10 2013 UTC : Failed to connect to Steam Service (60)
Sat Jun 08 18:18:27 2013 UTC : Failed to create Service pipe (60)
Sat Jun 08 18:18:27 2013 UTC : Failed to connect to Steam Service (60)
Sat Jun 08 18:26:51 2013 UTC : Failed to create Service pipe (60)
Sat Jun 08 18:26:51 2013 UTC : Failed to connect to Steam Service (60)
Sun Jun 09 10:42:36 2013 UTC : Failed to create Service pipe (60)
Sun Jun 09 10:42:36 2013 UTC : Failed to connect to Steam Service (60) 

koraktor avatar Jun 09 '13 10:06 koraktor

I get this sometimes after a suspend wakeup on my desktop, I never suspend with Steam started, yet starting Steam will get me a "No connection". The funny thing is that even so, it found a new client update, downloaded it, apply it, and restarted to a "No connection".

cloud_log.txt shows that it synced ok.

connection_log.txt shows a mixed bag of:

[1,0] ConnectFailed('Timeout':0) (otherip:27019, UDP)
[0,0] StartAutoReconnect() will start in 5 seconds
[1,58] Connect() starting connection (eNetQOSLevelMedium, someip:27018, UDP)
[1,58] ConnectionCompleted() (someip:27018, UDP)
[1,58] RecvMsgClientLogOnResponse() : [U:1:3xxxxxx] 'Service Unavailable'
[0,0] ConnectionDisconnected('Disconnected By Remote Host') : 'Service Unavailable' (someip:27018, UDP)
[0,0] (null)

licaon-kter avatar Mar 11 '14 21:03 licaon-kter

Another day, another need to reboot the computer to get Steam working again, the story so far, after the previous comment I've rebooted, Steam started ok, stopped Steam, suspended, woke up after some hours, suspended again for some hours, woke up again, started Steam successfully only to have it lose the connection 30 minutes later and now it won't connect, it believes I have no connection yet it can check for updates ok.

And another thing, what does this in stats_log.txt mean:

[AppID 70] Schema not found on disk
[AppID 70] CAPIJobRequestUserStats - received error 'Failure' (2) from server
[AppID 70] Schema not found on disk
[AppID 70] CAPIJobRequestUserStats - no connection to Steam

Any ideas? Any log you want me to post?

licaon-kter avatar Mar 13 '14 20:03 licaon-kter

Haven't looked at the code base here on GitHub, but from a UI perspective this is not exclusively a Linux thing. The Steam client does exactly the same thing on Windows - and apparently also OS X - where it refuses to reconnect when reawakening your computer after a sleep period.

Only solution I've found is to restart the client. Seems like a bug that should have been fixed a long time ago.

AndersDkr avatar Mar 25 '14 13:03 AndersDkr

I got notice of http://www.issteamdown.com and http://steamstat.us in the mean time so maybe this was not a Linux only thing.

licaon-kter avatar Mar 26 '14 11:03 licaon-kter

Got myself a mac these days, everything is working fine.. with the exception of said issues above. All friends are frozen in the list as if they are playing games at 7 in the morning. Restart the client and its back to normal, this also happens to me more often then not. Mostly dont see anything in the logs though (since it looks like its hanging)

riemers avatar May 04 '14 07:05 riemers

Same deal here. Can't launch games without restarting the client after the computer sleeps. Makes me want to exit Steam whenever I stop using it, which I imagine Valve would not prefer.

bluej100 avatar Jun 03 '14 05:06 bluej100

I can confirm that this issue persists as of now (OS X 10.9.3).

anilanar avatar Jun 11 '14 12:06 anilanar

Same problem. 2008 Mac Pro on ethernet, 10.9.4. So frustrating.

colincornaby avatar Jul 06 '14 21:07 colincornaby

I'm experiencing the same issue on OS X 10.9.4. Steam needs to be restarted after the computer wakes up from sleep or it won't connect. I'm on Wi-Fi.

ghost avatar Jul 25 '14 10:07 ghost

I'm seeing this issue as well. Steam looses connection after my MBP goes to sleep, and never regains it, resulting in an inability to launch apps and an eternal 'waiting for cloud sync' when I try to exit.

rlugge avatar Aug 02 '14 19:08 rlugge

yep, seeing the same problem on OS X, this bug has been around a long time (at the very least 6-12 months)

andrew-hill avatar Aug 27 '14 14:08 andrew-hill

Same here using a 2012 MBP running 10.9.4. From the looks of this thread, it doesn't seem like Valve cares much though.

beporter avatar Aug 27 '14 14:08 beporter

@beporter Someone is assigned to this issue it seems. Their backlog must be fat.

anilanar avatar Aug 27 '14 14:08 anilanar

I interpret it differently. It looks like it's assigned to a general "triage" account. That combined with the fact that it's been marked as "reviewed" already makes me think they aren't actually concerned with fixing this. The message I'm getting is, "We've looked at this, it's an issue, but nothing we need to have someone (real) address immediately."

It's in the, "we'll get around to it," bucket, which usually means, "we'll probably never get around to it."

beporter avatar Aug 27 '14 14:08 beporter

An update from my side: After upgrading to an SSD this problem doesn't occur as often as before. So there might be some sort of timing issue involved.

koraktor avatar Aug 27 '14 18:08 koraktor

Well my macbook comes with ssd, i still have this issue. Sometimes i get lucky, i do think with the new icon look update it has reduced but its still heavily present.

riemers avatar Aug 27 '14 22:08 riemers