mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-25 14:15:59 +03:00
[GH-ISSUE #1674] Discord alerts failing for ut99server #1301
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#1301
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 @jrmain on GitHub (Oct 28, 2017).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1674
Originally assigned to: @dgibbs64 on GitHub.
When I use test-alert to check Discord alert functionality, I get this:
[ FAIL ] Alert ut99-server: Sending Discord alert: {"code": 50006, "message": "Cannot send an empty message"}I followed the instructions at https://github.com/GameServerManagers/LinuxGSM/wiki/Discord to create the Webhook and updated the server script to enable Discord alerts, but it's not working as expected.
Any ideas?
@gamersalpha commented on GitHub (Nov 6, 2017):
Hello yes
try this :
edit this files :
nano lgsm/config-lgsm/arkserver/common.cfgadding this line :
servername="ark-server-ubuntu"like this :
https://gist.github.com/gamersalpha/f27370566023c21af16bf6cebfad434a
and now the that"s works :)
[ OK ] Alert arkserver: Sending Discord alerti have the same error and i fix it like this
https://github.com/GameServerManagers/LinuxGSM/issues/1680
@jrmain commented on GitHub (Nov 6, 2017):
@gamersalpha I tried something similar for the UT99 server, but it didn't seem to help. For your server, where did the value for servername come from?
@abortizjr commented on GitHub (Nov 22, 2017):
I'm getting the same message. I put the servername in the common.cfg and it still didn't work.
@abortizjr commented on GitHub (Nov 22, 2017):
For the record, I have a UT2k4 server running on the same box and it sends Discord alerts just fine.
I also have a KF2 server on a separate box that sends Discord alerts just fine.
So there seems to be something different with the UT99 implementation.
@jrmain commented on GitHub (Nov 22, 2017):
Confirmed that Discord alerts work fine with my UT2K4 server on the same box. Still not working for the UT99 server.
@UltimateByte commented on GitHub (Nov 22, 2017):
Please, follow the minimum requirements to report an issue.
https://github.com/GameServerManagers/LinuxGSM/wiki/Support
@jrmain commented on GitHub (Nov 22, 2017):
Game server: UT99
Postdetails produces this:
Context: trying to get Discord alerts working. Followed the instructions at https://github.com/GameServerManagers/LinuxGSM/wiki/Discord, which worked fine for UT2K4. Running the test-alert command produces this:
Linux distro/version: Ubuntu Linux 14.04.5
Kernel info: Linux foghorn 3.13.0-135-generic #184-Ubuntu SMP Wed Oct 18 11:55:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Glibc version: ldd (Ubuntu EGLIBC 2.19-0ubuntu6.13) 2.19
TMux version: tmux 2.0
Log excerpts: none that seem relevant
Screenshot: n/a
Server hardware:
CPU: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz, 8 cores
RAM: 8 GB
Storage: 450 GB
Bandwidth: 25 Mbps down; 5 Mbps up
Tests tried: I tried the fix suggested by gamersalpha above, but it didn't help.
@UltimateByte commented on GitHub (Nov 22, 2017):
Thanks
"Unable to create temporary file" > Permission issue? Directory with spaces issues?
Can you please make sure that you eliminated these two possible sources of issues and try postdetails again?
@jrmain commented on GitHub (Nov 23, 2017):
No directories with spaces in them. All the files are in /home/ut99server, everything runs as ut99server, and that user appears to have full permissions over all its files.
The 'details' command works fine, but I guess you would prefer a link to the postdetails output.
The tmp directory (/tmp/user/1010) is writeable.
It seems like maybe I'm missing some functionality related to posting information on the web. Or possibly the ut99server user needs additional permissions.
@jrmain commented on GitHub (Nov 23, 2017):
The postdetails.sh script seems to be expecting postdetailslog to have a value, but I don't see it being set anywhere. My UT2K4 server's postdetails command does the same thing, by the way.
@UltimateByte commented on GitHub (Nov 23, 2017):
Oh, maybe there is a bogus here, where a variable is missing for ut99, we need to check that out.
Awaiting for that, you can use the details command and manually post it to hastebin while masking off sensitive information, if any.
@jrmain commented on GitHub (Nov 23, 2017):
https://hastebin.com/tapaqefube.sql
@UltimateByte commented on GitHub (Nov 23, 2017):
Wondering... Is there any firewall?
@jrmain commented on GitHub (Nov 23, 2017):
There are various firewalls and other security measures in place on the server and elsewhere. I suppose the Linux server's firewall could be configured to block traffic going from the server to Discord's API, but doesn't that traffic just look like web traffic? In any case, the UT2K4 server on the same machine doesn't have the same problem with Discord alerts. I get the feeling that there's a setting missing or misconfigured for the UT99 server.
@dgibbs64 commented on GitHub (Jun 13, 2018):
Made some fixes to both gamedig and also this
496ace3d0eThe issue should be fixed on next release
@jrmain commented on GitHub (Jul 19, 2018):
Confirmed fixed.
@lock[bot] commented on GitHub (Nov 18, 2019):
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.