Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue while logging into openhim console #1198

Open
nk8291 opened this issue Jun 27, 2023 · 9 comments
Open

issue while logging into openhim console #1198

nk8291 opened this issue Jun 27, 2023 · 9 comments

Comments

@nk8291
Copy link

nk8291 commented Jun 27, 2023

Dear team,

Getting below error while logging into openhim console

image

I have setup openhim console and corejs on centos server with below steps:

installed mognodb 4.2
installed node 12.22.12
installed openssl

mkdir openhim-core-js
Git clone https://github.com/jembi/openhim-core-js.git
Npm install
npm run build
npm start

mkdir console
git clone https://github.com/jembi/openhim-console.git
cd openhim-console
npm install
npm run build
npm start

can anyone assist on fixing this issue.

https://:8080/heartbeat
this link work and providing below output
{"master":675.895664,"now":1687876639714}

but still it is not logging into console.

@nour-borgi
Copy link
Contributor

Hello @nk8291, could you please provide us with more details so that we can help, like which credentials you used ?
when trying to sign in do you see any errors in the console side ?

@nk8291
Copy link
Author

nk8291 commented Jun 27, 2023

Hi @nour-borgi , I am using [email protected] user to login into the open him console

@nk8291
Copy link
Author

nk8291 commented Jun 27, 2023

it is working fine on windows on my local machine.. But when I tried to access the setup deployed on centos server. it is giving an error

@nk8291
Copy link
Author

nk8291 commented Jun 27, 2023

I have attached a screenshot in initial description about the message printed in console. It says AAPI request could not be authenticated with configured authentication types

@nk8291
Copy link
Author

nk8291 commented Jun 28, 2023

Hi @nour-borgi, Can you help in debugging this error if you have also encountered the similar problem. Now I have checked in my windows machine I am getting same message as it provided in screenshot while logging into the admin console, but login is successful. Not sure why it is not working on centos only.. does it have any required related to SSL?

@nk8291
Copy link
Author

nk8291 commented Jun 29, 2023

Hi @nour-borgi , @bausmeier any help with this issue.

@nk8291
Copy link
Author

nk8291 commented Jun 29, 2023

Sharing the screenshot when I tried to login to Openhim-console

heartbeat url
image

login page
image

openhim-console
image

openhim-core-js
image

console log
image

@nour-borgi if this can help

@nour-borgi
Copy link
Contributor

Hello @nk8291, sorry for the late response, are you using localhost as a domain name for both ?

@job-isabai
Copy link

Hello I have encountered a similar error. Did anyone find a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants