Warracker icon indicating copy to clipboard operation
Warracker copied to clipboard

“Authentication system not available” error on Status page when Cloudflare Rocket Loader is enabled

Open Zzackllack opened this issue 1 year ago • 9 comments

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

  1. Deploy Warracker and enable Cloudflare Rocket Loader on the domain.
  2. Open Status page.
  3. 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)
  1. 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');
  1. Disable Rocket Loader in Cloudflare dashboard → reload Status page → authentication loads correctly and statistics display as expected.

Zzackllack avatar May 01 '25 01:05 Zzackllack

Thanks for bringing it to my attention, does it work when you disable rocket loader for the domain?

sassanix avatar May 01 '25 01:05 sassanix

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

Owner


Other Repo Issues