LHNCBC / lforms-fhir-app

A SMART on FHIR app that uses lforms widget to handle Questionnaire and QuestionnaireResponse
Other
45 stars 27 forks source link

Error: Could not establish communication with the FHIR server #1

Open sohrabhejazi opened 5 years ago

sohrabhejazi commented 5 years ago

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

plynchnlm commented 5 years ago

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.