Flyte Team, we have just updated to `v0.19.3` from...
# announcements
a
Flyte Team, we have just updated to
v0.19.3
from an older version of Flyte. When we browse to Flyte Console, we get a new CORS error that we did not get before (see below). What configuration change can we make to fix it?
Copy code
Access to XMLHttpRequest at '<https://avflyteadminhttp.pdx.l5.woven-planet.tech/api/v1/projects>' from origin '<https://avflyteconsole.pdx.l5.woven-planet.tech>' has been blocked by CORS policy: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
(This ^^^^ is the error in my Chrome developer tools console output)
h
I had an similar issue and modified the
values.yaml
here to explicitly allow the client i.e.,
FlyteConsole
to send requests to
FlyteAdmin
. E.g.,
Copy code
allowedOrigins:
  # Accepting all domains for Sandbox installation
  - "http://<console_host>:<console_port>"
💯 2
a
Thanks, that fixed it for me!
❤️ 1
139 Views