RabbitMQ Management issue with redirection on backend calls #3217
-
Hello, I'm trying to make a RabbitMQ accessible using the Envoy gateway. However, for some API calls (backend), the Envoy redirects instead of just passing to the service, so the application breaks when, for example, I try to see details about a queue. For example, when using just port forward:
The response be like this:
But when I use the HTTPRoute the response is something like:
I noticed that the Gateway redirects and uses another cookie from the Envoy itself and changes the x-vhost. The GatewayClass and Gateway is the basic, only changing the EnvoyProxy to make a load balancer with internal IP.
And the HTTPRoute is:
The problem is: Envoy is removing this %2F that rabbitmq expects to exist because the vhost is equal to "/." Someone can give me some hints to fix this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Can you see if adding a ClientTrafficPolicy with the https://gateway.envoyproxy.io/latest/api/extension_types/#pathescapedslashaction |
Beta Was this translation helpful? Give feedback.
Can you see if adding a ClientTrafficPolicy with the
path.escapedSlashesAction
attribute set toKeepUnchanged
fixes the problem?https://gateway.envoyproxy.io/latest/api/extension_types/#pathescapedslashaction