Skip to content

Deployment Issue: GraphBuilder App on AWS Linux (Docker + Ollama) - auth0-spa-js must run on a secure origin #1238

Closed
@damiannqn90

Description

@damiannqn90

Hi everyone,

I successfully set up GraphBuilder locally on my PC, running with Ollama in Docker and connected to a local DBMS. Now, I’m trying to deploy the same project to an AWS Linux instance and access it via the public IP (http://<PUBLIC_IP>:8080).

Steps Taken on AWS Linux:
Docker & Docker Compose: Installed and verified.

Ollama: Running in a container (same docker-compose.yml as local).

Ports: Confirmed 8080 is open in the AWS Security Group (inbound rules for 0.0.0.0/0).

Launch: The app starts without errors (docker-compose up -d shows all containers healthy).

The Issue:
When accessing http://<PUBLIC_IP>:8080, I get

Image

Image

index-e20483f0.js:40 Error:
auth0-spa-js must run on a secure origin. See https://github.com/auth0/auth0-spa-js/blob/main/FAQ.md#why-do-i-get-auth0-spa-js-must-run-on-a-secure-origin for more information.

at index-e20483f0.js:68:4887
at new wde (index-e20483f0.js:70:9)
at index-e20483f0.js:70:17293
at Object.yF [as useState] (index-e20483f0.js:38:19949)
at Pi.useState (index-e20483f0.js:9:6427)
at Ide (index-e20483f0.js:70:17266)
at Wj (index-e20483f0.js:38:17030)
at xX (index-e20483f0.js:40:44101)
at yX (index-e20483f0.js:40:39819)
at $ce (index-e20483f0.js:40:39745)

JT @ index-e20483f0.js:40Entender este error
index-e20483f0.js:40 Uncaught Error:
auth0-spa-js must run on a secure origin. See https://github.com/auth0/auth0-spa-js/blob/main/FAQ.md#why-do-i-get-auth0-spa-js-must-run-on-a-secure-origin for more information.

at index-e20483f0.js:68:4887
at new wde (index-e20483f0.js:70:9)
at index-e20483f0.js:70:17293
at Object.yF [as useState] (index-e20483f0.js:38:19949)
at Pi.useState (index-e20483f0.js:9:6427)
at Ide (index-e20483f0.js:70:17266)
at Wj (index-e20483f0.js:38:17030)
at xX (index-e20483f0.js:40:44101)
at yX (index-e20483f0.js:40:39819)
at $ce (index-e20483f0.js:40:39745)

Any idea if i have to change any .env file or the docker-compose file ??

Thanks :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions