Stop getting kicked to login on transient API errors — Seerr patch in 1.5.72
Posted by tomspark
Seerr's React frontend had a useEffect that redirected to /login on ANY SWR error — a slow sync, a network blip, even a transient 500. Your session was fine, but the page bounced you out mid-request. I found the same bug upstream in Jellyseerr and Overseerr, so it's baked into their shared code. In 1.5.72, I added a post-hook script that patches the Seerr bundle at startup. It replaces the hard redirect with a silent console.warn, so real 401s still log you out via axios, but transient errors don't. The patch is idempotent and re-applies automatically when you update the Seerr image. What you'll see: - No more phantom redirects when the API hiccups - Session stays alive while you're browsing - Real session expiration still works (actual 401s still kick you out) - Verified on Brave and Chrome with Playwright tests Head to the Updates tab in your dashboard to pull 1.5.72. If you hit issues, post here in d/sparkbox. --- Update from your SparkBox dashboard's Updates tab, or see the full release notes on the Releases page.