mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-25 06:05:57 +03:00
[GH-ISSUE #2977] Monitor command incorrectly detects server as offline #2117
Labels
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/LinuxGSM#2117
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @niekcandaele on GitHub (Jul 22, 2020).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2977
User Story
As a user, I want the monitor command to not restart my server when it is already online
Basic info
uname -aLinux 7D2D-Dev 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u1 (2019-09-20) x86_64 GNU/Linux
Further Information
Set up a cronjob to run monitor, it always restarts the server even though it's online and I can connect to it. In the logs I see this:
Jul 20 21:35:05.414 sdtdserver: MONITOR: INFO: Querying port: gsquery: x.x.x.x:2690026900269052701527020 : 1 : QUERYINGThose ports are pretty much all the ports used by the server, all put together. This makes the query fail
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Monitor command does not restart the server when it is online
@issue-label-bot[bot] commented on GitHub (Jul 22, 2020):
Issue-Label Bot is automatically applying the label
type: bugto this issue, with a confidence of 0.86. Please mark this comment with 👍 or 👎 to give our bot feedback!Links: app homepage, dashboard and code for this bot.
@dgibbs64 commented on GitHub (Jul 22, 2020):
You don't need to change the query port and putting all the ports together is not how it works
@niekcandaele commented on GitHub (Jul 22, 2020):
Yes, I am quite aware that putting ports together like that doesn't work, but that is the behavior of LGSM for me.
Correct me if I am wrong, but LGSM will parse the config file of the server (
serverconfig.xmlin the case of 7D2D) to get ports right? The config file is filled correctly (can connect to the server via the game, can connect to telnet, can connect to web API) but LGSM detects the ports wrong.Worth noting I am running the latest_experimental branch of 7 Days to Die.
See the output of the details command where LGSM also detects the ports incorrectly.
@Grimston commented on GitHub (Jul 23, 2020):
I was unable to replicate the issue, please check the configuration files.
@niekcandaele commented on GitHub (Jul 23, 2020):
Any ones in particular? I left most of it on default afaik
Here are the relevant config files I think, let me know if you need to see any other files
@niekcandaele commented on GitHub (Sep 10, 2020):
I tried removing all my LGSM/server files and reinstalling, no dice. I tried changing the ports but LGSM kept concatenating them like mentioned before.
I have moved on from LGSM and use Docker now, this issue can be closed for my part. Considering nobody else reported it it must be something wrong on my end
@github-actions[bot] commented on GitHub (Sep 11, 2021):
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.