forked from darkalfx/requestrr
-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Discord Bot 404s on Interaction & Restart Loop (v2.1.7)
Describe the bug
Requestrr (v2.1.7) running in Docker is experiencing issues with its Discord bot functionality:
- Discord Bot Interaction Failures (404 Not Found): Critical errors occur when the Discord bot tries to respond to slash commands (e.g., movie search). The log shows
DSharpPlus.Exceptions.NotFoundException: Not found: 404when callingCreateInteractionResponseAsync. This prevents any successful interaction with the bot. - Bot Restart Loop: The logs show repeated cycles of "Bot configuration changed: restarting bot" and "Bot has been restarted," which seems to be linked to the Discord bot's inability to function correctly or maintain a stable connection.
To Reproduce
Steps to reproduce the behavior:
Attempt to use a Discord slash command (e.g., /movie search title <movie_name>).
Screenshots/Logs
Starting Requestrr - build 'v2.1.7'
warn: Requestrr.WebApi.RequestrrBot.ChatBot[0]
Bot configuration changed: restarting bot
Hosting environment: Production
Content root path: /root
Now listening on: http://[::]:4545
Application started. Press Ctrl+C to shut down.
warn: Requestrr.WebApi.RequestrrBot.ChatBot[0]
Bot has been restarted.
Application is shutting down...
Starting Requestrr - build 'v2.1.7'
Hosting environment: Production
Content root path: /root
Now listening on: http://[::]:4545
Application started. Press Ctrl+C to shut down.
warn: Requestrr.WebApi.RequestrrBot.ChatBot[0]
Bot configuration changed: restarting bot
warn: Requestrr.WebApi.RequestrrBot.ChatBot[0]
Bot has been restarted.
warn: Requestrr.WebApi.RequestrrBot.ChatBot[0]
Bot configuration changed: restarting bot
No temp folder found, creating one...
warn: Requestrr.WebApi.RequestrrBot.ChatBot[0]
Bot has been restarted.
fail: Requestrr.WebApi.RequestrrBot.ChatBot[0]
Error while searching movies with title mortal engines : Not found: 404
DSharpPlus.Exceptions.NotFoundException: Not found: 404
at DSharpPlus.Net.DiscordApiClient.CreateInteractionResponseAsync(UInt64 interaction_id, String interaction_token, InteractionResponseType type, DiscordInteractionResponseBuilder builder)
at Requestrr.WebApi.RequestrrBot.SlashCommands.RequestGroup.MovieByTitle99999(InteractionContext ctx, String movieTitle)
fail: Requestrr.WebApi.RequestrrBot.ChatBot[0]
Error while searching movies with title conclave : Not found: 404
DSharpPlus.Exceptions.NotFoundException: Not found: 404
at DSharpPlus.Net.DiscordApiClient.CreateInteractionResponseAsync(UInt64 interaction_id, String interaction_token, InteractionResponseType type, DiscordInteractionResponseBuilder builder)
at Requestrr.WebApi.RequestrrBot.SlashCommands.RequestGroup.MovieByTitle99999(InteractionContext ctx, String movieTitle)
fail: Requestrr.WebApi.RequestrrBot.ChatBot[0]
Error while searching movies with title mortal engines : Not found: 404
DSharpPlus.Exceptions.NotFoundException: Not found: 404
at DSharpPlus.Net.DiscordApiClient.CreateInteractionResponseAsync(UInt64 interaction_id, String interaction_token, InteractionResponseType type, DiscordInteractionResponseBuilder builder)
at Requestrr.WebApi.RequestrrBot.SlashCommands.RequestGroup.MovieByTitle99999(InteractionContext ctx, String movieTitle)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working