Folks,
sorry to disturb your day. I'm sure you're tired of this by now.
I've done a lot of googling about this error. I've tried a lot of things.
Ok, let's go.
Preample - my setup
First, I'm running a VirtualBox VM with Slackware 14.2 - it's what I am
accustomed to.
I have
root@rad:~# java -version
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) Client VM (build 25.131-b11, mixed mode)
I am running ODK Collect ver 1.5.1.apk on my Android tablet.
I am running ODK Aggregate v1.4.13 linux-installer.run on my Tomcat
server.
I used ODK Validate 1.4.9 for ODK Collect v1.4.9 and newer.jar to
validate my sample.xml.
I am running
apache-tomcat-8.5.14.
Sample form loaded onto ODKAggregate service
The Problem
This is what happens when I try to upload a sample form to the ODKAggregate
service
This is what happened when I tried to get a form from the ODKAggregate
service, so I had to resort to mounting the SD card over USB to get
sample.xml into /sdcard/odk/forms
How my Android tablet is setup for ODK CollectThese are the General
Settings on my Android device
This is the actual sample form (which loads ok from /sdcard/odk/forms)
I ran ODKValidate on the sample form, just to be sure
My log,* /opt/tomcat/logs/localhost_acc**ess_log.2017-04-22.txt* has this
everytime I try to upload the sample form.
-
- [22/Apr/2017:19:58:18 -0400] "HEAD
/submission?deviceID=android_id%3Ae3437b61f5790a0d HTTP/1.1" 404 -
- [22/Apr/2017:19:58:18 -0400] "HEAD
-
- [22/Apr/2017:19:58:18 -0400] "POST
/submission?deviceID=android_id%3Ae3437b61f5790a0d HTTP/1.1" 404 1080
- [22/Apr/2017:19:58:18 -0400] "POST
Sadly, I know nothing about java. Yes, my fault. But, I cannot find
"submission" anywhere in the entire filesystem, so I'm assuming this is a
method being called somehow by java to process the deviceID for some
reason.
These are the Android device settings.
Not an expert with tcpdump, but I tried so a couple of packet capture files
are attached.
I ran
tcpdump "dst port 8080" -w /tmp/my.dump
tcpdump -w /tmp/my.dump4
I ran these while attempting to upload the sample form to my ODKAggregate
server.
NB: at that time, I changed the General Settings from
http://lightpole512.ddns.net:8080 to http://192.168.100.10:8080 to avoid
any DNS issues. (Tearing my hair out here) That didn't change anything.
I've attempted to access the URL from the error message in my desktop
browser with the following result :-
When I use the Android tablet's browser to access the same URL, I get a
similar result :-
When I connect the Android tablet via USB to my PC, and copy
/odk/instances/* to my PC, I can then upload the finalised sample form &
its data files to my ODKAggregate service. The forms loaded properly and
can even be graphed. Recordings play back correctly, etc.
So, my problem is in uploading the finalised form to my ODKAggregate
service using the ODK Collect Send Selected button.
Can anyone point me in the right direction, please?
Thanks,
Seth
my.dump (2.81 KB)
sample.xml (25.7 KB)