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] Entering admin with https generates many errors #850

Open
rafleze opened this issue Jun 10, 2024 · 1 comment
Open

[BUG] Entering admin with https generates many errors #850

rafleze opened this issue Jun 10, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@rafleze
Copy link
Contributor

rafleze commented Jun 10, 2024

I deployed a cat instance on a server where kubernetes orchestrates the service. I added the CORE_USE_SECURE_PROTOCOLS=true parameter but when I navigate the admin I have many errors.

Screenshot 2024-06-10 alle 10 53 10

the problem is that in the endpoint called without the slash. when it redirects it breaks because it does it in http

image

Maybe the solution is explained at this link: https://stackoverflow.com/questions/63511413/fastapi-redirection-for-trailing-slash-returns-non-ssl-link

At the moment I solved the problem adding this parameter: FORWARDED_ALLOW_IPS

But I suppose that the redirect could be avoided adding "/" at the end of the url.

@rafleze rafleze added the bug Something isn't working label Jun 10, 2024
@zAlweNy26
Copy link
Member

Can you try this PR #837 and tell us if the problem persists?

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

2 participants