Hi @ich777,
Like others in this thread I've also been having problems with the Valheim Dedicated Server, where when crossplay is enabled I can't successfully make any type of connection to the server. I've tried troubleshooting this myself, but just can't seem to make any headway in getting it functional.
The server works without issues locally and over the internet without crossplay enabled so there isn't anything wrong with my port forwarding or weird network quirks. I even went as far as using my phone's hotspot to test the connection from another 'part' of the internet (it worked fine), and this has since also been confirmed as working by other friends who play on the Steam version who have had no problems connecting.
The server sets up correctly with no issues or networking errors, but eventually just gets stuck endlessly printing this in the logs:
03/28/2023 20:01:10: Game server connected
03/28/2023 20:01:28: Server ' *servername* ' begin PlayFab create and join network for server
03/28/2023 20:01:28: PlayFab reconnect server '*servername*'
03/28/2023 20:06:10: Update PlayFab entity token
Interestingly the dedicated server runs correctly on my gaming pc, and prints the above whilst getting a step further:
03/28/2023 20:03:10: Joined PlayFab Party network with ID "<UUID>"
03/28/2023 20:03:11: Created PlayFab lobby with ID "<ID>", ConnectionString "<redacted>" and owned by "<redacted>"
03/28/2023 20:03:11: Session "My server" registered with join code <joinCode>
03/28/2023 20:03:11: Retry join-code check 99
03/28/2023 20:03:12: Session "My server" with join code <joinCode> and IP <redacted>:2456 is active with 0 player(s)
My theory was that there was something on my network that was perhaps blocking the PlayFab networking back end from working, but this pretty much rules that theory out.
I've attached a screenshot of my container config, in case you want to take a look, but I'm pretty confident that there isn't anything wrong with it. As, like I said, it works fine until you add the '-crossplay' paramater to the GAME_PARAMS field.
I'm completely stumped at this point, so if there's anything you can think of that would help I would be extremely grateful!
Thanks in advance!