Page 1 of 1

seit update kein Connect mehr

Posted: Tue Nov 04, 2025 4:47 am
by Mulano77
Seit dem Update connectet der Bot nicht mehr zum Discord.
Code: Select all
2025/11/04 05:39:59 [DG0] voice.go:107:Speaking() Speaking() write json error, websocket: close sent
time="2025-11-04T05:41:20+01:00" level=info msg="Reconnecting to last voice channel: Channel Name: IUmusic | Channel ID: 1387775319917854880 | Guild ID: 1296240293443534858"
time="2025-11-04T05:41:20+01:00" level=error msg="Lost connection to voice server while sending. Waiting for connection."
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x6aabb3]

goroutine 79 [running]:
main.checkForChannelSwitchCommandThread()
/root/Discord_TS3MusicBot_Client_Build_Script/cmd/bot/bot.go:1861 +0xd73
created by main.onReady
/root/Discord_TS3MusicBot_Client_Build_Script/cmd/bot/bot.go:718 +0x1b78
time="2025-11-04T05:41:21+01:00" level=info msg="Found custom default text channel ID: 1434536941185007779"
time="2025-11-04T05:41:21+01:00" level=info msg="Starting discord session..."
time="2025-11-04T05:41:22+01:00" level=info msg="TS3MusicBot is ready to play."
time="2025-11-04T05:41:22+01:00" level=info msg="Recieved READY payload"
time="2025-11-04T05:41:25+01:00" level=info msg="Fetching channels..."
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x6a523b]

goroutine 12 [running]:
main.onReady(0xc0000a3500, 0xc000110060)
/root/Discord_TS3MusicBot_Client_Build_Script/cmd/bot/bot.go:761 +0x43b
github.com/bwmarrin/discordgo.readyEventHandler.Handle(0x0, 0x0, {0x709b20, 0xc000110060})
/root/work/src/github.com/bwmarrin/discordgo/eventhandlers.go:1074 +0x38
created by github.com/bwmarrin/discordgo.(*Session).handle
/root/work/src/github.com/bwmarrin/discordgo/event.go:171 +0x172
Versucht habe ich einen Neustart des Bots, gekickt und neu eingeladen auf dem Server, Channelwechsel.
Wird auch nicht mehr in der Discorduserliste angezeigt (macht ja sinn, da er nicht connected)

Update: Connected wieder, spielt aber keine Musik ab. Client LED ist rot und egal was ich mache, es lässt sich nicht ändern. Es kommt nur die Fehlermeldung in der Log:
Code: Select all
2025/11/04 11:20:24 [DG0] voice.go:834:opusSender() error sending speaking packet, websocket: close sent
2025/11/04 11:20:24 [DG0] voice.go:107:Speaking() Speaking() write json error, websocket: close sent