ICTatRTI / coconut-analytics

Browserified & backboned version of coconut-reports
Other
2 stars 3 forks source link

DHIS2: TEST DHIS Connection fails on URL #296

Closed gmcressman closed 7 years ago

gmcressman commented 7 years ago

image

gmcressman commented 7 years ago

More of the same: the URL is not being validated and tested properly, and there is no graceful error handling or messaging.

image

scloo commented 7 years ago

This first error screen is due to the fact that we are using https for cococloud.co but dhis2 does not have https but only http. Browser technology does not allow mixed protocol. To resolve it, we have to install cert for dhis2 server.

gmcressman commented 7 years ago

Makes sense. What are you thoughts on getting a clean DHIS2 install? What do you think might be the most efficient way to get that done?

scloo commented 7 years ago

This is already a clean install. It is a new droplet and and a clean install of DHIS2. The old droplet was compromised and had to be shut down.

I'm now looking into getting a SSL cert for this server.

gmcressman commented 7 years ago

Clean = empty database. We currently have the Sierra Leone demo database installed.

scloo commented 7 years ago

Dhis2 Test connection fixed. First error message encountered: There are 2 issues involved. 1) Cross-Origin request 2) Mixed Content (https-http connection.) Steps taken to resolve issue:

Second error message encountered: Looks like the dhis server was not running. Hence not responding. Could be due to the docker container has stopped.

scloo commented 7 years ago

DHIS2 database has been cleaned. It is now a new database with no data.

gmcressman commented 7 years ago

Done.

gmcressman commented 7 years ago

Steve, can you document this setup for other people to replicate?