Error "Not Authenticated"

hey @tasksolver can you run container using dev.docker-compose.yml file and send the logs of docker logs openelisglobal-webapp --tail 150 of this container!

POV: on my side on the fresh machine,
Peek 2024-11-17 12-53
it is completely working fine!

1 Like

thanks @aditya , what do you mean by a “fresh machine”

fresh machine means:
I tried to recreate the development environment in my PC

I followed all the steps mentioned in setting up development environment docs!

thanks @aditya , there is no way it could refuse. :muscle:

Hello I came up to this discussion because I was also struggling with the same problem, I followed the same steps as mentioned in the solution above but still stuck on “Not Authenticated”. These are the logs of docker logs openelisglobal-webapp --tail 150


On a side note my local environment was running fine till yesterday.

hello @peach280 , try mvn clean install -DskipTests then docker-compose -f dev.docker-compose.yml up -d

if it persists try docker-compose down then docker-compose up -d after run docker-compose -f dev.docker-compose.yml up -d make sure your nginx server is turned off as well

Thanks for your help but I am still stuck with the same problem after following these steps. When I turn off nginx server I get the following error

lets first solve the first challenge, what happens if you reload your page now

The same page displaying not authenticated shows up

have you done this docker-compose down

Yes after running docker-compose down I did this, as mentioned above

docker-compose down then docker-compose up -d after run docker-compose -f dev.docker-compose.yml up -d

@peach280 you don’t have to run both command

docker-compose up -d & docker-compose -f dev.docker-compose,yml up -d 

you just have to run docker-compose -f dev.docker-compose.yml up -d to start development using docker!

Yes I was only running this at the starting and it was running perfectly fine but after some days running this command only gave “Not Authenticated” error

I see these errors on my developer tools and after this it says not authenticated.

try this from starting and over

1 Like

I have tried this before but got “Not Authenticated” but this time got a new error


after that reloaded again and got “Not Authenticated”

1 Like

so this is the time to stop nginx by sudo systemctl stop nginx then run docker-compse -f dev.docker-compose.yml up -d

This time when I tried, it doesn’t even give the 504 error just directly displays not authenticated

1 Like

Error "Not Authenticated" - #17 by aditya then follow along this doc

1 Like

I followed all of these steps again and again but I ran mvn clean install -DskipTests on cd OpenELIS-Global-2 instead of cd dataexport and it finally ran!!! Thanks to all of you for your help and support.

3 Likes