# Invalid Login Credentials

**URL:** <https://talk.openelis-global.org/t/invalid-login-credentials/345>\
**Category:** Development\
**Tags:** dev\_setup\
**Created:** [February 24, 2024, 8:28am UTC](https://talk.openelis-global.org/t/invalid-login-credentials/345 "2024-02-24T08:28:13Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prajjwal\_Kohli](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/prajjwal_kohli/32/204_2.png) [@Prajjwal\_Kohli](https://talk.openelis-global.org/u/Prajjwal_Kohli)\
**Post date:** [February 24, 2024, 8:28am UTC](https://talk.openelis-global.org/t/invalid-login-credentials/345/1 "2024-02-24T08:28:13Z")

</div>

I’m hitting **[https://localhost:8443/OpenELIS-Global/LoginPage](https://localhost:8443/OpenELIS-Global/LoginPage)** on my localhost. and trying to login with the credentials given on github (user:password = admin:adminADMIN!).  
I have rebuilt the war file, restarted the dev-docker-compose container but couldn’t login.

Same credentials work on demo site **[https://global.openelis-global.org:8443/OpenELIS-Global/LoginPage](https://global.openelis-global.org:8443/OpenELIS-Global/LoginPage)**, but does not work on my local host.

Any guidance will be appreciated.

 ![Screenshot 2024-02-24 134456](https://canada1.discourse-cdn.com/flex030/uploads/openelisci/original/1X/1598ba6fd27be2ea38361dd0e04c45440fcf4dee.png)

---

<div class="post-metadata">

**Author:** ![aditya](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@aditya](https://talk.openelis-global.org/u/aditya)\
**Post date:** [February 24, 2024, 10:42pm UTC](https://talk.openelis-global.org/t/invalid-login-credentials/345/2 "2024-02-24T22:42:10Z")

</div>

Hey @Prajjwal_Kohli welcome to openELIS 🙂

The default URL should be [https://localhost/api/OpenELIS-Global/](https://localhost/api/OpenELIS-Global/) don’t put any port . Because redirecting will be performed also port mapping already performed in the project. You don’t need to provide any default port by yourself.

---

<div class="post-metadata">

**Author:** ![Prajjwal\_Kohli](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/prajjwal_kohli/32/204_2.png) [@Prajjwal\_Kohli](https://talk.openelis-global.org/u/Prajjwal_Kohli)\
**Post date:** [February 25, 2024, 10:22am UTC](https://talk.openelis-global.org/t/invalid-login-credentials/345/3 "2024-02-25T10:22:48Z")

</div>

No improvement even after using this url.  
Are you able to do sign in @aditya?  
Thanks btw.

---

<div class="post-metadata">

**Author:** ![Prajjwal\_Kohli](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/prajjwal_kohli/32/204_2.png) [@Prajjwal\_Kohli](https://talk.openelis-global.org/u/Prajjwal_Kohli)\
**Post date:** [February 25, 2024, 10:26am UTC](https://talk.openelis-global.org/t/invalid-login-credentials/345/4 "2024-02-25T10:26:00Z")

</div>

I tried [https://localhost/login](https://localhost/login) and now I’m getting somewhat different login page.  
Still the invalid credentials issue persists.

@Moses_Mutesasira can you help in this issue.

 ![Screenshot 2024-02-25 154842](https://canada1.discourse-cdn.com/flex030/uploads/openelisci/original/1X/d548b01f1f30a554d4c95251d9181712cc4fde25.png)

---

<div class="post-metadata">

**Author:** ![Moses\_Mutesasira](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/moses_mutesasira/32/72_2.png) [@Moses\_Mutesasira](https://talk.openelis-global.org/u/Moses_Mutesasira)\
**Post date:** [February 26, 2024, 12:03pm UTC](https://talk.openelis-global.org/t/invalid-login-credentials/345/5 "2024-02-26T12:03:17Z")

</div>

Can you make sure you don’t have any trailing spaces?

---

<div class="post-metadata">

**Author:** ![Prajjwal\_Kohli](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/prajjwal_kohli/32/204_2.png) [@Prajjwal\_Kohli](https://talk.openelis-global.org/u/Prajjwal_Kohli)\
**Post date:** [February 26, 2024, 1:07pm UTC](https://talk.openelis-global.org/t/invalid-login-credentials/345/6 "2024-02-26T13:07:15Z")

</div>

@Moses_Mutesasira Checked it there are no trailing spaces.

Things that I have tried:

- pulling docker files for open-elis frontend

- putting the containers down

- restarting the containers

Here are my Logs for 1) backend 2) frontend

1. 

 ![Screenshot 2024-02-26 182550](https://canada1.discourse-cdn.com/flex030/uploads/openelisci/original/1X/94785c3e2b1350eb965b32eb3685565365c2b821.png)

1. 

 ![Screenshot 2024-02-26 182801](https://canada1.discourse-cdn.com/flex030/uploads/openelisci/original/1X/47877ae664723a47d8d97aacf1eb88930ff89b49.png)

The backend and frontend seems to build fine without any errors.

---

<div class="post-metadata">

**Author:** ![Moses\_Mutesasira](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/moses_mutesasira/32/72_2.png) [@Moses\_Mutesasira](https://talk.openelis-global.org/u/Moses_Mutesasira)\
**Post date:** [February 26, 2024, 1:32pm UTC](https://talk.openelis-global.org/t/invalid-login-credentials/345/7 "2024-02-26T13:32:06Z")

</div>

Do you just copy and paste the credentials or you just type ??

---

<div class="post-metadata">

**Author:** ![Prajjwal\_Kohli](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/prajjwal_kohli/32/204_2.png) [@Prajjwal\_Kohli](https://talk.openelis-global.org/u/Prajjwal_Kohli)\
**Post date:** [February 26, 2024, 1:39pm UTC](https://talk.openelis-global.org/t/invalid-login-credentials/345/8 "2024-02-26T13:39:24Z")

</div>

I type manually. These same credentials works on the demo server  
[https://global.openelis-global.org:8443/OpenELIS-Global/LoginPage](https://global.openelis-global.org:8443/OpenELIS-Global/LoginPage), but not in my local host.

---

<div class="post-metadata">

**Author:** ![Moses\_Mutesasira](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/moses_mutesasira/32/72_2.png) [@Moses\_Mutesasira](https://talk.openelis-global.org/u/Moses_Mutesasira)\
**Post date:** [February 26, 2024, 1:42pm UTC](https://talk.openelis-global.org/t/invalid-login-credentials/345/9 "2024-02-26T13:42:19Z")

</div>

Try logging in here [https://oe3.openelis-global.org/](https://oe3.openelis-global.org/)

---

<div class="post-metadata">

**Author:** ![Prajjwal\_Kohli](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/prajjwal_kohli/32/204_2.png) [@Prajjwal\_Kohli](https://talk.openelis-global.org/u/Prajjwal_Kohli)\
**Post date:** [February 26, 2024, 1:44pm UTC](https://talk.openelis-global.org/t/invalid-login-credentials/345/10 "2024-02-26T13:44:46Z")

</div>

The credentials work here

---

<div class="post-metadata">

**Author:** ![Moses\_Mutesasira](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/moses_mutesasira/32/72_2.png) [@Moses\_Mutesasira](https://talk.openelis-global.org/u/Moses_Mutesasira)\
**Post date:** [February 26, 2024, 1:51pm UTC](https://talk.openelis-global.org/t/invalid-login-credentials/345/11 "2024-02-26T13:51:19Z")

</div>

Try

```auto
docker-compose -f dev.docker-compose.yml down -v    

```

```auto
docker system prune --volume

```

```auto
docker-compose -f dev.docker-compose.yml up -d --no-deps --force-recreate oe.openelis.org    

```

---

<div class="post-metadata">

**Author:** ![Prajjwal\_Kohli](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/prajjwal_kohli/32/204_2.png) [@Prajjwal\_Kohli](https://talk.openelis-global.org/u/Prajjwal_Kohli)\
**Post date:** [February 26, 2024, 2:34pm UTC](https://talk.openelis-global.org/t/invalid-login-credentials/345/12 "2024-02-26T14:34:30Z")

</div>

After following the steps the site could’nt be reached, so i re-ran the first two commands and after executing the second command i ran

```auto
docker-compose -f dev.docker-compose.yml up -d

```

```auto
mvn clean install -DskipTests

```

```auto
docker-compose -f dev.docker-compose.yml up -d --no-deps --force-recreate oe.openelis.org

```

By doing this the site was active but the credential issue was still there

---

<div class="post-metadata">

**Author:** ![Prajjwal\_Kohli](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/prajjwal_kohli/32/204_2.png) [@Prajjwal\_Kohli](https://talk.openelis-global.org/u/Prajjwal_Kohli)\
**Post date:** [February 26, 2024, 6:03pm UTC](https://talk.openelis-global.org/t/invalid-login-credentials/345/13 "2024-02-26T18:03:51Z")

</div>

I deleted and re-cloned the repo and the issue still persists.

I also noticed my git branch is origin/develop\_3x is that the right branch or should i switch to origin/2.8, if this may be the source of the issue.

---

<div class="post-metadata">

**Author:** ![Manish](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/manish/32/472_2.png) [@Manish](https://talk.openelis-global.org/u/Manish)\
**Post date:** [February 27, 2024, 8:48am UTC](https://talk.openelis-global.org/t/invalid-login-credentials/345/14 "2024-02-27T08:48:57Z")

</div>

Hey @Prajjwal_Kohli try deleting the volumes images and containers of docker and re run ```  
docker-compose command  
it might work specially if there are conflicts or corruption while building existing volumes or images. Do let me know if it works!

---

<div class="post-metadata">

**Author:** ![Prajjwal\_Kohli](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/prajjwal_kohli/32/204_2.png) [@Prajjwal\_Kohli](https://talk.openelis-global.org/u/Prajjwal_Kohli)\
**Post date:** [February 27, 2024, 12:41pm UTC](https://talk.openelis-global.org/t/invalid-login-credentials/345/15 "2024-02-27T12:41:16Z")

</div>

In your case does this command returns anything in the terminal?

```auto
git submodule update --init --recursive

```

---

<div class="post-metadata">

**Author:** ![Prajjwal\_Kohli](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/prajjwal_kohli/32/204_2.png) [@Prajjwal\_Kohli](https://talk.openelis-global.org/u/Prajjwal_Kohli)\
**Post date:** [February 27, 2024, 2:44pm UTC](https://talk.openelis-global.org/t/invalid-login-credentials/345/16 "2024-02-27T14:44:09Z")

</div>

@Moses_Mutesasira I’m still not able to login.

What I’ve tried:

- Updating docker
- Updating Git
- Deleting and Recloning the repo

Some details about my setup:

- I have cloned develop\_3x branch

- I’m following **Running docker compose With locally compiled/built Artifacts (ie the War file and React code) For Developers** method to run the application

- `git submodule update --init --recursive` does’nt return anything

---

<div class="post-metadata">

**Author:** ![Moses\_Mutesasira](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/moses_mutesasira/32/72_2.png) [@Moses\_Mutesasira](https://talk.openelis-global.org/u/Moses_Mutesasira)\
**Post date:** [February 27, 2024, 4:22pm UTC](https://talk.openelis-global.org/t/invalid-login-credentials/345/17 "2024-02-27T16:22:31Z")

</div>

I think will discuss your issue on the dev call [DevDiscussion Break Happening Weekly every Thursday at 17:00-17:30 GMT - #43 by Agaba\_Derrick\_Junior](https://talk.openelis-global.org/t/devdiscussion-break-happening-weekly-every-thursday-at-1730-gmt/242/43)

---

<div class="post-metadata">

**Author:** ![Manish](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/manish/32/472_2.png) [@Manish](https://talk.openelis-global.org/u/Manish)\
**Post date:** [February 27, 2024, 9:20pm UTC](https://talk.openelis-global.org/t/invalid-login-credentials/345/18 "2024-02-27T21:20:14Z")

</div>

Hey @Prajjwal_Kohli , I tried recreating the containers, and yeah, I faced the same issue of login credentials showing as invalid. I don’t know what the issue is!

Through trial and error, what I have done is killed the containers once again, then used `docker-compose up`, and after that, I used `docker-compose -f dev.docker-compose.yml up -d`, and it worked. I don’t know how, but it worked! Do check if it works for you too! and if it doesnt then dev discussion call is up for it!

---

<div class="post-metadata">

**Author:** ![atulyadav745](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/atulyadav745/32/256_2.png) [@atulyadav745](https://talk.openelis-global.org/u/atulyadav745)\
**Post date:** [February 28, 2024, 2:29pm UTC](https://talk.openelis-global.org/t/invalid-login-credentials/345/19 "2024-02-28T14:29:53Z")

</div>

Can anyone help me why it is showing not authenticated at [https://localhost:3000/](https://localhost:3000/)

 ![Screenshot from 2024-02-28 19-57-27](https://canada1.discourse-cdn.com/flex030/uploads/openelisci/original/1X/7f9682033d58c84ad9d8d6027aa879e4650d7022.png)

---

<div class="post-metadata">

**Author:** ![Moses\_Mutesasira](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/moses_mutesasira/32/72_2.png) [@Moses\_Mutesasira](https://talk.openelis-global.org/u/Moses_Mutesasira)\
**Post date:** [February 28, 2024, 2:34pm UTC](https://talk.openelis-global.org/t/invalid-login-credentials/345/20 "2024-02-28T14:34:45Z")

</div>

How are you running the app ??  
it should be accessed at `https://localhost`

[Next page](https://talk.openelis-global.org/t/invalid-login-credentials/345.md?page=2)
