← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 1188646] [NEW] web api has invlalid URLS

 

We saw the same behavior, the solution was to make sure the hostname for the server was set properly. 
The instructions for how to do this vary by OS and distribution. 

Dan Cocos
BAO Systems 

On Jun 7, 2013, at 12:28 PM, Jason Pickering <jason.p.pickering@xxxxxxxxx> wrote:

> Seems more like a container issue to me. Are you using Tomcat or Jetty? 
> 
> 
> On Fri, Jun 7, 2013 at 4:53 PM, Carl Leitner <cleitner@xxxxxxxxxxxxxxx> wrote:
> Public bug reported:
> 
> I am running version 2.10 build 9124.
> 
> The URLs for the web api are incorrect.  They all are of the form:
>    http://localhost:8080/api/BLAH
> instead of using the base URL for the DHIS2 install.
> 
> ** Affects: dhis2
>      Importance: Undecided
>          Status: New
> 
> --
> You received this bug notification because you are a member of DHIS 2
> developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/1188646
> 
> Title:
>   web api has invlalid URLS
> 
> Status in DHIS 2 - District Health Information Software:
>   New
> 
> Bug description:
>   I am running version 2.10 build 9124.
> 
>   The URLs for the web api are incorrect.  They all are of the form:
>      http://localhost:8080/api/BLAH
>   instead of using the base URL for the DHIS2 install.
> 
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/1188646/+subscriptions
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp


References