<#4669 [BUG] Flyte Console in Sandbox is blank on ...
# flyte-github
c
#4669 [BUG] Flyte Console in Sandbox is blank on Firefox Issue created by ozzieba ### Describe the bug After running
flyte demo start
and navigating to localhost:30080 in Firefox, I get forwarded to /console, but then a blank white screen. Dev tools show the errorsbelow; Chromium works as expected. Firefox 116.0.2 on Ubuntu (Snap) Running with --safe-mode so no extensions etc Any ideas? Thanks! ### Expected behavior Flyte console shows up on Firefox ### Are you sure this issue hasn't been raised already? • Yes (searched "firefox" and "cors" on Issues) ### Have you read the Code of Conduct? • Yes ### Additional context to reproduce
Copy code
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://unpkg.com/react-dom@16.13.1/umd/react-dom.production.min.js. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 301.

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://unpkg.com/react@16.13.1/umd/react.production.min.js. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 301.

The resource from “http://unpkg.com/react-dom@16.13.1/umd/react-dom.production.min.js” was blocked due to MIME type (“”) mismatch (X-Content-Type-Options: nosniff).
[console](http://localhost:8080/console)
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://unpkg.com/react-dom@16.13.1/umd/react-dom.production.min.js. (Reason: CORS request did not succeed). Status code: (null).

The resource from “http://unpkg.com/react@16.13.1/umd/react.production.min.js” was blocked due to MIME type (“”) mismatch (X-Content-Type-Options: nosniff).
[console](http://localhost:8080/console)
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://unpkg.com/react@16.13.1/umd/react.production.min.js. (Reason: CORS request did not succeed). Status code: (null).

<script> source URI is not allowed in this document: “http://unpkg.com/react@16.13.1/umd/react.production.min.js”. [console:1:657](http://localhost:8080/console)
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://unpkg.com/react-dom@16.13.1/umd/react-dom.production.min.js. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 301.

The resource from “http://unpkg.com/react-dom@16.13.1/umd/react-dom.production.min.js” was blocked due to MIME type (“”) mismatch (X-Content-Type-Options: nosniff).
[console](http://localhost:8080/console)
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://unpkg.com/react-dom@16.13.1/umd/react-dom.production.min.js. (Reason: CORS request did not succeed). Status code: (null).

<script> source URI is not allowed in this document: “http://unpkg.com/react-dom@16.13.1/umd/react-dom.production.min.js”. [console:1:754](http://localhost:8080/console)
ReferenceError: React is not defined
    87363 http://localhost:8080/console/assets/main.45f88a8b477bfdbb918d.js:1
    r http://localhost:8080/console/assets/main.45f88a8b477bfdbb918d.js:1
    65417 http://localhost:8080/console/assets/main.45f88a8b477bfdbb918d.js:1
    r http://localhost:8080/console/assets/main.45f88a8b477bfdbb918d.js:1
    i http://localhost:8080/console/assets/main.45f88a8b477bfdbb918d.js:1
    O http://localhost:8080/console/assets/main.45f88a8b477bfdbb918d.js:1
    <anonymous> http://localhost:8080/console/assets/main.45f88a8b477bfdbb918d.js:1
    <anonymous> http://localhost:8080/console/assets/main.45f88a8b477bfdbb918d.js:1
``` $ snap info firefox name: firefox summary: Mozilla Firefox web browser publisher: Mozilla✓ store-url: https://snapcraft.io/firefox license: unset description: | Firefox is a powerful, extensible web browser with support for modern web application technologies. commands: - firefox - firefox.geckodriver snap-id: 3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk tracking: latest/stable/ubuntu-22.04 refresh-date: 35 days ago, at 11:55 EST channels: latest/stable: 121.0-1.1 2023-12-20 (3600) 257MB - latest/candidate: 121.0-1.1 2023-12-20 (3600) 257MB - latest/beta: 122.0b4-1 2023-12-29 (3614) 275MB - latest/edge: 123.0a1 2023-12-22 (3610) 292MB - esr/stable: 115.6.0esr-1 2023-12-19 (3542) 252MB - esr/candidate: 115.6.0esr-1 2023-12-11 (3542) 252MB - esr/beta: ↑ esr/edge: ↑ installed: 116.0.2-1 (2987) 248MB - $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=22.04 DISTRIB_CODENAME=jammy DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS" $ flytectl version { "App": "flytectl", "Build": "2eb0674", "Version": "0.8.5", "BuildTime": "2024-01-03 105606.572755497 -0500 EST m=+0.012082110" }{ "App": "controlPlane", "Build": "unknown", "Version": "unknown", "BuildTime": "2024-01-03 151327.450614178 +0000 UTC m=+0.010128880" $ kubectl get po -o yaml -n flyte|grep image image: kubernetesui/dashboard:sandbox imagePullPolicy: Never image: docker.io/kubernetesui/dashboard:sandbox imageID: sha256:07655ddf2eebe5d250f7a72c25f638b27126805d61779741b4e62e69ba080558 image: registry:sandbox imagePullPolicy: Never image: docker.io/library/registry:sandbox imageID: sha256:f5352b75f67e2e2df2bf2d96509248d1f618b8aa66d8b8c89d21e29111424881 image: docker.io/bitnami/postgresql:sandbox imagePullPolicy: Never image: docker.io/bitnami/bitnami-shell:sandbox imagePullPolicy: Never image: docker.io/bitnami/postgresql:sandbox imageID: sha256:a729f5f0de5fa39ba4d649e7366d499299304145d2456d60a16b0e63395bd61a image: docker.io/bitnami/bitnami-shell:sandbox imageID: sha256:11e23119f2c697a4d756a33d130370517aa268908f2e8dce5345385ca467099f image: docker.io/bitnami/minio:sandbox imagePullPolicy: Never image: docker.io/bitnami/bitnami-shell:sandbox imagePullPolicy: Never image: docker.io/bitnami/minio:sandbox imageID: sha256:83c8830c18680f53476a5661a17323d1d8836f2d0a4ac2fbdf441eb48645c799 image: docker.io/bitnami/bitnami-shell:sandbox imageID: sha256:11e23119f2c697a4d756a33d130370517aa268908f2e8dce5345385ca467099f image: moby/buildkit:sandbox imagePullPolicy: Never image: docker.io/moby/buildkit:sandbox imageID: sha256:be698b50dea43af34127e039497efd8130328673aecabe2de9d3dd17bed63a15 - image: envoyproxy/envoy:sandbox imagePullPolicy: Never image: docker.io/envoyproxy/envoy:sandbox imageID: sha256:a2fdd8ef6039e901a0a940b5583d0c7a81722ed1f4d2e677285faf43e3cbe61e image: flyte-binary:sandbox imagePullPolicy: Never image: bitnami/postgresql:sandbox imagePullPolicy: Never image: docker.io/library/flyte-binary:sandbox imageID: sha256:5173ab4a663c82c340ed7424eaa335f7c31bbb9335a11ea0692fb485256eca3a image: docker.io/bitnami/postgresql:sandbox imageID: sha256:a729f5f0de5fa39ba4d649e7366d499299304145d2456d60a16b0e63395bd61a image: ghcr.io/flyteorg/flyteagent:1.10.1 imagePullPolicy: IfNotPresent image: <http://ghcr.io/flyteorg/flyte… flyteorg/flyte