Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Page never loads behind traefik #599

Open
sahara101 opened this issue Aug 31, 2024 · 5 comments
Open

Bug: Page never loads behind traefik #599

sahara101 opened this issue Aug 31, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@sahara101
Copy link

sahara101 commented Aug 31, 2024

What happened?

Hello,

in V3, with traefik labels, the login page never loads. Ib V4 it works as expected.

Version

latest (ghcr.io/diced/zipline or ghcr.io/diced/zipline:latest)

What browser(s) are you seeing the problem on?

No response

Zipline Logs

2024-08-31 11:28:29,402 AM info  [server::response] GET /api/user -> 401

Browser Logs

No response

Additional Info

labels:
     traefik.enable: true
     traefik.http.routers.zipline.entryPoints: https
     traefik.http.routers.zipline.rule: Host(`zipline.mydomain.org`)
     traefik.http.routers.zipline.middlewares: crowdsec@file, error-pages-middleware
     ```
@sahara101 sahara101 added the bug Something isn't working label Aug 31, 2024
@sahara101
Copy link
Author

I noticed that manually navigating to /auth/login works.
But direct URL which goes to /dashboard stays in loading state.

@diced
Copy link
Owner

diced commented Aug 31, 2024

I'm not familiar with traefik, but does it do anything that blocks redirects? When you are not logged in, the /dashboard will redirect you do /auth/login.

And since you said manually navigating to /auth/login worked, does signing in work after that?

@sahara101
Copy link
Author

Yes, signing in works. I am using error-pages with traefik which I saw could block redirects, but I disabled it and it has the same issue. All good with V4 tho.

@Aetherinox
Copy link

I'm having semi the same issue using Traefik v3. But I saw the list of supported OAuth services, so I'm not sure what should be set to allow Traefik instead.

@sahara101
Copy link
Author

sahara101 commented Sep 3, 2024

Traefik is a reverse proxy not an OAuth provider. Normally it shouldn’t matter what kind of reverse proxy one uses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants