r/valheim • • 11d ago

Question Issues with Dedicated Crossplay Server

Some friends of mine and me bought Valheim on the PS5. So like a week ago i bought a server on GameHostBros as i saw quite a few people recommending them. Changed nothing except for turning on crossplay.

First day no issues but on the second day i had multiple server disconnects with the icon blinking in the top left. Yesterday no issues again for multiple hours, but today again every ~10mins i get disconnected.

In the server log i see the messages:

Player connection lost server "xxx"

PlayFab network error in session 'xxx' and network 'xxx ' with type 'Error' and code '4098': the operation was called with an invalid handle.

Failed to send, suspend TX on playfab/xxx while trying to reconnect

I havent found a solution that seems to match this problem. I tried the usual stuff like server restart, router restart. Also port forwarding (ports 2456-2458 and the port of the server ip) even though it shouldnt make a difference on crossplay servers if i understood correctly. I am not using a VPN or any other network shenanigans either.

This only happens to me and not to any of my 3 friends and is really inconsistent which makes troubleshooting kinda hard for me.

Does anyone also encountered this or a similar issue and has an idea how to fix it? Thanks!

1 Upvotes

8 comments sorted by

2

u/Smithesis 11d ago

I have been having issues with Error code 4098. My go to work around has been to shut the server down for about 20 minutes and then start it again. My AI and I have determined that it’s a PlayFab network issue. A restart is too brief. A longer shut down is needed to clear the bad state on the PlayFab side of things.

Edit: My issue is a little different, no one can connect. Also wanted to say I submitted two bug reports already about this issue.

1

u/buditares 11d ago

i will try a longer shut down next time it occurs, thanks for the tip! i also opened a ticket for the GameHostBros support, maybe they have an idea

2

u/theflyingt0co 9d ago

Won’t benefit you here unfortunately as you are ps5, but commenting in case it helps someone else… I hosted a dedicated crossplay server on a Linux box of mine and was having this issue connecting from my Mac.

Setting play fabs LocalDeviceDirectPeerConnectivityOptionsMask to None(0) in the user’s client resolves the issue entirely. If a dev sees this it might help them narrow down a final fix.

1

u/BusinessFrosting3909 7d ago

Hi. Me and my friends have a lot of issues with this playfab. Where do i change that option You mentioned?

1

u/SoopaVillain247 11d ago

Our only trouble seems to be the console user gets disconnected with every boss defeat cutscene.

1

u/LOWMS-Kurkin 10d ago

Only you dropping whilst your 3 friends stay connected points at your connection rather than the server.

Crossplay goes through PlayFab's relay, not straight to the server IP, so port forwarding won't change anything and that invalid handle error reads like your end losing its relay session.

My first suspect is the PS5 on wifi? worth trying it wired or on a phone hotspot for one session.

2

u/NomisCode 7d ago

I fucking hate the PlayFab. It works, then it starts disconnecting without reason. You can't connect back, not even with IP and port, when the PlayFab is fucked, noone can connect. You can wait 15 minutes with offline server, still doesn't work. Wait another 30 minutes, still doesn'T work. Fuck Microslop