You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When configuring a service that also uses the request-transformer plugin to rewrite the Host header to the upstream service, the GET /v2/namespaces/{ns}/services endpoint shows the service as down, when in fact both the upstream and APS service are operating normally.
The GET /v2/namespaces/{ns}/services endpoint shows the service as up
Observed behaviour
The GET /v2/namespaces/{ns}/services endpoint erroneously responds with a "404 Down" response (in this case, because the upstream returns 404 for unknown hosts).
curl https://aps-docs.api.gov.bc.ca returns an HTTP 200 code and the correct response from the upstream service.
The text was updated successfully, but these errors were encountered:
When configuring a service that also uses the
request-transformer
plugin to rewrite theHost
header to the upstream service, theGET /v2/namespaces/{ns}/services
endpoint shows the service as down, when in fact both the upstream and APS service are operating normally.gwconfig.yaml
gwa-api Response
Expected behaviour
The
GET /v2/namespaces/{ns}/services
endpoint shows the service as upObserved behaviour
The
GET /v2/namespaces/{ns}/services
endpoint erroneously responds with a "404 Down" response (in this case, because the upstream returns 404 for unknown hosts).curl https://aps-docs.api.gov.bc.ca
returns an HTTP 200 code and the correct response from the upstream service.The text was updated successfully, but these errors were encountered: