“Authentication system not available” error on Status page when Cloudflare Rocket Loader is enabled
Problem
When Rocket Loader is enabled in Cloudflare, the Warracker Status dashboard fails to initialize the authentication system. Instead of loading data, the page shows:
Error Loading Dashboard Authentication system not available. Please refresh the page. Error: Authentication system not available. Please refresh the page. at fetchStatistics (status.js:107:19) at initDashboard (status.js:608:28)
Reproduction
- Deploy Warracker and enable Cloudflare Rocket Loader on the domain.
- Open Status page.
- Observe the red error card:
Error Loading Dashboard
Authentication system not available. Please refresh the page.
at fetchStatistics (status.js:107:19)
at initDashboard (status.js:608:28)
- In Chrome DevTools console you’ll see:
console.log('window.auth exists:', !!window.auth); // false
console.error('Auth object not available. Make sure auth.js is loaded before status.js');
- Disable Rocket Loader in Cloudflare dashboard → reload Status page → authentication loads correctly and statistics display as expected.
Thanks for bringing it to my attention, does it work when you disable rocket loader for the domain?
Yes – disabling Rocket Loader and then purging Cloudflare’s cache made it reliably load every time. You might fix this issue by adding data-cfasync="false" to your