← Back to team overview

dhis2-users team mailing list archive

Re: mixed active content

 

Hi there,

ideally you should serve everything over SSL and set scheme="https" on the
Tomcat http connector. That will make DHIS understand that its running on
HTTPS.

As far as I can remember we have improved how this is detected in later
versions so updating to 2.18 could help.

regards,

Lars


On Thu, Feb 19, 2015 at 9:33 AM, <alexandre.vanobberghen@xxxxxxxxx> wrote:

> Hi Lars,
>
> Thanks for your prompt response.
> Indeed, I checked with the server admin, here is the response:
>
> "Tomcat serves the content unencrypted (http) over port 8080. On ports 80
> (http) and 443 (https) runs an Apache HTTP web server which acts as a
> redirecting proxy:
>
>  80 -> 443
>  443 -> 8080
>
>  We do this to enable both non-Tomcat content (HTML, PHP, CGI...) and
> Tomcat content to be available on port 443."
>
> So, just to confirm, once we update our server to Java 7 and DHIS2 to
> version 2.18, I would have the same issue, correct?
>
> Thanks,
> Alex
>
>
>
> From:        Lars Helge Øverland <larshelge@xxxxxxxxx>
> To:        Alexandre Vanobberghen <alexandre.vanobberghen@xxxxxxxxx>
> Cc:        DHIS 2 Users list <dhis2-users@xxxxxxxxxxxxxxxxxxx>
> Date:        12.02.2015 17:05
> Subject:        Re: [Dhis2-users] mixed active content
> ------------------------------
>
>
>
> Hi Alex,
>
> its hard to say, but DHIS believes you are serving the system on http
> instead of https, see here:
>
> *https://jbox.tph.unibas.ch/dhis-1.15-maybe/api/system/info*
> <https://jbox.tph.unibas.ch/dhis-1.15-maybe/api/system/info>
>
> Check your tomcat config and see if you have
>
> scheme="https"
>
> on the http connector.
>
>
> Lars
>
>
>
> On Thu, Feb 12, 2015 at 4:27 PM, <*alexandre.vanobberghen@xxxxxxxxx*
> <alexandre.vanobberghen@xxxxxxxxx>> wrote:
> Hi all,
>
> We installed DHIS2 v2.15 on a Red Hat server, it is all fine apart from
> the visualizer, the maps and pivot table modules, for which I get a blank
> page.
> Here is the browser's console outputs (Firefox):
>
> Blocked loading mixed active content "
> *http://jbox.tph.unibas.ch/dhis-1.15-maybe/api/i18n?package=org.hisp.dhis.visualizer*
> <http://jbox.tph.unibas.ch/dhis-1.15-maybe/api/i18n?package=org.hisp.dhis.visualizer>
> "
>
> So I've read about mixed active contents, but I'd appreciate if anyone had
> an idea of where and how to solve this, i.e. how do I turn those http
> requests into https request.
>
> Thanks for your help
> Alex
>
> --------------------------------------------------------------------------
> This email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are addressed.
> If you have received this email in error, please notify us immediately by
> reply e-mail and delete this message from your system.
> --------------------------------------------------------------------------
>
> _______________________________________________
> Mailing list: *https://launchpad.net/~dhis2-users*
> <https://launchpad.net/~dhis2-users>
> Post to     : *dhis2-users@xxxxxxxxxxxxxxxxxxx*
> <dhis2-users@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : *https://launchpad.net/~dhis2-users*
> <https://launchpad.net/~dhis2-users>
> More help   : *https://help.launchpad.net/ListHelp*
> <https://help.launchpad.net/ListHelp>
>
>
>
>
> --------------------------------------------------------------------------
> This email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are addressed.
> If you have received this email in error, please notify us immediately by
> reply e-mail and delete this message from your system.
> --------------------------------------------------------------------------

References