Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

How to handle fatal errors and processor stopping #200

Open
axsuul opened this issue Feb 24, 2023 · 0 comments
Open

How to handle fatal errors and processor stopping #200

axsuul opened this issue Feb 24, 2023 · 0 comments

Comments

@axsuul
Copy link

axsuul commented Feb 24, 2023

Sometimes I will occasionally get Plex auth errors. When this happens, Autoscan's processor sleeps indefinitely and I have to restart it to get it to process again

Feb 23 20:32:58 ERR Fatal error occurred while processing targets, processor stopped, triggers will continue... error="scan: invalid plex token: 401 Unauthorized: fatal error"

Should we have the processor instead retry whenever an error like this occurs? Otherwise it seems like the only solution is to just restart Autoscan every few hours so it doesn't get stuck whenever it encounters an error — or perhaps the healthcheck endpoint should return failing whenever this happens?

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

No branches or pull requests

1 participant