getwud / wud

WUD (aka What's up Docker?) gets you notified when a new version of your Docker Container is available.
https://getwud.github.io/wud/
MIT License
1.28k stars 39 forks source link

Periodic Blank Page when behind Cloudflare Zero Trust and Cloudflared Proxy #429

Open jtitley opened 2 months ago

jtitley commented 2 months ago

If WUD is behind Cloudflared, when the auth token needs to be renewed for Zero Trust (Google in this case), I get a blank page. It's strange, no other application has this issue. If I clear cookies, all is well.

<!doctype html>What's up Docker?...

jtitley commented 2 months ago

It appears to be a caching issue and an attempt by CloudFlare to direct to login page when fetching a JS file. I don't know how other applications manage this.

I suspect it's not just CloudFlare, but any reverse proxy has this issue with WUD.

jtitley commented 2 months ago

Accessing /favicon.ico triggers reverse proxy login page and then hitting F5 on the blank page solves the issue. Is there any way to tweak the main page to work with reverse proxies?

lmrts commented 1 week ago

I see the same behavior with traefik+authentik+wud without auth enabled, and indeed visiting https://wud//favicon.ico solves the problem temporarily.