Closed qiuhuachuan closed 1 year ago
I assume your server does not have an https certificate and you are connecting with http?
Actually yes I just use the server's IP connecting with HTTP
So that is the issue, if your server is not running on local host, you need to connect with https
So that is the issue, if your server is not running on local host, you need to connect with https
Hi, In my case i hosted the chainlit service(using --host 0.0.0.0) in one of the LAN machines. Im trying to access this service from my laptop which is connected to LAN as well. Im getting the same error (Uncaught Error: auth0-spa-js must run on a secure origin).
As per your comment connecting with https should solve the issue, but since its running on localhost i can connect only via http, any alternatives to solve this issue?
What Chainlit version are you running? This was fixed in 0.3.0 or 0.4.0 if I recall correctly.
my code is shown in following
I run it on terminal with the command
chainlit run app.py --port 8081 --host 0.0.0.0 --headless
Until now it is okBut if I input my server address on the browser, nothing shown on the web page