Hi,
We are running a local version of Commcare-Hq but forms that include images
are not being uploaded to the server. The Android client in use is the
latest one available from the Play Store. Kindly assist.
Hi,
We are running a local version of Commcare-Hq but forms that include images
are not being uploaded to the server. The Android client in use is the
latest one available from the Play Store. Kindly assist.
Sorry the log from Android is as follows:
On Tuesday, December 17, 2013 2:16:57 PM UTC+3, Muniu Kariuki wrote:
Hi,
We are running a local version of Commcare-Hq but forms that include
images are not being uploaded to the server. The Android client in use is
the latest one available from the Play Store. Kindly assist.
Hi Muniu,
Can you check what your submission URLs are in the application? These need
to be customized on your server.
Cory
Sorry the log from Android is as follows:
- 12-17 11:23:19.578: D/SizeAdaptiveLayout(2128):
com.android.internal.widget.SizeAdaptiveLayout@4236f270child view
android.widget.RelativeLayout@41f664b8 measured out of bounds at 80px
clamped to 96px- 12-17 11:23:19.578: I/System.out(15928): Added file:
1387265021939.jpg. Bytes to send: 2687716- 12-17 11:23:19.578: I/System.out(15928): Added file:
5a920ddd9ad56cf26628f3a097ee8cb6dd6d4ab7_2013-12-17_10-23-24.xml. Bytes to
send: 2688516- 12-17 11:23:19.588: I/System.out(15928): Added file:
submission.xml. Bytes to send: 2689316- 12-17 11:23:19.588: D/WindowManager(2020): PhoneWindowManager:
focusChangedLw- 12-17 11:23:19.598: I/p+a+s(15928): added image file
1387265021939.jpg- 12-17 11:23:19.608: D/KeyguardViewMediator(2020): setHidden false
- 12-17 11:23:19.628: D/KeyguardViewMediator(2020): setHidden false
- 12-17 11:23:19.628: I/libblt_hw(1673): Library opened (handle = 1,
fd = 45)- 12-17 11:23:19.628: D/KeyguardViewMediator(2020): setHidden false
- 12-17 11:24:02.041: D/SizeAdaptiveLayout(2128):
com.android.internal.widget.SizeAdaptiveLayout@4236f270child view
android.widget.RelativeLayout@41f664b8 measured out of bounds at 80px
clamped to 96px- 12-17 11:24:07.326: D/BatteryService(2020): update start
- 12-17 11:24:07.997: E/p+a+s(15928): Location header was absent
- 12-17 11:24:07.997: E/p+a+s(15928): Response code:400
- 12-17 11:24:07.997: I/System.out(15928): If you use
multipart/form-data, please name your file xml_submission_file.- 12-17 11:24:07.997: I/System.out(15928): You may also do a normal
(non-multipart) post with the xml submission as the request body instead.- 12-17 11:24:07.997: W/System.err(15928): logger> warning-network:
Retrying submission. 1 attempts remain- 12-17 11:24:08.057: I/System.out(15928): Added file:
1387265021939.jpg. Bytes to send: 2687716- 12-17 11:24:08.057: I/System.out(15928): Added file:
5a920ddd9ad56cf26628f3a097ee8cb6dd6d4ab7_2013-12-17_10-23-24.xml. Bytes to
send: 2688516- 12-17 11:24:08.057: I/System.out(15928): Added file:
submission.xml. Bytes to send: 2689316- 12-17 11:24:08.067: I/p+a+s(15928): added image file
1387265021939.jpg- 12-17 11:24:08.067: D/ApplicationPolicy(2020):
isStatusBarNotificationAllowed: packageName = org.commcare.dalvikOn Tuesday, December 17, 2013 2:16:57 PM UTC+3, Muniu Kariuki wrote:
Hi,
We are running a local version of Commcare-Hq but forms that include
images are not being uploaded to the server. The Android client in use is
the latest one available from the Play Store. Kindly assist.--
You received this message because you are subscribed to the Google Groups
"CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Oh I see. I didn't realize it was just submissions with images.
Your server might not correctly support chunked encoding. This is the most
common issue with multimedia. We've had the best success using apache and
mod_proxy to handle this for us, and have never successfully gotten it
working on Nginx.
Cory
Hi Cory,
I understand that but why are normal(to mean forms without attached
images) being submitted successfully but not those with images? Further,
where would the urls be changed on the server?Muniu.
On Tuesday, December 17, 2013 5:20:22 PM UTC+3, Cory Zue wrote:
Hi Muniu,
Can you check what your submission URLs are in the application? These
need to be customized on your server.Cory
2013/12/17 Muniu Kariuki dennis...@gmail.com
Sorry the log from Android is as follows:
- 12-17 11:23:19.578: D/SizeAdaptiveLayout(2128):
com.android.internal.widget.SizeAdaptiveLayout@4236f270child view
android.widget.RelativeLayout@41f664b8 measured out of bounds at
80px clamped to 96px- 12-17 11:23:19.578: I/System.out(15928): Added file:
1387265021939.jpg. Bytes to send: 2687716- 12-17 11:23:19.578: I/System.out(15928): Added file:
5a920ddd9ad56cf26628f3a097ee8cb6dd6d4ab7_2013-12-17_10-23-24.xml.
Bytes to send: 2688516- 12-17 11:23:19.588: I/System.out(15928): Added file:
submission.xml. Bytes to send: 2689316- 12-17 11:23:19.588: D/WindowManager(2020): PhoneWindowManager:
focusChangedLw- 12-17 11:23:19.598: I/p+a+s(15928): added image file
1387265021939.jpg- 12-17 11:23:19.608: D/KeyguardViewMediator(2020): setHidden false
- 12-17 11:23:19.628: D/KeyguardViewMediator(2020): setHidden false
- 12-17 11:23:19.628: I/libblt_hw(1673): Library opened (handle =
1, fd = 45)- 12-17 11:23:19.628: D/KeyguardViewMediator(2020): setHidden
false- 12-17 11:24:02.041: D/SizeAdaptiveLayout(2128):
com.android.internal.widget.SizeAdaptiveLayout@4236f270child view
android.widget.RelativeLayout@41f664b8 measured out of bounds at
80px clamped to 96px- 12-17 11:24:07.326: D/BatteryService(2020): update start
- 12-17 11:24:07.997: E/p+a+s(15928): Location header was absent
- 12-17 11:24:07.997: E/p+a+s(15928): Response code:400
- 12-17 11:24:07.997: I/System.out(15928): If you use
multipart/form-data, please name your file xml_submission_file.- 12-17 11:24:07.997: I/System.out(15928): You may also do a
normal (non-multipart) post with the xml submission as the request body
instead.- 12-17 11:24:07.997: W/System.err(15928): logger>
warning-network: Retrying submission. 1 attempts remain- 12-17 11:24:08.057: I/System.out(15928): Added file:
1387265021939.jpg. Bytes to send: 2687716- 12-17 11:24:08.057: I/System.out(15928): Added file:
5a920ddd9ad56cf26628f3a097ee8cb6dd6d4ab7_2013-12-17_10-23-24.xml.
Bytes to send: 2688516- 12-17 11:24:08.057: I/System.out(15928): Added file:
submission.xml. Bytes to send: 2689316- 12-17 11:24:08.067: I/p+a+s(15928): added image file
1387265021939.jpg- 12-17 11:24:08.067: D/ApplicationPolicy(2020):
isStatusBarNotificationAllowed: packageName = org.commcare.dalvikOn Tuesday, December 17, 2013 2:16:57 PM UTC+3, Muniu Kariuki wrote:
Hi,
We are running a local version of Commcare-Hq but forms that include
images are not being uploaded to the server. The Android client in use is
the latest one available from the Play Store. Kindly assist.--
You received this message because you are subscribed to the Google
Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to commcare-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hi,
Even this post is a bit old, but I want to resume it as one of our devices is having the similar issue. However, for our case IT IS NOT multimedia submission, instead when we tap on Sync intending syncing normal forms it pop-up an error like "Unexpected issue occurred during sync. Please try to sync again". Now we have 230 unsent forms. I tried Dumping Forms on an SD Card but seen an error that the SD card is not detected while navigating through My Files App we can access files on the SD card. Internet is working and Connection Test is returning No Problems detected! I hesitated using Wifi Direct as I saw a flag stating that Forms loss is more likely to occur. So, Please would you help me about how this can be fixed?
Thank you very much!
Hi Elyse,
Are you on the latest version of CommCare from the google play store? If
not, the best first step to take would be to update, since we've made
improvements in the last couple of versions to how we handle certain form
issues.
If so, it would help to see whether there are any issues with unsent forms
on the device.
-Clayton
Hi Clayton,
Yes the Google play store App is up to date and our CommCare version is
2.30.0. Record integrity for the oldest form is not showing any issue and
the form is being opened without any problem!
Please any other way to try?
Thank you!
Hi Elyse,
The current production version of CommCare mobile on the Google Play store
is up to 2.41.0
Are you not seeing an available update option from the mobile devices when
you navigate to the play store page for CommCare?
-Clayton
Hi Clayton,
Yes, just CommCare App in Google play store is up to date and CommCare Web
version is on 2.41.1. However until now I still seeing the same error!
Thanks again!
Elyse,
Can you Report an Issue through the CommCareHQ website so a member of our
team can help you dig into this issue more thoroughly?
-Clayton