Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web Interface failing with Internal Server Error #1859

Open
rjhancock opened this issue Feb 18, 2023 · 0 comments
Open

Web Interface failing with Internal Server Error #1859

rjhancock opened this issue Feb 18, 2023 · 0 comments

Comments

@rjhancock
Copy link

We've been using Rescue for several years now and never really had any issues with it so great job on that. Lately we've been having an odd issue that we're still a bit flummoxed on as we're not sure HOW it's happening.

Redis 7.0.8
Resque 2.4.0
Resque Pool 0.7.0
Resque Scheduler 4.8.0
ActiveScheduler 0.7.0
Ruby 3.0.0

In our setup, before we queue a task we loop through all queues and see if it's currently queued up somewhere, including the failure queue that we will retry every 30 minutes. Somehow an empty string is being added to the failure queue list in Redis and the system crashes with a JSONParse error. I'm still trying to figure out how that is happening.

I can try to submit a PR to have a safety fix for checking for an empty string but it would take time to hunt down where the best place would be for it as it only occurs on the failure queue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant