Closed baconinthemorn closed 2 years ago
I have the same configuration. V+ was installed via LGSM command mod-install. I have no problems. However, I use a local server at my home.
Damn, well that's good to know at least! I guess I could go full send and just rebuild the instance with a new storage volume to start from scratch with a fresh install of LGSM, Valheim, then the mod... but that's a bit more heavy handed than I'd like to go unless it's the only option as I'd have to migrate any world files and configs
Are all dependencies installed? libc6-dev for example?
Yeah, I verified it was installed:
libc6-dev is already the newest version (2.35-0ubuntu3.1).
I just spun up a new (fresh) instance completely from scratch and the same behavior is taking place with this new instance as well, completely fresh LGSM + Valheim + Valheim+, only enabled the torch mod via valheim_plus.cfg
. Super strange... it doesn't even seem to give an error, just looks like a stop command (C^) is issued in the console without any prodding:
11/03/2022 15:23:12: Placed locations in zone -5,-7 duration 1.497 ms
11/03/2022 15:23:12: Placed locations in zone -5,-5 duration 2.386 ms
11/03/2022 15:23:13: Placed locations in zone -5,-3 duration 13.665 ms
^C11/03/2022 15:26:47: Game - OnApplicationQuit
11/03/2022 15:26:47: Shuting down
11/03/2022 15:26:47: ZNet Shutdown
Well I found a fix! After more digging into log files I noticed output stating the MONITOR was making several attempts to query via gsquery and eventually restarting the server due to failures:
Nov 04 04:20:04.539 vhserver: MONITOR: INFO: Checking session: CHECKING
Nov 04 04:20:05.549 vhserver: MONITOR: PASS: Checking session: OK
Nov 04 04:20:05.553 vhserver: MONITOR: INFO: gamedig is not installed
Nov 04 04:20:05.558 vhserver: MONITOR: INFO: https://docs.linuxgsm.com/requirements/gamedig
Nov 04 04:20:06.565 vhserver: MONITOR: INFO: Querying port: gsquery: <IP_ADDRESS>:2457 : 1 : QUERYING
Nov 04 04:20:12.635 vhserver: MONITOR: WARN: Querying port: gsquery: <IP_ADDRESS>:2457 : 1: FAIL
Nov 04 04:20:28.698 vhserver: MONITOR: INFO: Querying port: gsquery: <IP_ADDRESS>:2457 : 2 : QUERYING
Nov 04 04:20:34.751 vhserver: MONITOR: WARN: Querying port: gsquery: <IP_ADDRESS>:2457 : 2: FAIL
Nov 04 04:20:50.806 vhserver: MONITOR: INFO: Querying port: gsquery: <IP_ADDRESS>:2457 : 3 : QUERYING
Nov 04 04:20:56.861 vhserver: MONITOR: WARN: Querying port: gsquery: <IP_ADDRESS>:2457 : 3: FAIL
Nov 04 04:21:12.915 vhserver: MONITOR: INFO: Querying port: gsquery: <IP_ADDRESS>:2457 : 4 : QUERYING
Nov 04 04:21:18.985 vhserver: MONITOR: WARN: Querying port: gsquery: <IP_ADDRESS>:2457 : 4: FAIL
Nov 04 04:21:35.041 vhserver: MONITOR: INFO: Querying port: gsquery: <IP_ADDRESS>:2457 : 5 : QUERYING
Nov 04 04:21:41.106 vhserver: MONITOR: WARN: Querying port: gsquery: <IP_ADDRESS>:2457 : 5: FAIL
Nov 04 04:21:42.112 vhserver: MONITOR: WARN: Querying port: gsquery: <IP_ADDRESS>:2457 : 5: FAIL
Nov 04 04:21:42.118 vhserver: MONITOR: INFO: Sending alert: Restarted: vhserver
Nov 04 04:21:43.587 vhserver: STOP: INFO: Graceful: CTRL+c
Nov 04 04:21:50.658 vhserver: STOP: PASS: Graceful: CTRL+c: OK: 5 seconds
Nov 04 04:21:51.571 vhserver: START: INFO: Using anonymous Steam login
Nov 04 04:21:52.326 vhserver: START: INFO: Rotating log files
So I updated my configs to a different query option and I was able to play for 1+ hour uninterrupted last night. Here is the snippet I added to ~/lgsm/config-lgsm/vhserver/vhserver.cfg
## Query mode
# 1: session only
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp
querymode="1" # Set this to 1 instead of "2"
querytype="protocol-valve"
Back in action with the V+ mod enabled. Hope this helps anyone else in a similar situation! Thank you to @Angeal87 for considering options with me.
Describe the bug
I am hosting my Valheim server on AWS (Linux-Ubuntu) installed via LGSM (https://linuxgsm.com/servers/vhserver/). I have installed Valheim+ using the LGSM command
mods-install
to install the mod and the install itself seems to go just fine. I have installed V+ on my localhost (client) and I am able to connect successfully to my server.After a few minutes, I begin to see a connection problem icon in the top left of my HUD (in game) and eventually get Disconnected from the server. After further reviewing my server logs, it appears something is issuing an exit command or an error is causing the server to stop and LGSM restarts the server (allowing me to log back in immediately).
To Reproduce
Steps for the devs to reproduce the behavior:
mod-install
commandstart_server_bepinex.sh
Expected behavior
Remain connected to server without restart/disconnect
Troubleshooting
Screenshots
Additional context
I have no other mods installed at all, just a vanilla installation via LGSM hosted on AWS EC2 t3.medium instance. Any insight or feedback would be greatly appreciated. I play this game with my father and we would love to make use of some of the quality of life features this mod provides (especially a shared map). If I uninstall the mod and play normal vanilla I am not observing this issue at all.