Valheim

Valheim

tartcart92 Mar 31, 2023 @ 10:40am
Unable to join any crossplay games
My friend convinced me to try this game last night. I can see his server but fail to connect. He (xbox) can't see my server at all. So far I have been unable to join any crossplay games. spins for ~20 seconds and says failed to connect. Joining non-crossplay public servers takes me to the password screen right away. This is on my own home network, no restrictions, directly wired to router.

I have tried googling, asking in the discord, many videos suggestions already. So far i have added port exceptions to windows firewall/my router, tried reinstalling the game, tried reinstalling all Microsoft visual C+ libraries( i had all of the ones mentioned in links installed already) and resetting modem/router. Please send help
< >
Showing 1-4 of 4 comments
L1m3r (Banned) Mar 31, 2023 @ 11:09am 
Can you ask your friend to open and forward the ports on his server/router?
AFAIK crossplay works even without portforwarding and XBOX requires crossplay.

No idea how to get crossplay working on your end.

Just tried it myself for the first time and after unblocking the crossplay/playfab IP-Ranges in my firewall I could connect to my dedicated server (but not via its LAN IP, only external or join code).

What do the logs say when you try to connect?
%USERPROFILE%\AppData\LocalLow\IronGate\Valheim\Player.log %USERPROFILE%\AppData\LocalLow\IronGate\Valheim\Player-prev.log %USERPROFILE%\AppData\Local\Temp\IronGate\Valheim\Crashes\Crash_*\*.log (<- only if VH crashed) ...\Steam\SteamApps\common\Valheim\BepInEx\LogOutput.log (<- if applicable)
Start the game once and quit and then a second time and try joining just one crossplay server before you quit again.
Then compare Player.log vs. PLayer-prev.log and maybe post your diff (in a [code][/code] block please!).
Last edited by L1m3r; Mar 31, 2023 @ 11:10am
tartcart92 Mar 31, 2023 @ 11:47am 
03/31/2023 14:30:06: Connecting to server with PlayFab-backend 49B6B875002DACDC 03/31/2023 14:30:06: PlayFab socket with remote ID 49B6B875002DACDC sent local Platform ID Steam_76561198400774998 03/31/2023 14:30:06: Session auth respons callback 03/31/2023 14:30:10: Get Lobby Server Name : Aglarond Server IP : Version : 0.214.300 Player ID : 49B6B875002DACDC Players : 5 Lobby ID : 41f3a469-e185-4272-8eb6-f5fa5f5287f5 Network ID : 48a634b7-aec5-48e0-b6b1-1332edbd3766|AwC9JrCz5e5qwGYGCEWPyRqtFyfiLkVhc3RVcwAAAAAAAAAAAAAAAAAAYHqiEpapxSC+Owo1h8qJ5NuEOmtS0oeJqq8h6q5ybZZrbklkbnMtaXI4MWU1LTMyOTc4NjI5LTFlZDItNGI4NC05N2RmLTJkMjJhYTg4NGZjNy5lYXN0dXMuY2xvdWRhcHAuYXp1cmUuY29t Join Code : 147958 Dedicated : False Community : True TickCreated : 638158813895964734 03/31/2023 14:30:10: Joining server 'Aglarond' at PlayFab network 48a634b7-aec5-48e0-b6b1-1332edbd3766|AwC9JrCz5e5qwGYGCEWPyRqtFyfiLkVhc3RVcwAAAAAAAAAAAAAAAAAAYHqiEpapxSC+Owo1h8qJ5NuEOmtS0oeJqq8h6q5ybZZrbklkbnMtaXI4MWU1LTMyOTc4NjI5LTFlZDItNGI4NC05N2RmLTJkMjJhYTg4NGZjNy5lYXN0dXMuY2xvdWRhcHAuYXp1cmUuY29t from lobby 41f3a469-e185-4272-8eb6-f5fa5f5287f5 03/31/2023 14:30:36: ZRpc timeout detected 03/31/2023 14:30:36: Lost connection to server:ErrorConnectFailed 03/31/2023 14:30:36: Shuting down

This part seems to be the difference when starting a game offline vs online.

I also get these suspicious looking texts on both logs, but on offline it is displayed after saving and exiting world.

03/31/2023 14:29:12: UI Group status changed MenuRoot = False Fallback handler could not load library C:/Program Files (x86)/Steam/steamapps/common/Valheim/valheim_Data/Mono/PartyWin32 Fallback handler could not load library C:/Program Files (x86)/Steam/steamapps/common/Valheim/valheim_Data/Mono/PartyWin32.dll Fallback handler could not load library C:/Program Files (x86)/Steam/steamapps/common/Valheim/valheim_Data/Mono/PartyWin32 Fallback handler could not load library C:/Program Files (x86)/Steam/steamapps/common/Valheim/valheim_Data/Mono/libPartyWin32 Fallback handler could not load library C:/Program Files (x86)/Steam/steamapps/common/Valheim/valheim_Data/Mono/libPartyWin32.dll Fallback handler could not load library C:/Program Files (x86)/Steam/steamapps/common/Valheim/valheim_Data/Mono/libPartyWin32 03/31/2023 14:29:14: Game - OnApplicationQuit 03/31/2023 14:29:14: Shuting down
Last edited by tartcart92; Mar 31, 2023 @ 11:52am
L1m3r (Banned) Mar 31, 2023 @ 2:30pm 
Originally posted by tartcart92:
03/31/2023 14:30:10: Joining server 'Aglarond' at PlayFab network 48a634b7-aec5-48e0-b6b1-1332edbd3766|AwC9JrCz5e5qwGYGCEWPyRqtFyfiLkVhc3RVcwAAAAAAAAAAAAAAAAAAYHqiEpapxSC+Owo1h8qJ5NuEOmtS0oeJqq8h6q5ybZZrbklkbnMtaXI4MWU1LTMyOTc4NjI5LTFlZDItNGI4NC05N2RmLTJkMjJhYTg4NGZjNy5lYXN0dXMuY2xvdWRhcHAuYXp1cmUuY29t from lobby 41f3a469-e185-4272-8eb6-f5fa5f5287f5
Usually after that ^^ line ~this follows:
PlayFab client socket to remote player 3623462456 joined network 48a634b7-aec5-48e0-b6b1-1332edbd3766|AwC9JrCz5e5qwGYGCEWPyRqtFyfiLkVhc3RVcwAAAAAAAAAAAAAAAAAAYHqiEpapxSC+Owo1h8qJ5NuEOmtS0oeJqq8h6q5ybZZrbklkbnMtaXI4MWU1LTMyOTc4NjI5LTFlZDItNGI4NC05N2RmLTJkMjJhYTg4NGZjNy5lYXN0dXMuY2xvdWRhcHAuYXp1cmUuY29t ZRpc timeout set to 90s PlayFab socket connected to remote player s45e6sv456qn567 Muted PlayFab remote player 457235672w547w4567w Session auth respons callback VERSION check their:0.214.300 mine:0.214.300 ....
(I removed the timestamps, copied your network identifier and replaced my random identifiers)

Those "Fallback handler could not load library ...." lines are normal.

Your error message gets a few search results[duckduckgo.com]...

The only other Ideas I have are unlikely, complicated or just shots in the dark:
  1. Install a dedicated server on your end and see if your friend can connect to that.
  2. "Check your internet" (any (ISP) restrictions? overreaching firewall? ....?)
  3. IPv4 vs. v6 (if both your ISPs only give you one but not the same it could be the problem AFAIK)
  4. Can he connect to other servers? Would indicate the problem is somewhere at your end... :-/
Gornak Nov 4, 2023 @ 4:12am 
2
I it's been some time, but if someone else posted the solution here it would have saved me about 3 hours so here we go.

It looks like Steam doesn't install VC Redist 2015-2022 with Valheim. Valheim uses Playfab to do crossplay which requires it.

Download the installers here, and godspeed.
https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Mar 31, 2023 @ 10:40am
Posts: 4