Error "Not Authenticated"

welcome @peach280, always

@ tasksolver Same issue like @peach280 but did not resolve after trying all methods😞

Hi @TheRedCoderX, are you using WSL? I was using WSL and because of that my issue was solved a little differently

@peach280 ya I’m using wsl too

Do you have docker desktop installed in your system?
If it is installed then don’t open it while creating a docker container or even while opening localhost web page.
This worked for me actually.

when I run the docker-compose it is showing new issues that 502 Bad gateway I stuck here

@Dheeraj_R_Gowda the actual way to solve this is in this thread

you can always read through the whole thread and and follow all the information given

@peach280 I don’t get the point

The point is that when I was creating a docker image in WSL I was using docker desktop app for that purpose but when I created the docker image using only the steps mentioned in the documentation I was able to get rid of this error.
That might not be a problem in your case if you don’t have docker desktop application installed in your system.

1 Like

Thanks @peach280 @Tasksolver @Agaba_Derrick_Junior Hey Sorry for Delay!!
I have Tried Everything mentioned in this page but still unable to fix but i got something i think there’s a container called oe-certs which is restarting again and again which is causing problem I’m sharing you logs of docker ps


how can i fix this ??

1 Like

@Agaba_Derrick_Junior I tried all the thread mentioned here but unable to fix this

@Dheeraj_R_Gowda lets resolve this in a call DevDiscussion Break Happening Weekly every Thursday at 17:00-18:00 GMT - #4 by Moses_Mutesasira

try running docker compose -up and then try to login…

Hi @Dheeraj_R_Gowda what os are you running? The best way to try out is use a linux distro and run from fresh. Its gonna work. Windows sometimes with docker desktop is a hell on setting up a dev environment. You can also clear all docker volumes related to the openelis setup and run fresh.
I used to struggle with this issue alot but not any more.

1 Like

@njiddasalifu Thank you for your response I am running on Windows I will try to run in Linux distro

You can try wsl.
Also on windows 11 you have access to a linux terminal.
You can install docker daemon there and setup the dev app environment. I have tried that with a windows machine and got openelis dev environment running for my colleagues.

1 Like

Please ensure you have JDK 11 installed and the Docker daemon running. If you encounter a 504 Bad Gateway error, give it a moment as the backend containers may need some time to mount.

2 Likes

I have this problem and it’s been 3 days now. I tried everything in this thread.
including but not limited to

and also running mvn clean install -DskipTests on OpenELIS-Global-2
also tried sudo systemctl stop nginx

and still nothing works for me.
on the new UI it keeps loading for about 10 min and then shows “Not Authenticated”
on the legaci UI it shows

504 Gateway Time-out
nginx/1.15.12

edit:
also wanted to mention that the project was working normally even after the breaking changes of java 21 as I updated my java version.
for more context here is my mvn -v output

Apache Maven 3.6.3
Maven home: /usr/share/maven
Java version: 21.0.6, vendor: Ubuntu, runtime: /usr/lib/jvm/java-21-openjdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "6.8.0-52-generic", arch: "amd64", family: "unix"

here is my java --version output

openjdk 21.0.6 2025-01-21
OpenJDK Runtime Environment (build 21.0.6+7-Ubuntu-122.04.1)
OpenJDK 64-Bit Server VM (build 21.0.6+7-Ubuntu-122.04.1, mixed mode, sharing)

if you have tried all of the above, just get a fresh clone and go through the steps to setup the dev envirnment

2 Likes

You can try using
docker-compose -f dev.docker-compose.yml pull oe.openelis.org
to pull the latest docker image. I was also getting this error few days ago but it resolved after the above command.