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

Incorrect URL Handling: /%2F/ Becomes / Causing 404 Errors with RabbitMQ #12602

Open
Brolywood opened this issue Jan 8, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Brolywood
Copy link

Describe the bug

When configuring RabbitMQ behind Authentik as a proxy provider, accessing a queue in RabbitMQ provides a link such as:
https://app-url/api/queues/%2F/MYChannelCreated?lengths_age=60&lengths_incr=5&msg_rates_age=60&msg_rates_incr=5&data_rates_age=60&data_rates_incr=5
However, Authentik responds with a 301 redirect, removing the "%2F". The new location provided is /api/queues/MYChannelCreated?lengths_age=60&lengths_incr=5&msg_rates_age=60&msg_rates_incr=5&data_rates_age=60&data_rates_incr=5, which results in a 404 error for RabbitMQ as it does not recognize this path.

To Reproduce
Steps to reproduce the behavior:

  1. Configure RabbitMQ behind Authentik as a proxy provider.
  2. Access a queue in RabbitMQ.
  3. Observe the link provided and the resulting 301 redirect from Authentik.
  4. Notice the 404 error due to the modified path.

Expected behavior
The expected behavior is that Authentik should maintain the "%2F" in the redirect link, allowing RabbitMQ to correctly recognize and access the specified queue.

Version and Deployment (please complete the following information):

  • authentik version: 2024.12.1
  • Deployment: docker-compose

Additional context
This issue has been previously raised but remains unresolved and closed automatically due to inactivity, as seen in this issue. #7172

@Brolywood Brolywood added the bug Something isn't working label Jan 8, 2025
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

1 participant