ValveSoftware / Dota-2

Tracker for issues specific to Linux and Mac in the Reborn client. If you have a general issue or non-system-specific feature request please go to dev.dota2.com
463 stars 38 forks source link

Mac Dota 2 'Lost connection to steam' #1533

Open reeplayd90 opened 5 years ago

reeplayd90 commented 5 years ago

Hi,

I am not able to play Dota 2 because it says 'Lost connection to steam' at the top. I've already tried the following:

-uninstall reinstall -restart computer -going to launch options and putting in '-clientport 27015'

Please help me solve this problem.

screenshot 2018-12-08 13 05 05

Thank you bmreed31290@gmail.com

MerciGitHub commented 5 years ago

hey did you manage to solve the issue? I'm using Mac as well and its been weeks I have this exact issue

MerciGitHub commented 5 years ago
screenshot 2018-12-15 at 1 30 12 pm

|HFO|combowombo is my steam name

tangyapple commented 5 years ago

Having same issue... anything worked? screen shot 2018-12-16 at 9 57 10 am

nkolln commented 5 years ago

Has anyone found any solution or is this being ignored by the devs? No reply from them on the thread so that's worrisome :/.

Have a friend who can't play for a month, and I tried to fix it with every Mac related fix on the internet but nothing works.

Would be great if anyone even has a temporary work around.

AdieSimba commented 5 years ago

Hello everyone! I've been faced this problem for the past 2 weeks.Please help because I cannot play Dota 2. This is my spec for my Macbook

Macbook Pro (13-inch,Early 2015) Processor 2.7 Ghz Intel Core i5 Memory 8 GB 1867 MHz DDR3 Graphics Intel Iris Graphics 6100 1536MB macOS Mojave Version 10.14.2

Salt-Factory commented 5 years ago

Same issue here!

Jomik commented 6 months ago

I have this issue, 5 years later, awesome :)

Jomik commented 6 months ago

@kisak-valve any movement here? Wonder if @natbro is even still at Valve at this point.

natbro commented 6 months ago

Sorry for the slow, notifications off and indeed no longer at Valve (find me at natbro@apple.com). I'd encourage you to post in https://steamcommunity.com/app/570/discussions/ as well as troubleshooting your network (https://help.steampowered.com/en/faqs/view/669A-2F68-D1D1-A5EC) and include in your post/question your most recent Steam networking log (~/Library/Application Support/Steam/logs/connection_log.txt. Off the top of my head, I've most often had Dota2 and Steam networking problems either when some Dota2 servers hiccup or when IPv6 on my Mac gets confused by my router or ISP or VPN. I typically completely disable IPv6 on my Macs where Steam runs due to historical issues, I'm not sure if that is still the case here.

Jomik commented 6 months ago

Thanks, I will try to post there! I get this error on stdout when running dota.sh, which makes me think the issue is with Steam, not Dota, but unsure if it is just because I am not launching it through Steam..

dlopen failed trying to load:
steamclient.dylib
// snip
[S_API FAIL] SteamAPI_Init() failed; ipcserver init failed .
[S_API] SteamAPI_Init(): SteamAPI_IsSteamRunning() did not locate a running instance of Steam.
Jomik commented 6 months ago

I have opened a discussion here https://steamcommunity.com/app/570/discussions/0/4039231211465124624/

Jomik commented 6 months ago

I seem to have found a solution. But damn that is annoying.

cd ~/Library/Application Support/Steam 
./steamapps/common/dota\ 2\ beta/game/dota.sh

This correctly puts ~/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS in the $DYLD_LIBRARY_PATH apparently, so now my game finds steamclient.dylib.

Weirdly it now also works when opened through Steam, so I am utterly stumped.

Jomik commented 6 months ago

Well, so after I changed my steam preferences to not run Steam on startup, it stopped working again. Setting it to run Steam on startup fixes it.

natbro commented 6 months ago

do you have Steam installed in an unusual location? Steam clients (historically anyway) find Steam's location to load the steamworks client library through either through interrogating the com.valvesoftware.steam.ipctool (~/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/ipcserver), see also launchctl list | grep -i steam, or failing that through the standard installation path. it could be your ipcserver is not automatically starting, thus Steam needs to start once in order to trigger the ipcserver launch before apps can "find" it. this might be a new bug in macOS steam though, that this launch service isn't starting automatically.