https://flyte.org logo
a

Alex Bain

04/04/2022, 7:12 PM
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

Hampus Rosvall

04/04/2022, 7:26 PM
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

Alex Bain

04/04/2022, 7:35 PM
Thanks, that fixed it for me!
❤️ 1
2 Views