LHNCBC / lforms-fhir-app

A SMART on FHIR app that uses lforms widget to handle Questionnaire and QuestionnaireResponse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: Could not establish communication with the FHIR server

sohrabhejazi opened this issue · comments

Hi,

I want to connect to my own FIHR server through your App.
When I go to "FHIR Server Needed" popup window and try to connect to my FHIR server, I get the following error:

Could not establish communication with the FHIR server at http://10.12.255.119:8080/gt-fhir/fhir

I tested it with different FHIR servers e.g. HAPI FHIR TEST Server
What is the problem? Could you please help me?

LG,
Sohrab

You will probably need an HTTPS URL for your own FHIR server, because the page for this app (https://lhncbc.github.io/lforms-fhir-app/) is using https, and most browsers (at least Chrome and Firefox) will block "mixed content" requests from an https page to a http URL.