Error on Downloading Forms

Dear ODKers,

I am facing a problem when trying to download forms in my Aggregate
server v1.04. From within the institutions network (work) my Aggregate
server is on 192.168.x.y. I can set ODK collect to download forms and
submit forms, no problem. However from outside the institution, I
asked the IT department to give the aggregate server a public IP so it
is accessible from outside. So now I have a public IP 41.59.7.xyz:9092
which when I navigate from my samsung galaxy I get the lovely Apache
Tomcat welcome screen, however when I navigate to 41.59.7.xyz:9092/
ODKAggregate, the Galaxy tab automatically reconfigures the IP to the
original 192.168.x.y/ODKAggregate (which of course is only accessible
from within the institutes network, not outside). Even when I go to
ODK Collect-> Preferences->Server and set this to http://41.59.7.xyz:9092,
then I go to download foms, I can access and see forms on the server,
however when I try download the form ODKCollect tells me (after a bit
of a wait) "Download Result: Elephant Death Form - Connect to /
192.168.x.y:80 timed out" - it seems even Collect is resolving to the
internal IP rather than the public IP I set in Collects preferences.
Does anyone know why that is and what I can do to remedy that?

Thanks in advance,
Tumaini

You need to re-run the ODK Aggregate installer and specify the public IP
address or specify a more friendly CNAME bound to that address (your IT
folks will know what that is) where it asks for the fully-qualified
hostname (When you first ran the installer, you had specified the internal
IP address for the server at this prompt).

The redirect you are seeing ensures that the server is accessed through
whatever the fully-qualified hostname is. This ensures that browser cookies
and HTTPS work consistently. Without this, there are a number of odd edge
cases that give unexpected behaviors.

Mitch

ยทยทยท On Thu, Feb 9, 2012 at 4:26 AM, Tumaini Kilimba wrote:

Dear ODKers,

I am facing a problem when trying to download forms in my Aggregate
server v1.04. From within the institutions network (work) my Aggregate
server is on 192.168.x.y. I can set ODK collect to download forms and
submit forms, no problem. However from outside the institution, I
asked the IT department to give the aggregate server a public IP so it
is accessible from outside. So now I have a public IP 41.59.7.xyz:9092
which when I navigate from my samsung galaxy I get the lovely Apache
Tomcat welcome screen, however when I navigate to 41.59.7.xyz:9092/
ODKAggregate, the Galaxy tab automatically reconfigures the IP to the
original 192.168.x.y/ODKAggregate (which of course is only accessible
from within the institutes network, not outside). Even when I go to
ODK Collect-> Preferences->Server and set this to http://41.59.7.xyz:9092,
then I go to download foms, I can access and see forms on the server,
however when I try download the form ODKCollect tells me (after a bit
of a wait) "Download Result: Elephant Death Form - Connect to /
192.168.x.y:80 timed out" - it seems even Collect is resolving to the
internal IP rather than the public IP I set in Collects preferences.
Does anyone know why that is and what I can do to remedy that?

Thanks in advance,
Tumaini

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com