DHIS 2.24 migrated from HTTP to HTTPS (pivot table error)

Hi Devs

We moved our DHIS2 to an HTTPS domain but we’re unable to view pivot tables (pls see attached console errors). Any suggestions?

Greg

image

···

Health Information Systems Program - South Africa

**- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - **

Mobile : +27 73 246 2992
Landline: +27 21 851 2216

Skype: gregory_rowles

Hi Jan,

JSON file attached…

Regards,

Greg

info.json (1.16 KB)

···

On Tue, Oct 11, 2016 at 1:42 PM, Jan Henrik Øverland jan@dhis2.org wrote:

Hi Greg,

What do you get here: https://sanac.hisp.org/staging/api/system/info.json → contextPath ?

On 11 October 2016 at 13:32, Greg Rowles greg.rowles@gmail.com wrote:

Hi Devs

We moved our DHIS2 to an HTTPS domain but we’re unable to view pivot tables (pls see attached console errors). Any suggestions?

Greg


Health Information Systems Program - South Africa

**- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - **

Mobile : +27 73 246 2992
Landline: +27 21 851 2216

Skype: gregory_rowles


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

Jan Henrik Øverland

Software developer, DHIS 2

University of Oslo

http://www.dhis2.org

Health Information Systems Program - South Africa

**- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - **

Mobile : 073 246 2992
Landline: 021 851 2216

Skype: gregory_rowles

Hi Greg,
Not sure exactly what the problem could be, but you may want to have a look at Tomcat’s server.xml file and be sure your connector is setup properly to look something like

<Connector port=“8090” protocol=“HTTP/1.1” proxyPort=“443” scheme=“https” address=“127.0.0.1”

connectionTimeout=“20000”

URIEncoding=“UTF-8”

redirectPort=“8443” />

Regards,

Jason

···

On Tue, Oct 11, 2016 at 1:46 PM, Greg Rowles greg.rowles@gmail.com wrote:

Hi Jan,

JSON file attached…

Regards,

Greg


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

On Tue, Oct 11, 2016 at 1:42 PM, Jan Henrik Øverland jan@dhis2.org wrote:

Hi Greg,

What do you get here: https://sanac.hisp.org/staging/api/system/info.json → contextPath ?


Health Information Systems Program - South Africa

**- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - **

Mobile : 073 246 2992
Landline: 021 851 2216

Skype: gregory_rowles

On 11 October 2016 at 13:32, Greg Rowles greg.rowles@gmail.com wrote:

Hi Devs

We moved our DHIS2 to an HTTPS domain but we’re unable to view pivot tables (pls see attached console errors). Any suggestions?

Greg


Health Information Systems Program - South Africa

**- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - **

Mobile : +27 73 246 2992
Landline: +27 21 851 2216

Skype: gregory_rowles


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

Jan Henrik Øverland

Software developer, DHIS 2

University of Oslo

http://www.dhis2.org

Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049

1 Like

Hi Greg,

it could be a problem with tomcat connector scheme like Jason suggests, or with nginx proxy_pass config, see the install docs:

proxy_set_header X-Forwarded-Proto https;

https://dhis2.github.io/dhis2-docs/master/en/implementer/html/install_reverse_proxy_configuration.html#install_enabling_ssl_on_nginx

···

On Tue, Oct 11, 2016 at 1:52 PM, Jason Pickering jason.p.pickering@gmail.com wrote:

Hi Greg,
Not sure exactly what the problem could be, but you may want to have a look at Tomcat’s server.xml file and be sure your connector is setup properly to look something like

<Connector port=“8090” protocol=“HTTP/1.1” proxyPort=“443” scheme=“https” address=“127.0.0.1”

connectionTimeout=“20000”

URIEncoding=“UTF-8”

redirectPort=“8443” />

Regards,

Jason


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

On Tue, Oct 11, 2016 at 1:46 PM, Greg Rowles greg.rowles@gmail.com wrote:

Hi Jan,

JSON file attached…

Regards,

Greg


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

Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049

On Tue, Oct 11, 2016 at 1:42 PM, Jan Henrik Øverland jan@dhis2.org wrote:

Hi Greg,

What do you get here: https://sanac.hisp.org/staging/api/system/info.json → contextPath ?


Health Information Systems Program - South Africa

**- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - **

Mobile : 073 246 2992
Landline: 021 851 2216

Skype: gregory_rowles

On 11 October 2016 at 13:32, Greg Rowles greg.rowles@gmail.com wrote:

Hi Devs

We moved our DHIS2 to an HTTPS domain but we’re unable to view pivot tables (pls see attached console errors). Any suggestions?

Greg


Health Information Systems Program - South Africa

**- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - **

Mobile : +27 73 246 2992
Landline: +27 21 851 2216

Skype: gregory_rowles


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

Jan Henrik Øverland

Software developer, DHIS 2

University of Oslo

http://www.dhis2.org

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

1 Like

Thank you everyone, changes to tomcat connector scheme worked!

Kind regards,

···

On Tue, Oct 11, 2016 at 1:57 PM, Lars Helge Øverland lars@dhis2.org wrote:

Hi Greg,

it could be a problem with tomcat connector scheme like Jason suggests, or with nginx proxy_pass config, see the install docs:

proxy_set_header X-Forwarded-Proto https;

https://dhis2.github.io/dhis2-docs/master/en/implementer/html/install_reverse_proxy_configuration.html#install_enabling_ssl_on_nginx

On Tue, Oct 11, 2016 at 1:52 PM, Jason Pickering jason.p.pickering@gmail.com wrote:

Hi Greg,
Not sure exactly what the problem could be, but you may want to have a look at Tomcat’s server.xml file and be sure your connector is setup properly to look something like

<Connector port=“8090” protocol=“HTTP/1.1” proxyPort=“443” scheme=“https” address=“127.0.0.1”

connectionTimeout=“20000”

URIEncoding=“UTF-8”

redirectPort=“8443” />

Regards,

Jason


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

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

On Tue, Oct 11, 2016 at 1:46 PM, Greg Rowles greg.rowles@gmail.com wrote:

Hi Jan,

JSON file attached…

Regards,

Greg


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

Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049

On Tue, Oct 11, 2016 at 1:42 PM, Jan Henrik Øverland jan@dhis2.org wrote:

Hi Greg,

What do you get here: https://sanac.hisp.org/staging/api/system/info.json → contextPath ?


Health Information Systems Program - South Africa

**- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - **

Mobile : 073 246 2992
Landline: 021 851 2216

Skype: gregory_rowles

On 11 October 2016 at 13:32, Greg Rowles greg.rowles@gmail.com wrote:

Hi Devs

We moved our DHIS2 to an HTTPS domain but we’re unable to view pivot tables (pls see attached console errors). Any suggestions?

Greg


Health Information Systems Program - South Africa

**- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - **

Mobile : +27 73 246 2992
Landline: +27 21 851 2216

Skype: gregory_rowles


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

Jan Henrik Øverland

Software developer, DHIS 2

University of Oslo

http://www.dhis2.org

Health Information Systems Program - South Africa

**- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - **

Mobile : 073 246 2992
Landline: 021 851 2216

Skype: gregory_rowles