newtonandebe / opendatakit

Automatically exported from code.google.com/p/opendatakit
0 stars 0 forks source link

https form download failing #235

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
"i've just put up my instance of Aggregate on the apps engine. I set up a 
'survey' user with formAdmin and submitter permissions.

From my tablet's ODK collect I can log into the https site no problem and get a 
list of available forms, however when I try to download the form it declares a 
null result.

Have I set things up wrong or is this a bug? I'm using ODK collect Beta 2 and 
Aggregate v1.0.

the Aggregate site is at https://matrix-env-scan.appspot.com/"

the stack trace is attached, but it's caused by a CircularRedirectException at 
DownloadFormsTask.java:260. this feels like an aggregate, but i've cc'ed carl 
so we catch the exception.

Original issue reported on code.google.com by yanokwa on 22 Jun 2011 at 6:21

Attachments:

GoogleCodeExporter commented 9 years ago
You can verify that it isn't a circularity in the server by opening a browser 
and pasting in the URL.  If the browser complains, it is a server issue and a 
regression.

I found that the httpclient layer would handle the redirect to the https 
connection, and then, if you tried later to communicate on the http: 
connection, it would throw this exception.  So you needed to remember whether 
or not you needed to use https.  I wasn't able to figure out how to 
pro-actively discover whether you needed to use https or not.

Original comment by mitchellsundt@gmail.com on 23 Jun 2011 at 12:10

GoogleCodeExporter commented 9 years ago

Original comment by yanokwa on 24 Jul 2011 at 3:36

GoogleCodeExporter commented 9 years ago

Original comment by yanokwa on 24 Jul 2011 at 3:48