-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
I am running Agent 0 within my Intranet. Unfortunately, when I attempt to access it, I get a message box with the following connection error message:
Origin http://192.168.2.100:3000 not allowed when login is
disabled. Set login and password or add your URL to
ALLOWED_ORIGINS env variable. Currently allowed origins:
*://localhost:*,*://127.0.0.1:*,*://0.0.0.0:*
I don't mind requiring enabled login and authentication credentials -- except that the system doesn't allow me to set them!
According to your documentation, I can add a username and password using the Settings → Authentication → Set username and password for web interface access. The problem is that when I click on Settings, I get the same connection error.
Interestingly enough, I did set the environment variable ALLOWED_ORIGINS to my IP address. Now, however, I am getting the following connection error:
Origin http://192.168.2.100:3000 not allowed when login is
disabled. Set login and password or add your URL to
ALLOWED_ORIGINS env variable. Currently allowed origins:
192.168.2.100:3000
Obviously, there is either another way to set up an Agent 0 instance so that I can start it up with login enabled, or your system has a bug in it that does not allow anyone to access it when using other than localhost.
Of course, I could start it up from localhost -- except that I am running it on a Zimablade that is running Ubuntu server -- not exactly an environment where I can actually use a browser on localhost!
Can someone tell me how I can access this application so that I can actually enable the login and put in some credentials???