Closed jameshbarton closed 2 years ago
Does fix for #153 also resolve this issue?
Zendesk ticket #652 has been linked to this issue.
We have release a UX improvement that eliminates the case was users were shunted to the 404 page any time a Portal was placed in Processing
state
This should eliminate the case where applying a bad resource temporarily brings down the Portal UI
Describe the bug A user accidentally provided an incorrect
fetchUrl
in anAPIDoc
for an already established multi-environment portal. In that scenario, the expectation is that the "bad" environment would not function. But any other environments should continue to operate. Instead, the entire portal UI returns a 404.To Reproduce
$(glooctl proxy address)
: portal.solo.io, httpbin.solo.io, petstore.solo.io[{"id":1,"name":"Dog","status":"available"},{"id":2,"name":"Cat","status":"pending"}]
% kubectl apply -f dpe-httpbin.yaml % curl http://httpbin.solo.io/v1/get -i HTTP/1.1 200 OK date: Tue, 21 Dec 2021 23:43:28 GMT content-type: application/json content-length: 351 server: envoy access-control-allow-origin: * access-control-allow-credentials: true x-envoy-upstream-service-time: 57
{ "args": {}, "headers": { "Accept": "/", "Host": "httpbin.solo.io", "User-Agent": "curl/7.64.1", "X-Amzn-Trace-Id": "Root=1-61c266a0-37bdb4885a3f31436ec4626c", "X-Envoy-Expected-Rq-Timeout-Ms": "15000", "X-Envoy-Original-Path": "/v1/get" }, "origin": "35.237.29.174", "url": "http://httpbin.solo.io/get" }
kubectl apply -f group-user-passwd.yaml
kubectl apply -f portal-both.yaml
kubectl apply -f bad-apidoc-httpbin.yaml