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.94k stars 272 forks source link

Peer 76561197973359387 has wrong password #411

Closed GuerrillaCoder closed 3 years ago

GuerrillaCoder commented 3 years ago

Whatever I do I am unable to load my world in dedicated server.

This is my compose:

version: "3.7"

services:
  valheim-server:
    cap_add:
      - sys_nice
    image: ghcr.io/lloesche/valheim-server:latest
    ports:
      - "2456-2457:2456-2457/udp"
    volumes:
      - "/docker/valheim/config:/config"
      - "/docker/valheim/data:/opt/valheim"
    environment:
      - SERVER_NAME:myserver
      - WORLD_NAME:Worldname
      - SERVER_PASS:mypass
    restart: always
    stop_grace_period: 2m

I have uploaded my world file to /docker/valheim/data/worlds and set worldname to the name of db file without extension.

What have I done wrong? It always says wrong password. It seems to be connecting fine because I can see the message in docker console:

Peer 76561197973359387 has wrong password

GuerrillaCoder commented 3 years ago

My environment vars were formatted incorectly

Gonellarro commented 1 year ago

My environment vars were formatted incorectly

Can you write down the correct format, please? I have the same issue. I'm using Proxmox, Portainer and everything works fine but the password.

Dec 22 20:41:58 supervisord: valheim-server 12/22/2022 20:41:58: Got status changed msg k_ESteamNetworkingConnectionState_Connecting Dec 22 20:41:58 supervisord: valheim-server 12/22/2022 20:41:58: New connection Dec 22 20:41:58 supervisord: valheim-server 12/22/2022 20:41:58: Accepting connection k_EResultOK Dec 22 20:41:58 supervisord: valheim-server 12/22/2022 20:41:58: Connecting to Steamworks.SteamNetworkingIdentity Dec 22 20:41:58 supervisord: valheim-server 12/22/2022 20:41:58: Got status changed msg k_ESteamNetworkingConnectionState_Connected Dec 22 20:41:58 supervisord: valheim-server 12/22/2022 20:41:58: Connected Dec 22 20:41:58 supervisord: valheim-server 12/22/2022 20:41:58: Got connection SteamID 76561198157468325 Dec 22 20:41:58 supervisord: valheim-server 12/22/2022 20:41:58: Got handshake from client 76561198157468325 Dec 22 20:42:14 supervisord: valheim-server 12/22/2022 20:42:14: VERSION check their:0.212.9 mine:0.212.9 Dec 22 20:42:14 supervisord: valheim-server 12/22/2022 20:42:14: Peer 76561198157468325 has wrong password Dec 22 20:42:14 supervisord: valheim-server 12/22/2022 20:42:14: RPC_Disconnect Dec 22 20:42:14 supervisord: valheim-server 12/22/2022 20:42:14: Disposing socket Dec 22 20:42:14 supervisord: valheim-server 12/22/2022 20:42:14: Closing socket 76561198157468325