Port Forwarding Aggregate Install: Unexpected redirection attempt to (local IP address)

Hi there,

So I'm trying to set up port forwarding what it seems should be a simple system (home router, just one router then the world wide wed).

I have tomcat running on 8080. Works fine on LAN with my local IP address 192.168....:8080

So I set up the port forwarding on the router's admin page. I do have the external IP address (24.53...) & internal one.

From another connection (e.g. not the LAN), I set up collect to connect to the external address with the forwarded port (e.g. 24.53...:8080, which is set to be redirected to my local address 192.168... on the same port as that's the port on which tomcat is running Aggregate).

If I try "get blank form", I do get the form list on my server. HOwever, if I try to download one, I get a timeout.

I also tried to push the form through USB & send it (again through external address). THen I get: "Unexpected redirection attempt to a different host: (192.168...:8080/submission).

So the port forwarding seems to be working (e.g. I get access to the form list) but it seems that Collect balks at the attempt to forward the port? Anyone got something similar?

When you run the installer, you need to specify the IP address that will be
"public" and used by ODK Collect. So you should specify the 24.53...
address when running the installer, and not the local NAT address
(192.168...).

The form list contains fully-qualified URLs for the actual form
definitions. The URLs are constructed using the hostname (IP address)
supplied when you ran the installer.

ยทยทยท On Wed, May 13, 2015 at 8:55 PM, wrote:

Hi there,

So I'm trying to set up port forwarding what it seems should be a simple
system (home router, just one router then the world wide wed).

I have tomcat running on 8080. Works fine on LAN with my local IP address
192.168....:8080

So I set up the port forwarding on the router's admin page. I do have the
external IP address (24.53...) & internal one.

From another connection (e.g. not the LAN), I set up collect to connect to
the external address with the forwarded port (e.g. 24.53...:8080, which is
set to be redirected to my local address 192.168... on the same port as
that's the port on which tomcat is running Aggregate).

If I try "get blank form", I do get the form list on my server. HOwever,
if I try to download one, I get a timeout.

I also tried to push the form through USB & send it (again through
external address). THen I get: "Unexpected redirection attempt to a
different host: (192.168...:8080/submission).

So the port forwarding seems to be working (e.g. I get access to the form
list) but it seems that Collect balks at the attempt to forward the port?
Anyone got something similar?

--

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


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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