Weird problem

14 views
Skip to first unread message

4integ...@gmail.com

unread,
Feb 27, 2018, 11:09:35 AM2/27/18
to 3Scale API Management by Red Hat
Running a few sandbox gateways in Docker.
I have approx 10 APIs defined - most of them currently using ECHO API.
At the top of the list I had a real API with base URL something.domain.com

Today when adding a new API (ends up in the bottom in Admin portal).
When testing that it didn't work and I saw in the logs that host (baseURL) from the very first API was used.
request: "GET /health?user_key=3464a74c3dc89e07aaae6cc8dce142c2 HTTP/1.1", host: "something.domain.com"

So I removed the top API and tested again - then echo API popped up 

request: "GET /health?user_key=3464a74c3dc89e07aaae6cc8dce142c2 HTTP/1.1", host: "echo-api.3scale.net"

Ok, then I changed the baseURL on API in the top of the list to http://does.not.exist and tested again

request: "GET /health?user_key=3464a74c3dc89e07aaae6cc8dce142c2 HTTP/1.1", host: "does.not.exist"


Why does this happen?

Using this Docker image:

/ Joacim

4integ...@gmail.com

unread,
Feb 28, 2018, 9:11:32 AM2/28/18
to 3Scale API Management by Red Hat
I can answer myself - it was because all API's had the same Public Base URL (gateway) and not using  APICAST_PATH_ROUTING.

/ Joacim
Reply all
Reply to author
Forward
0 new messages