redhat-gpe / rhte2018_api_mgmt_and_service_mesh

2 stars 3 forks source link

HTTP/1.0 503 Service Unavailable #42

Closed jbride closed 5 years ago

jbride commented 5 years ago

This issue pertains to step 4.8.

This call fails: curl -v \ -HHost:$CATALOG_API_GW_HOST \ echo "http://"$(oc get route istio-ingressgateway -n istio-system -o template --template {{.spec.host}})"/products?user_key=$CATALOG_USER_KEY" It gives HTTP/1.0 503 Service Unavailable

Yet the preceding call succeeds curl -v \ -HHost:$CATALOG_API_GW_HOST \ http://$INGRESS_HOST:$INGRESS_PORT/products?user_key=$CATALOG_USER_KEY

jbride commented 5 years ago

The root issue is that with community istio 1.0.0, the istio-ingressgateway service exposes multiple nodeports and none of these ports are enabled in the student lab VM running in AWS.

`oc get service istio-ingressgateway -o yaml -n istio-system

jbride commented 5 years ago

fixed