wizarrrr / wizarr

Wizarr is an advanced user invitation and management system for Jellyfin, Plex, Emby etc.
https://docs.wizarr.dev
MIT License
1.27k stars 88 forks source link

[Bug] | White Screen of Death #483

Open davidjmorin opened 4 days ago

davidjmorin commented 4 days ago

Are you using the latest release?

Have you checked a bug report doesn't already exist?

What happened?

When users and myself now go to the URL they get a white screen. No data at all. works fine when accessing from IP but doesnt work from URL. invite.mysite.io

Virtualisation

Docker

What operating system are you seeing the problem on?

Linux

What browsers are you seeing the problem on?

Chrome

Project Location

Remote

Bug Description

when a user accesses my url they just get a white screen.

Steps to Reproduce

visit url white screen

Relevant Log Output

No response

davidjmorin commented 4 days ago

my web url is behind nginx proxy manager if that helps.

jtitley commented 1 day ago

Same issue with Cloudflare Zero Trust. Some diagnosis on the client side shows that it's attempting to load JavaScript and connect to socket.io but Cloudflare (or whatever reverse proxy) is redirecting to login but an error is thrown. It's expecting a JS file but Cloudflare is returning a login page.

I don't have this with other applications so it seems to be something with perhaps the login page cached on the browser-side. When you return to the page it won't attempt to refresh. Better would be not to cash this so that the login HTML is refetched. This would cause the reverse proxy to send a login. Just my 2c, I could be wrong.

The temporary fix is to go into browser site settings and delete the cookie and saved pages.

It's possible allowing some URLs through without authentication, but I don't know enough of the application to determine what URLs would work. Obviously the more URLs bypassed means a bigger the security risk.