[GH-ISSUE #1680] Discord Message not working - [ FAIL ] Alert arkserver: Sending Discord alert: {"embeds": ["0"]} #1306

Closed
opened 2026-02-27 02:56:25 +03:00 by kerem · 11 comments
Owner

Originally created by @gamersalpha on GitHub (Nov 2, 2017).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1680

Hello,

well i m starting a server Linux with LinuxGSM and i using Discord, so i add my discord conf like u says here -- > https://github.com/GameServerManagers/LinuxGSM/wiki/Discord

i put the configuration on my config files :

nano /home/arkserver/lgsm/config-lgsm/arkserver/arkserver.cfg

# Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord
discordalert="on"
discordwebhook="https://discordapp.com/XXXXXXXXXXXXXXXX"

so when i lunch my server and i try a test :

i have this error :

arkserver@ubuntu:~$ ./arkserver ta
[ WARN ] Alert arkserver: More Info not enabled
[ FAIL ] Alert arkserver: Sending Discord alert: {"embeds": ["0"]}
[ WARN ] Alert arkserver: Email alerts not enabled
[ WARN ] Alert arkserver: IFTTT alerts not enabled
[ WARN ] Alert arkserver: Mailgun alerts not enabled
[ WARN ] Alert arkserver: Pushbullet alerts not enabled
[ WARN ] Alert arkserver: Pushover alerts not enabled
[ WARN ] Alert arkserver: Telegram Messages not enabled

what do u think is wrong please ?

Originally created by @gamersalpha on GitHub (Nov 2, 2017). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1680 Hello, well i m starting a server Linux with LinuxGSM and i using Discord, so i add my discord conf like u says here -- > https://github.com/GameServerManagers/LinuxGSM/wiki/Discord i put the configuration on my config files : ` nano /home/arkserver/lgsm/config-lgsm/arkserver/arkserver.cfg` ``` # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="on" discordwebhook="https://discordapp.com/XXXXXXXXXXXXXXXX" ``` so when i lunch my server and i try a test : i have this error : ``` arkserver@ubuntu:~$ ./arkserver ta [ WARN ] Alert arkserver: More Info not enabled [ FAIL ] Alert arkserver: Sending Discord alert: {"embeds": ["0"]} [ WARN ] Alert arkserver: Email alerts not enabled [ WARN ] Alert arkserver: IFTTT alerts not enabled [ WARN ] Alert arkserver: Mailgun alerts not enabled [ WARN ] Alert arkserver: Pushbullet alerts not enabled [ WARN ] Alert arkserver: Pushover alerts not enabled [ WARN ] Alert arkserver: Telegram Messages not enabled ``` what do u think is wrong please ?
kerem 2026-02-27 02:56:25 +03:00
  • closed this issue
  • added the
    type: bug
    label
Author
Owner

@ghost commented on GitHub (Nov 5, 2017):

Anyone have suggestion please

<!-- gh-comment-id:341969116 --> @ghost commented on GitHub (Nov 5, 2017): Anyone have suggestion please
Author
Owner

@gamersalpha commented on GitHub (Nov 6, 2017):

i activate the dev log and i see this :

arkserver@ubuntu:~$ ./arkserver ta
[ WARN ] Alert arkserver: More Info not enabled
[ FAIL ] Alert arkserver: Sending Discord alert: {"embeds": ["0"]}
[ WARN ] Alert arkserver: Email alerts not enabled
[ WARN ] Alert arkserver: IFTTT alerts not enabled
[ WARN ] Alert arkserver: Mailgun alerts not enabled
[ WARN ] Alert arkserver: Pushbullet alerts not enabled
[ WARN ] Alert arkserver: Pushover alerts not enabled
[ WARN ] Alert arkserver: Telegram Messages not enabled

command_test_alert.sh exiting with code: 3
arkserver@ubuntu:~$ tail -f dev-debug.log
+++++ '[' -n ALERT ']'
++++++ date '+%b %d %H:%M:%S.%3N'
+++++ echo -e 'nov. 06 20:16:46.936 arkserver: ALERT: WARN: command_test_alert.sh exiting with code: 3'
+++++ exitcode=3
+++++ fn_exit_dev_debug
+++++ '[' -f /home/arkserver/.dev-debug ']'
+++++ echo ''
+++++ echo 'command_test_alert.sh exiting with code: 3'
+++++ trap - INT
+++++ exit 3
```
`

So i create a shell script who send request to Discrod with linuxGSM and works, so i m looking what is wrong : 


https://gist.github.com/gamersalpha/11179b34cddde5434e3713f73603b699
<!-- gh-comment-id:342255475 --> @gamersalpha commented on GitHub (Nov 6, 2017): i activate the dev log and i see this : ```` arkserver@ubuntu:~$ ./arkserver ta [ WARN ] Alert arkserver: More Info not enabled [ FAIL ] Alert arkserver: Sending Discord alert: {"embeds": ["0"]} [ WARN ] Alert arkserver: Email alerts not enabled [ WARN ] Alert arkserver: IFTTT alerts not enabled [ WARN ] Alert arkserver: Mailgun alerts not enabled [ WARN ] Alert arkserver: Pushbullet alerts not enabled [ WARN ] Alert arkserver: Pushover alerts not enabled [ WARN ] Alert arkserver: Telegram Messages not enabled command_test_alert.sh exiting with code: 3 arkserver@ubuntu:~$ tail -f dev-debug.log +++++ '[' -n ALERT ']' ++++++ date '+%b %d %H:%M:%S.%3N' +++++ echo -e 'nov. 06 20:16:46.936 arkserver: ALERT: WARN: command_test_alert.sh exiting with code: 3' +++++ exitcode=3 +++++ fn_exit_dev_debug +++++ '[' -f /home/arkserver/.dev-debug ']' +++++ echo '' +++++ echo 'command_test_alert.sh exiting with code: 3' +++++ trap - INT +++++ exit 3 ``` ` So i create a shell script who send request to Discrod with linuxGSM and works, so i m looking what is wrong : https://gist.github.com/gamersalpha/11179b34cddde5434e3713f73603b699
Author
Owner

@gamersalpha commented on GitHub (Nov 6, 2017):

ok i found a solution :

edit this files :

nano lgsm/config-lgsm/arkserver/common.cfg

adding 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 alert

i think the problem is discord detect an empty value and refuse to send message.

<!-- gh-comment-id:342269549 --> @gamersalpha commented on GitHub (Nov 6, 2017): ok i found a solution : edit this files : `nano lgsm/config-lgsm/arkserver/common.cfg` adding 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 alert` i think the problem is discord detect an empty value and refuse to send message.
Author
Owner

@dgibbs64 commented on GitHub (Jun 14, 2018):

I think I may of resolved this issue my improving sed to remove carriage returns. This will be in the next release. If it is still an issue please raise a new issue. Thanks for reporting :D

<!-- gh-comment-id:397432021 --> @dgibbs64 commented on GitHub (Jun 14, 2018): I think I may of resolved this issue my improving sed to remove carriage returns. This will be in the next release. If it is still an issue please raise a new issue. Thanks for reporting :D
Author
Owner

@gamersalpha commented on GitHub (Jun 17, 2018):

Hello,
i make a new frech install today on, a ubuntu 18.04
and this bug is still here !!!!

<!-- gh-comment-id:397890656 --> @gamersalpha commented on GitHub (Jun 17, 2018): Hello, i make a new frech install today on, a ubuntu 18.04 and this bug is still here !!!!
Author
Owner

@dgibbs64 commented on GitHub (Jun 17, 2018):

@gamersalpha I haven't completed the next release yet!!!

<!-- gh-comment-id:397890689 --> @dgibbs64 commented on GitHub (Jun 17, 2018): @gamersalpha I haven't completed the next release yet!!!
Author
Owner

@gamersalpha commented on GitHub (Jun 17, 2018):

and i still have not all good information send to discord :

image

missing the IP, is not the good serveur ip

@dgibbs64 ok sorry, but this thread is closed

<!-- gh-comment-id:397890797 --> @gamersalpha commented on GitHub (Jun 17, 2018): and i still have not all good information send to discord : ![image](https://user-images.githubusercontent.com/32466950/41510025-c2488790-725d-11e8-9856-76105f1a9835.png) missing the IP, is not the good serveur ip @dgibbs64 ok sorry, but this thread is closed
Author
Owner

@dgibbs64 commented on GitHub (Jun 17, 2018):

@gamersalpha I haven't completed the next release yet!!!

<!-- gh-comment-id:397890836 --> @dgibbs64 commented on GitHub (Jun 17, 2018): @gamersalpha I haven't completed the next release yet!!!
Author
Owner

@SaintofDiablo commented on GitHub (Jul 29, 2018):

i am also having this issue

<!-- gh-comment-id:408646735 --> @SaintofDiablo commented on GitHub (Jul 29, 2018): i am also having this issue
Author
Owner

@JunTVDE commented on GitHub (Nov 3, 2018):

me too

<!-- gh-comment-id:435573897 --> @JunTVDE commented on GitHub (Nov 3, 2018): me too
Author
Owner

@lock[bot] commented on GitHub (Nov 3, 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.

<!-- gh-comment-id:549122907 --> @lock[bot] commented on GitHub (Nov 3, 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.
Sign in to join this conversation.
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
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#1306
No description provided.