mixed active content=20

Hi Alex,=20

its hard to say, but DHIS believes you are serving the system on http=20
instead of https, see here:=20

https://jbox.tph.unibas.ch/dhis-1.15-maybe/api/system/info=20

Check your tomcat config and see if you have=20

scheme=3D"https"=20

on the http connector.=20

Lars=20
=20

On Thu, Feb 12, 2015 at 4:27 PM, <alexandre.vanobberghen@unibas.ch> wrote: =

Hi all,=20

We installed DHIS2 v2.15 on a Red Hat server, it is all fine apart from=20
the visualizer, the maps and pivot table modules, for which I get a blank=20
page.=20
Here is the browser's console outputs (Firefox):=20

Blocked loading mixed active content "
http://jbox.tph.unibas.ch/dhis-1.15-maybe/api/i18n?package=3Dorg.hisp.dhis.=
visualizer
"=20

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=20
requests into https request.=20

Thanks for your help=20
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=20
reply e-mail and delete this message from your system.
--------------------------------------------------------------------------

=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
Mailing list: DHIS 2 Users in Launchpad
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : DHIS 2 Users in Launchpad
More help : ListHelp - Launchpad Help

--------------------------------------------------------------------------
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=20
reply e-mail and delete this message from your system.
--------------------------------------------------------------------------

--------------------------------------------------------------------------
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=20
reply e-mail and delete this message from your system.
--------------------------------------------------------------------------
--=_alternative 004D250BC1257DF1_=
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

<font size=3D2 face=3D"Arial">Thanks Lars, that's helpful.</font>
<br>
<br><font size=3D2 face=3D"Arial">Best regards,</font>
<br><font size=3D2 face=3D"Arial">Alex</font>
<br>
<br>
<br>
<br><font size=3D1 color=3D#5f5f5f face=3D"sans-serif">From: &nbsp; &nbsp; =
&nbsp;
&nbsp;</font><font size=3D1 face=3D"sans-serif">Lars Helge =D8verland
&lt;larshelge@gmail.com&gt;</font>
<br><font size=3D1 color=3D#5f5f5f face=3D"sans-serif">To: &nbsp; &nbsp; &n=
bsp;
&nbsp;</font><font size=3D1 face=3D"sans-serif">Alexandre Vanobberghen
&lt;alexandre.vanobberghen@unibas.ch&gt;</font>
<br><font size=3D1 color=3D#5f5f5f face=3D"sans-serif">Cc: &nbsp; &nbsp; &n=
bsp;
&nbsp;</font><font size=3D1 face=3D"sans-serif">DHIS 2 Users list &lt;dhis2=
-users@lists.launchpad.net&gt;</font>
<br><font size=3D1 color=3D#5f5f5f face=3D"sans-serif">Date: &nbsp; &nbsp; =
&nbsp;
&nbsp;</font><font size=3D1 face=3D"sans-serif">19.02.2015 14:57</font>
<br><font size=3D1 color=3D#5f5f5f face=3D"sans-serif">Subject: &nbsp; &nbs=
p;
&nbsp; &nbsp;</font><font size=3D1 face=3D"sans-serif">Re: [Dhis2-users]
mixed active content</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=3D3>Hi there, </font>
<br>
<br><font size=3D3>ideally you should serve everything over SSL and set </f=

<font size=3D2>scheme=3D&quot;https&quot;

on the Tomcat http connector. That will make DHIS understand that its runni=
ng
on HTTPS.</font>
<br>
<br><font size=3D2>As far as I can remember we have improved how this is
detected in later versions so updating to 2.18 could help.</font>
<br>
<br><font size=3D2>regards,</font>
<br>
<br><font size=3D2>Lars</font>
<br>
<br>
<br><font size=3D3>On Thu, Feb 19, 2015 at 9:33 AM, &lt;</font><a href=3Dma=
ilto:alexandre.vanobberghen@unibas.ch target=3D=5Fblank><font size=3D3 colo=
r=3Dblue><u>alexandre.vanobberghen@unibas.ch</u></font></a><font size=3D3>&=
gt;
wrote:</font>
<br><font size=3D3 face=3D"Arial">Hi Lars,</font><font size=3D3> <br>
</font><font size=3D3 face=3D"Arial"><br>
Thanks for your prompt response.</font><font size=3D3> </font><font size=3D=
3 face=3D"Arial"><br>
Indeed, I checked with the server admin, here is the response: </font><font=
size=3D3><br>
</font><font size=3D3 face=3D"Arial"><br>
&quot;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:</font><font size=3D3> <br>
</font><font size=3D3 face=3D"Arial"><br>
80 -&gt; 443</font><font size=3D3> </font><font size=3D3 face=3D"Arial"><b=

443 -&gt; 8080</font><font size=3D3> <br>
</font><font size=3D3 face=3D"Arial"><br>
We do this to enable both non-Tomcat content (HTML, PHP, CGI...) and Tomcat
content to be available on port 443.&quot;</font><font size=3D3> <br>
</font><font size=3D3 face=3D"Arial"><br>
So, just to confirm, once we update our server to Java 7 and DHIS2 to versi=
on
2.18, I would have the same issue, correct?</font><font size=3D3> <br>
</font><font size=3D3 face=3D"Arial"><br>
Thanks,</font><font size=3D3> </font><font size=3D3 face=3D"Arial"><br>
Alex</font><font size=3D3> <br>
<br>
<br>
</font><font size=3D1 color=3D#5f5f5f face=3D"sans-serif"><br>
From: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=3D1 face=3D"sans-serif">=
Lars
Helge =D8verland &lt;</font><a href=3Dmailto:larshelge@gmail.com target=3D=
=5Fblank><font size=3D1 color=3Dblue face=3D"sans-serif"><u>larshelge@gmail=
.com</u></font></a><font size=3D1 face=3D"sans-serif">&gt;</font><font size=
=3D3>
</font><font size=3D1 color=3D#5f5f5f face=3D"sans-serif"><br>
To: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=3D1 face=3D"sans-serif">Al=
exandre
Vanobberghen &lt;</font><a href=3Dmailto:alexandre.vanobberghen@unibas.ch t=
arget=3D=5Fblank><font size=3D1 color=3Dblue face=3D"sans-serif"><u>alexand=
re.vanobberghen@unibas.ch</u></font></a><font size=3D1 face=3D"sans-serif">=
&gt;</font><font size=3D3>
</font><font size=3D1 color=3D#5f5f5f face=3D"sans-serif"><br>
Cc: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=3D1 face=3D"sans-serif">DH=
IS
2 Users list &lt;</font><a href=3D"mailto:dhis2-users@lists.launchpad.net" =
target=3D=5Fblank><font size=3D1 color=3Dblue face=3D"sans-serif"><u>dhis2-=
users@lists.launchpad.net</u></font></a><font size=3D1 face=3D"sans-serif">=
&gt;</font><font size=3D3>
</font><font size=3D1 color=3D#5f5f5f face=3D"sans-serif"><br>
Date: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=3D1 face=3D"sans-serif">=
12.02.2015
17:05</font><font size=3D3> </font><font size=3D1 color=3D#5f5f5f face=3D"s=
ans-serif"><br>
Subject: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=3D1 face=3D"sans-seri=
f">Re:
[Dhis2-users] mixed active content</font><font size=3D3> <br>
</font>
<hr noshade><font size=3D3><br>
<br>
<br>
Hi Alex, <br>
<br>
its hard to say, but DHIS believes you are serving the system on http inste=
ad
of https, see here: <br>
</font><font size=3D3 color=3Dblue><u><br>
</u></font><a href=3D"https://jbox.tph.unibas.ch/dhis-1.15-maybe/api/system=
/info" target=3D=5Fblank><font size=3D3 color=3Dblue><u>https://jbox.tph.un=
ibas.ch/dhis-1.15-maybe/api/system/info</u></font></a><font size=3D3>
<br>
<br>
Check your tomcat config and see if you have <br>
<br>
scheme=3D&quot;https&quot; <br>
<br>
on the http connector. <br>
<br>
<br>
Lars <br>
&nbsp;<br>
<br>
<br>
On Thu, Feb 12, 2015 at 4:27 PM, &lt;</font><a href=3Dmailto:alexandre.vano=
bberghen@unibas.ch target=3D=5Fblank><font size=3D3 color=3Dblue><u>alexand=
re.vanobberghen@unibas.ch</u></font></a><font size=3D3>&gt;
wrote: </font>
<br><font size=3D3 face=3D"Arial">Hi all,</font><font size=3D3> </font><fon=
t size=3D3 face=3D"Arial"><br>
<br>
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.</font><font size=3D3> </font><font size=3D3 face=3D"Arial"><br>
Here is the browser's console outputs (Firefox):</font><font size=3D3> </fo=

<font size=3D3 face=3D"Arial"><br>

<br>
Blocked loading mixed active content &quot;</font><a href=3D"http://jbox.tp=
h.unibas.ch/dhis-1.15-maybe/api/i18n?package=3Dorg.hisp.dhis.visualizer" ta=
rget=3D=5Fblank><font size=3D3 color=3Dblue face=3D"Arial"><u>http://jbox.t=
ph.unibas.ch/dhis-1.15-maybe/api/i18n?package=3Dorg.hisp.dhis.visualizer</u=

</font></a><font size=3D3 face=3D"Arial">&quot;</font><font size=3D3>

</font><font size=3D3 face=3D"Arial"><br>
<br>
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.</font><font size=3D3> </font><font size=3D3 fa=
ce=3D"Arial"><br>
<br>
Thanks for your help</font><font size=3D3> </font><font size=3D3 face=3D"Ar=
ial"><br>
Alex</font><font size=3D3 face=3D"sans-serif"><br>
<br>
--------------------------------------------------------------------------<=

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.<br>
--------------------------------------------------------------------------<=
/font>
<br><font size=3D3><br>
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F<br>
Mailing list: </font><a href=3D"https://launchpad.net/~dhis2-users&quot; target=
=3D=5Fblank><font size=3D3 color=3Dblue><u>https://launchpad.net/~dhis2-use=
rs</u></font></a><font size=3D3><br>
Post to &nbsp; &nbsp; : </font><a href=3D"mailto:dhis2-users@lists.launchpa=
d.net" target=3D=5Fblank><font size=3D3 color=3Dblue><u>dhis2-users@lists.l=
aunchpad.net</u></font></a><font size=3D3><br>
Unsubscribe : </font><a href=3D"https://launchpad.net/~dhis2-users&quot; target=
=3D=5Fblank><font size=3D3 color=3Dblue><u>https://launchpad.net/~dhis2-use=
rs</u></font></a><font size=3D3><br>
More help &nbsp; : </font><a href=3Dhttps://help.launchpad.net/ListHelp tar=
get=3D=5Fblank><font size=3D3 color=3Dblue><u>https://help.launchpad.net/Li=
stHelp</u></font></a><font size=3D3><br>
<br>
</font><font size=3D3 face=3D"sans-serif"><br>
<br>
<br>
--------------------------------------------------------------------------<=

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.<br>
--------------------------------------------------------------------------<=
/font>
<br>
<br><font size=3D2 face=3D"sans-serif"><br>
<br>
--------------------------------------------------------------------------<=

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.<br>
--------------------------------------------------------------------------<=
/font>
--=_alternative 004D250BC1257DF1_=--