lloesche / valheim-server-docker

Valheim dedicated gameserver with automatic update, World backup, BepInEx and ValheimPlus mod support
https://hub.docker.com/r/lloesche/valheim-server
Apache License 2.0
1.89k stars 269 forks source link

Playfab/crossplay issue #691

Open ArrowPrint opened 3 weeks ago

ArrowPrint commented 3 weeks ago

Hello, I have been facing issue of Playfab not connecting, getting the following log

Jun 24 17:39:50 supervisord: valheim-server 06/24/2024 17:39:50: PlayFab reconnect server 'xxxxx'
Jun 24 17:39:50 supervisord: valheim-server 06/24/2024 17:39:50: Server 'OurOwnValhalla' begin PlayFab create and join network for server 

I have gone through the previous issues and posts on reddit and installed apt-get update && apt-get install -y libpulse-dev libatomic1 libc6

using bash

This server did work for about an hour or 2 then i was updating the discord webhooks, it just stopped working. Is there something iam missing?

Following is my env variables

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
DEBIAN_FRONTEND=noninteractive
PUID=1000
PGID=1000
TZ=Europe/Rome
SERVER_NAME=xxxx
WORLD_NAME=xxxx
SERVER_PASS=xxxxx
SERVER_PUBLIC=true
BACKUPS_MAX_AGE=30
SUPERVISOR_HTTP=true
SUPERVISOR_HTTP_PORT=9001
SUPERVISOR_HTTP_USER=admin
SUPERVISOR_HTTP_PASS=xxxxxx
SERVER_ARGS=-crossplay
VALHEIM_PLUS=false
DISCORD_WEBHOOK=https://discord.com/api/webhooks/xxxxxxx
DISCORD_MESSAGE=Starting Valheim server
PRE_BOOTSTRAP_HOOK=curl -sfSL -X POST -H "Content-Type: application/json" -d "{\"username\":\"Valheim\",\"content\":\"$DISCORD_MESSAGE\"}" "$DISCORD_WEBHOOK"
VALHEIM_LOG_FILTER_CONTAINS_Spawned=Got character ZDOID from
ON_VALHEIM_LOG_FILTER_CONTAINS_Spawned={ read l; l=${l//*ZDOID from /}; l=${l// :*/}; msg="Player $l spawned into the world"; curl -sfSL -X POST -H "Content-Type: application/json" -d "{\"username\":\"Valheim\",\"content\":\"$msg\"}" "$DISCORD_WEBHOOK"; }
VALHEIM_LOG_FILTER_CONTAINS_code=Session "OurValhalla" registered with join code
ON_VALHEIM_LOG_FILTER_CONTAINS_code={ read l; l=${l//*Session "OurValhalla" registered with join code /}; l=${l// :*/}; msg="Join code is $l"; curl -sfSL -X POST -H "Content-Type: application/json" -d "{\"username\":\"Valheim\",\"content\":\"$msg\"}" "$DISCORD_WEBHOOK"; }