Publishing DHIS2

Hi Devs,
We are using version 2.18 of dhis2 . Recently published an instance of dhis2 this in our servers for public access via dhis.fgh.org.mz , but the modules Data Visualizer , Pivot Table and GIS not loading when accessing remotely. But when we access directly from through the IP network 10.0.0.13:8080/dhis the modules carry , someone help me with this! Has to do with CORS Whitelist ? I checked the console in chrome and it shows this information:
XMLHttpRequest can not load http://10.0.0.13/dhis/api/systemSettings.json?key=keyCalendar&key=keyDateFormat&key=keyAnalysisRelativePeriod&_dc=1433142127042. The request was redirected to 'http://10.0.0.13/dhis/dhis-web-commons/security/login.action;jsessionid=C88D1495F14F16A3A5DF17C0465F91D2’-, Which is disallowed for cross -origin requests que require preflight .

Regards

···

Damasceno Lopes

I suspect this has to do with your Tomcat setup. Do you have a proxyHost as part of your configuration? Maybe you could post the relevant part of your Tomcat’s server.xml file which configures the HTTP connector?

···

On Mon, Jun 1, 2015, 10:35 Damasceno Lopes damasceno1991@gmail.com wrote:

Hi Devs,
We are using version 2.18 of dhis2 . Recently published an instance of dhis2 this in our servers for public access via dhis.fgh.org.mz , but the modules Data Visualizer , Pivot Table and GIS not loading when accessing remotely. But when we access directly from through the IP network 10.0.0.13:8080/dhis the modules carry , someone help me with this! Has to do with CORS Whitelist ? I checked the console in chrome and it shows this information:
XMLHttpRequest can not load http://10.0.0.13/dhis/api/systemSettings.json?key=keyCalendar&key=keyDateFormat&key=keyAnalysisRelativePeriod&_dc=1433142127042. The request was redirected to 'http://10.0.0.13/dhis/dhis-web-commons/security/login.action;jsessionid=C88D1495F14F16A3A5DF17C0465F91D2’-, Which is disallowed for cross -origin requests que require preflight .

Regards
Damasceno Lopes


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp