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

Backend request URI is not computed properly #362

Open
hasueki opened this issue Oct 23, 2019 · 1 comment
Open

Backend request URI is not computed properly #362

hasueki opened this issue Oct 23, 2019 · 1 comment

Comments

@hasueki
Copy link
Contributor

hasueki commented Oct 23, 2019

I have first encountered this issue when trying to invoke an API with base path set to /api, and noticed that the gateway is not properly proxying my request to the configured backend.

The request is hitting the gateway with something similar to apigateway.com/api/abcdef/api and forwarding to the backend with backend.com/abcdef/api, where it should just proxy to backend.com/.

Digging into it further, I have noticed that we cannot set a base path that matches any substring of /api/<tenant>. For example, apigateway.com/api/abcdef/c will proxy to backend.com/def/c.

@dgrove-oss
Copy link
Member

Not clear to me if #363 was a complete solution; Should this issue be closed or remain open as only partially addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants