ODK Authentication stops working on ODK Collect for no apparent reason

We are running ODK Aggregate (v1.2.0) on our own server and it all seems to
work fine. We have set up ODK authenticated Data Collector users in
Aggregate and matched those credentials as stored username/password
settings on the ODK Collect (v1.2.1) app on our Android devices. Doing a
"Get Blank Form" works fine with those credentials and we get the form
uploaded onto the Android device. "Fill Blank Form" works fine and we can
finish and finalize forms with no problems.

However, when it comes time to "Send Finalized Form", the Android phone
reports an authentication error (despite the credentials being correct)
against the Aggregate server and asks for a username and password to be
entered. I can type in any valid username and password and it still will
not send the form. All sets of credentials are in fact valid and work fine
when we use a web browser to log in to Aggregate itself.

The only way we seem to be able to fix it is to do another "Get Blank Form"
and re-upload the same form. Magically the "Send Finalized Form" starts
working again with no change to the stored username/password settings.

Can anyone think of a reason why this might occur? (..and how we might stop
it happening?)

Thanks

Evan Yates

Evan,

I have filed an issue for the ODK team to look into to the problem.

http://code.google.com/p/opendatakit/issues/detail?id=692

If you want to follow the progress simply star the issue and you will get
email updates.

It would be helpful if you record Androids log when this occurs so we can
see an error if any is occurring.

See the FAQ : How do I get a stack trace or log after an Android "Force
Close"? for instructions:
http://opendatakit.org/help/faq/

You can attach/upload the log to the issue above.

Thanks,
Waylon

ยทยทยท On Tue, Sep 25, 2012 at 6:29 PM, EvanYates wrote:

We are running ODK Aggregate (v1.2.0) on our own server and it all seems
to work fine. We have set up ODK authenticated Data Collector users in
Aggregate and matched those credentials as stored username/password
settings on the ODK Collect (v1.2.1) app on our Android devices. Doing a
"Get Blank Form" works fine with those credentials and we get the form
uploaded onto the Android device. "Fill Blank Form" works fine and we can
finish and finalize forms with no problems.

However, when it comes time to "Send Finalized Form", the Android phone
reports an authentication error (despite the credentials being correct)
against the Aggregate server and asks for a username and password to be
entered. I can type in any valid username and password and it still will
not send the form. All sets of credentials are in fact valid and work fine
when we use a web browser to log in to Aggregate itself.

The only way we seem to be able to fix it is to do another "Get Blank
Form" and re-upload the same form. Magically the "Send Finalized Form"
starts working again with no change to the stored username/password
settings.

Can anyone think of a reason why this might occur? (..and how we might
stop it happening?)

Thanks

Evan Yates

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