Blank Page on initial Login, /api/master/console/register 403 (Forbidden) in console

Good Evening, been tinkering with this for a few hours, took a while to get custom certs working properly, (already have letsencrypt setup on this host) however now, i finally managed to get it to load, and show the login page, however when I login with the intial defaults (admin, secret) it authenticates and then goes to /manager/ with a blank page, opening the console in the browser shows:

bundle.610c58402432b0eb.js:7 POST https://sub.domain.ca:10443/api/master/console/register 403 (Forbidden)
(anonymous) @ bundle.610c58402432b0eb.js:7
t.exports @ bundle.610c58402432b0eb.js:7
t.exports @ bundle.610c58402432b0eb.js:7
Promise.then
d.request @ bundle.610c58402432b0eb.js:7
(anonymous) @ bundle.610c58402432b0eb.js:7
value @ bundle.610c58402432b0eb.js:219
value @ bundle.610c58402432b0eb.js:219
(anonymous) @ bundle.610c58402432b0eb.js:219
setTimeout
(anonymous) @ bundle.610c58402432b0eb.js:219
value @ bundle.610c58402432b0eb.js:219
(anonymous) @ bundle.610c58402432b0eb.js:219
c @ bundle.610c58402432b0eb.js:219
(anonymous) @ bundle.610c58402432b0eb.js:219
s @ bundle.610c58402432b0eb.js:219
Promise.then
c @ bundle.610c58402432b0eb.js:219
(anonymous) @ bundle.610c58402432b0eb.js:219
eY @ bundle.610c58402432b0eb.js:219
value @ bundle.610c58402432b0eb.js:219
(anonymous) @ bundle.610c58402432b0eb.js:219
c @ bundle.610c58402432b0eb.js:219
(anonymous) @ bundle.610c58402432b0eb.js:219
(anonymous) @ bundle.610c58402432b0eb.js:219
nb @ bundle.610c58402432b0eb.js:219
value @ bundle.610c58402432b0eb.js:219
(anonymous) @ bundle.610c58402432b0eb.js:219
c @ bundle.610c58402432b0eb.js:219
(anonymous) @ bundle.610c58402432b0eb.js:219
s @ bundle.610c58402432b0eb.js:219
Promise.then
c @ bundle.610c58402432b0eb.js:219
s @ bundle.610c58402432b0eb.js:219
Promise.then
c @ bundle.610c58402432b0eb.js:219
(anonymous) @ bundle.610c58402432b0eb.js:219
nb @ bundle.610c58402432b0eb.js:219
value @ bundle.610c58402432b0eb.js:219
value @ bundle.610c58402432b0eb.js:271
value @ bundle.610c58402432b0eb.js:271
value @ bundle.610c58402432b0eb.js:271
value @ bundle.610c58402432b0eb.js:271
(anonymous) @ bundle.610c58402432b0eb.js:271
c @ bundle.610c58402432b0eb.js:271
(anonymous) @ bundle.610c58402432b0eb.js:271
E @ bundle.610c58402432b0eb.js:271
s @ bundle.610c58402432b0eb.js:271
Promise.then
E @ bundle.610c58402432b0eb.js:271
s @ bundle.610c58402432b0eb.js:271
(anonymous) @ bundle.610c58402432b0eb.js:271
(anonymous) @ bundle.610c58402432b0eb.js:271
value @ bundle.610c58402432b0eb.js:271
value @ bundle.610c58402432b0eb.js:271
value @ bundle.610c58402432b0eb.js:271
n @ bundle.610c58402432b0eb.js:271
u @ bundle.610c58402432b0eb.js:271
n @ bundle.610c58402432b0eb.js:271
rG @ bundle.610c58402432b0eb.js:271
n @ bundle.610c58402432b0eb.js:271
(anonymous) @ bundle.610c58402432b0eb.js:3725
(anonymous) @ bundle.610c58402432b0eb.js:3725
(anonymous) @ bundle.610c58402432b0eb.js:3725Understand this error
bundle.610c58402432b0eb.js:7 Uncaught (in promise) Error: Request failed with status code 403
at t.exports (bundle.610c58402432b0eb.js:7:33935)
at t.exports (bundle.610c58402432b0eb.js:7:36372)
at XMLHttpRequest.w (bundle.610c58402432b0eb.js:7:28491)

My Yml is the base config file from the quick start, with an added volume for proxy to load the SSL certs:

volumes:
- proxy-data:/deployment
- /etc/ssl/openremote/sub.domain.ca.pem:/etc/haproxy/certs/00-sub.pem:ro

i have set everything else using the following environment variables:

OR_HOSTNAME = sub.domain.ca
EXTERNAL_URL = https://sub.domain.ca
OR_SSL_PORT = 10443
KC_HOSTNAME = sub.domain.ca
DOMAINNAME = sub.domain.ca

there are zero errors in any of the individual container logs, and until i provided the preceding environment variables nothing would work, some of those variables were modified because previously i was having the invalid_uri issue, but now the only issue is the one mentioned in this post, i have read over all the posts that seem to be covering the same issue, as well as read the deploy.yaml file on github to make sure there wasnt any other variables perhaps i was missing, I’m really starting to miss the days before docker, a lot of my deployed web software I used for year has become a bit of a nightmare since everyone has decided that docker is the way to go.

any assistance thatcan be provided, or insight into something I am potentially missing would be incredible, ive been doing my own hosting, for the bettter part of 25 years, so I am not afraid to dig deep if need be.

obviously i have changed FQDN’s for purposes of privacy, but the value format remains the same.

thanks in advance.

Tyler

Good afternoon @wolf87ca ,

A common issue that I’ve come across is that the environment variables are only set on one specific container of the OpenRemote stack. The recommended method to add environment variables to OpenRemote is to create a new .env file and then pass it in to Docker using the --env-file parameter. This ensures that the environment variables are added to all containers.

Hope this helps!

did you fix this problem sir ?, I meet too