darkalfx / requestrr

Requestrr is a chatbot used to simplify using services like Sonarr/Radarr/Ombi via the use of chat. Current platform is Discord only, but the bot was built around the ideology of quick adaptation for new features as well as new platforms.
MIT License
865 stars 101 forks source link

Error while searching movies with title #128

Open sirmaestro opened 2 years ago

sirmaestro commented 2 years ago

Getting this error when requesting movie

I can request other movies such as "apex" and "army of thieves" fine. But for some reason it has trouble processing "dawn of the dead".

Environment: Docker Version: 2.1.1

[41mfail: Requestrr.WebApi.RequestrrBot.ChatBot[0]
Error while searching movies with title dawn of the dead : Bad request: 400
DSharpPlus.Exceptions.BadRequestException: Bad request: 400
at DSharpPlus.Net.DiscordApiClient.EditWebhookMessageAsync(UInt64 webhook_id, String webhook_token, String message_id, DiscordWebhookBuilder builder, IEnumerable`1 attachments)
at DSharpPlus.Entities.DiscordInteraction.EditOriginalResponseAsync(DiscordWebhookBuilder builder, IEnumerable`1 attachments)
at Requestrr.WebApi.RequestrrBot.ChatClients.Discord.DiscordMovieUserInterface.ShowMovieSelection(MovieRequest request, IReadOnlyList`1 movies) in D:\Dev\Requestrr\requestrr\Requestrr.WebApi\RequestrrBot\ChatClients\Discord\DiscordMovieUserInterface.cs:line 31
at Requestrr.WebApi.RequestrrBot.Movies.MovieRequestingWorkflow.SearchMovieAsync(String movieName) in D:\Dev\Requestrr\requestrr\Requestrr.WebApi\RequestrrBot\Movies\MovieRequestingWorkflow.cs:line 41
at Requestrr.WebApi.RequestrrBot.SlashCommands.RequestGroup.MovieByTitle99999(InteractionContext ctx, String movieTitle)
[2021-11-06 00:05:22 +13:00] [104 /EventHandler] [Warn ] An event handler for COMPONENT_INTERACTED took too long to execute. Defined as "DiscordComponentInteractionCreatedHandler(DSharpPlus.DiscordClient, DSharpPlus.EventArgs.ComponentInteractionCreateEventArgs)" located in "Requestrr.WebApi.RequestrrBot.ChatBot".
Excelling-At-Excel commented 1 year ago

@sirmaestro Were you ever able to find a resolution to this error?

sirmaestro commented 1 year ago

No, I still get this error to this day. Maybe something wrong with the metadata for this movie?

Exor-o7 commented 1 year ago

Encountered this error when requesting "american president". Requestrr version 2.1.2

owenselles commented 1 year ago

same getting when trying the fast x

soulphish commented 1 year ago

I am getting this error with "hitchhikers guide to the galaxy" Requestrr version 2.1.2

Exor-o7 commented 1 year ago

I was able to work around this by replacing Sonarr/Radarr to Overseerr in Requestrr. No longer getting that error. I think there's something broken when requesting directly to Sonarr/Radarr for some titles.

SrDu001 commented 8 months ago

Im getting this error suddenly with EVERY request, was working fine days ago.

obadaahmar commented 8 months ago

@SrDu001 Samething happened to my setup, have you found a solution from your end?

spicerackk commented 8 months ago

Noticed the same issue today myself, although I have been having issues with it working for the last 2 months or so but hadn't had time to sit down and look at what was happening.

I'm getting the below:

fail: Requestrr.WebApi.RequestrrBot.ChatBot[0] Error while searching movies with title planes, trains and automobiles : Bad request: 400 DSharpPlus.Exceptions.BadRequestException: Bad request: 400 at DSharpPlus.Net.DiscordApiClient.EditWebhookMessageAsync(UInt64 webhook_id, String webhook_token, String message_id, DiscordWebhookBuilder builder, IEnumerable`1 attachments) at DSharpPlus.Entities.DiscordInteraction.EditOriginalResponseAsync(DiscordWebhookBuilder builder, IEnumerable`1 attachments) at Requestrr.WebApi.RequestrrBot.ChatClients.Discord.DiscordMovieUserInterface.ShowMovieSelection(MovieRequest request, IReadOnlyList`1 movies) in D:\Dev\Requestrr\requestrr\Requestrr.WebApi\RequestrrBot\ChatClients\Discord\DiscordMovieUserInterface.cs:line 31 at Requestrr.WebApi.RequestrrBot.Movies.MovieRequestingWorkflow.SearchMovieAsync(String movieName) in D:\Dev\Requestrr\requestrr\Requestrr.WebApi\RequestrrBot\Movies\MovieRequestingWorkflow.cs:line 41 at Requestrr.WebApi.RequestrrBot.SlashCommands.RequestGroup.MovieByTitle0(InteractionContext ctx, String movieTitle)

warn: Requestrr.WebApi.RequestrrBot.ChatBot[0] Bot has been restarted.

The last line is concerning, it appears to me with my limited knowledge that Requestrr is restarting after each failed request.

All it shows in Discord is Request Bot | Sending.....

Bicravland commented 8 months ago

Getting the same error as mentionned above since yesterday night

basvroegop commented 8 months ago

Tagging along, started getting the same error today. Figured it had to do with the recent update on Docker, but it persists after rolling back to the previous version.

cjannusch commented 8 months ago

Tagging along to say I am having this happen as of today too. Tried a rollback and didn't have any luck, maybe a change with the discord api?

SrDu001 commented 8 months ago

@SrDu001 Samething happened to my setup, have you found a solution from your end?

Yes, I was using the latest version on Docker hub from linuxserver but I did not notice was deprecated. So I changed in my docker-compose file from lscr.io/linuxserver/requestrr:latest to darkalfx/requestrr:latest and now i have the version 2.1.3

The version 2.1.2 says © 2024 Requestrr (v2.1.2) on the frontend which may lead to think it's the latest version

image

obadaahmar commented 8 months ago

Forcing an update to the container fixed the issue for me.

zanthium commented 8 months ago

Lmao happy to see all of us running into this at the same time and realizing there was an update. I just pushed the new update and it fixed it. I was going to post here however SrDu001 and obadaahmar beat me to it.

mayur2281 commented 8 months ago

Yes faced the same issue yesterday, fixed it by updating.