Re: [Dhis2-devs] App Installation - SSL issue

2016-02-17 Thread Lorill Crees
Thanks all for your help with this. I will take a look at the config pieces you mentioned. Cheers, Lorill On Wed, Feb 17, 2016 at 4:08 AM, Lars Helge Ă˜verland wrote: > > Hi Lorill, > > DHIS 2 is looking at a header in the web request called X-Forwarded-Proto > when determining the protocol. >

Re: [Dhis2-devs] App Installation - SSL issue

2016-02-17 Thread Lars Helge Ă˜verland
Hi Lorill, DHIS 2 is looking at a header in the web request called X-Forwarded-Proto when determining the protocol. Are you running behind nginx? Could you check that this directive is part of the location block which proxy passes to Tomcat? Or, at least make sure this directive is not set to htt

Re: [Dhis2-devs] App Installation - SSL issue

2016-02-16 Thread Jason Pickering
Hi Lorill, I think you need to modify the Tomcat server.xml file to get this to work properly. I usually add an additional connector and then point the reverse proxy to that. Regards Jason On Wed, Feb 17, 2016 at 6:40 AM, Morten Olav Hansen wrote: > Ok, sounds like you have a misconf

Re: [Dhis2-devs] App Installation - SSL issue

2016-02-16 Thread Morten Olav Hansen
Ok, sounds like you have a misconfigured reverse proxy? How is the internal instance set up? is it directly tomcat, or do you have apache or nginx in front of it? On Wed, Feb 17, 2016 at 12:35 PM, Lorill Crees wrote: > Yes - I can go directly to the app if I change the url to http, but within >

Re: [Dhis2-devs] App Installation - SSL issue

2016-02-16 Thread Lorill Crees
Yes - I can go directly to the app if I change the url to http, but within the apps other things related to urls are messed up. The icons in the app menu for manually installed apps also point to https so they don't show up, but I can manually navigate to the icons by using the url with http. The n

Re: [Dhis2-devs] App Installation - SSL issue

2016-02-16 Thread Morten Olav Hansen
Hm, ok. I haven't seen that issue before. So the app shows up, just that the link in the menu is wrong? What if you go there directly, /api/apps/{app-name} ? On Wed, Feb 17, 2016 at 12:08 PM, Lorill Crees wrote: > Hi Morten, > > Yes - the baseUrl is set to *. > > Lorill > > On Tue, Feb 16, 2016

Re: [Dhis2-devs] App Installation - SSL issue

2016-02-16 Thread Lorill Crees
Hi Morten, Yes - the baseUrl is set to *. Lorill On Tue, Feb 16, 2016 at 6:17 PM, Morten Olav Hansen wrote: > Hi > > Could you have a look at your manifest file and see what the baseUrl is > set to? for 2.22 it should just be * > > On Wed, Feb 17, 2016 at 7:03 AM, Lorill Crees wrote: > >> Hi,

Re: [Dhis2-devs] App Installation - SSL issue

2016-02-16 Thread Morten Olav Hansen
Hi Could you have a look at your manifest file and see what the baseUrl is set to? for 2.22 it should just be * On Wed, Feb 17, 2016 at 7:03 AM, Lorill Crees wrote: > Hi, > > We have set up an internal test instance of DHIS 2 that is not running via > ssl. When installing apps into the instance

[Dhis2-devs] App Installation - SSL issue

2016-02-16 Thread Lorill Crees
Hi, We have set up an internal test instance of DHIS 2 that is not running via ssl. When installing apps into the instance, it is not able to load any of the apps or resources because it is redirecting to a path of https instead of http. eg: our website: http://[server] installed app is attempt