You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/10/23 15:52:15 UTC

[GitHub] [openwhisk-apigateway] hasueki opened a new issue #362: Backend request URI is not computed properly

hasueki opened a new issue #362: Backend request URI is not computed properly
URL: https://github.com/apache/openwhisk-apigateway/issues/362
 
 
   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 to 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`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services