Firstly, pardon my ignorance as I am VERY NEW to OpenHIE and OpenHIM.
I am trying to set up OpenHIM on a local virtual machine running Ubuntu 22.04. After setting up OpenHIM, I get the following error on the Login Page:
“An error occurred while attempting to connect to the OpenHIM Core on https://localhost:8080. The service may not be running or may not be accessible from your current location. Additionally if Core is using a self-signed certificate,you may first need to instruct your browser to accept it. You can do so by accessing the following link”
On clicking the link to accept the self signed certificate, (browsing the heartbeat page: https://localhost:8080/heartbeat), I get the following browser error:
@simbachiri would love to get you connected with the right people for your questions! @ryan could you reach out to @simbachiri or connect them with someone from your team to discuss questions around OpenHIM?
Hello @simbachiri, I’m currently facing the same problem. Could you please share how you managed to solve it? Any advice or suggestions would be greatly appreciated. Thank you!
Get the platform cli by running the command - ./get-cli.sh
Open the platform root folder in Explorer.
Edit the file .env.local by adding the following 2 lines:
OPENHIM_CORE_MEDIATOR_HOSTNAME=REMOTE-SERVER-IP
OPENHIM_MEDIATOR_API_PORT=8080
Edit the .env.remote file on the following sections:
OPENHIM_CORE_SERVICE_NAME= REMOTE-SERVER-IP
OPENHIM_MEDIATOR_API_PORT=8080
Run the following command to deploy - ./instant-linux package init -n=interoperability-layer-openhim,fhir-datastore-hapi-fhir --dev --env-file=.env.local
To remove the services run - ./instant-linux package remove -n=interoperability-layer-openhim,fhir-datastore-hapi-fhir --dev --env-file=.env.local