Hi,
I’m sorry for that issue, maybe I’m stupid or I messed something important, but I can’ make the combo Service/Routes works correctly. (Even if the deprecated mode with upstream url with specified uri is working fine.)
I’m just following the guide here : https://docs.konghq.com/0.14.x/getting-started/configuring-a-service/
I’m using the exacts same commands
My understanding is : with sending the curl with ‘host: example.com’ (or whatever I put in myservice/routes host value), Kong should redirect to mockbin.org.
But I always have a 503 error
HTTP/1.0 503 Service Unavailable
Cache-Control: no-cache
Connection: close
Content-Type: text/html
<html><body><h1>503 Service Unavailable</h1>
No server is available to handle this request.
</body></html>
If i don’t put the header I have the normal display :
HTTP/1.1 404 Not Found
Date: Fri, 05 Oct 2018 10:17:27 GMT
Content-Type: application/json; charset=utf-8
Server: kong/0.14.1
Content-Length: 58
{"message":"no route and no API found with those values"}
I’m sorry if this is a stupid question but I really want to understand what I’m missing…Thank you very much for reading!