Davoleo / curse-updates

Discord Bot that posts Curseforge mod releases
https://davoleo.net/projects
MIT License
16 stars 6 forks source link

"/updates" Filters form submission is not handled correctly #31

Open VulpTheKangaFox opened 2 weeks ago

VulpTheKangaFox commented 2 weeks ago

General Information

"/schedule" commands causing application to not respond.

Describe the bug: Any command with the "/schedule" prefix is returning "The application did not respond". All other commands seem to work fine.

To Reproduce: Unsure. I did use the "/schedule show" command before any other "/schedule" command if that helps? That first command also failed.

Expected behavior: I'm not sure of expected behaviour, but it would seem obvious that it didn't return this issue.

Additional Information

Screenshots (if available): image

VulpTheKangaFox commented 2 weeks ago

The "/updates" command may also be having issues.

Davoleo commented 2 weeks ago

Seems like the underlying database engine had crashed, and that was breaking all commands that were interacting with it. The crash may have been due to outdated dependencies, I've proceeded to update those and then restarted the process. feel free to tell me if it's still broken in some ways.

VulpTheKangaFox commented 2 weeks ago

Seems to be working now! One thing I'll mention is that it seems to occasionally return the same error, but it does actually go through. Additionally, for some odd reason when the form pops up to fill out game version and mod ID, when sent it doesn't close and mentions that it errored, but the data also still goes through fine so I just cancel out.

Other than those surface-level desyncs it seems to all be functional at least.

Davoleo commented 2 weeks ago

I'll look into it, I did get a DM of an error saying that the interaction didn't exist, I wonder if the timeout for that form may be too low, or there could be something wrong when handling form submission.