CommCare can't communicate with server

Hey everyone,

Do we know what causes the following symptoms that prevent CommCare from
submitting data?

  1. GPRS settings fine and set according to wiki.
  2. Network test passes.
  3. Browser works fine.
  4. Browser can load CommCareHQ.

thanks,
Cory

A few more data points:

  1. “E” icon appears, CommCare is clearly trying to send.
  2. Settings for submit and restore urls look good.
  3. Seems to affect at least form submissions and user registrations.
··· On Sun, Jul 17, 2011 at 11:22 PM, Cory Zue wrote:

Hey everyone,

Do we know what causes the following symptoms that prevent CommCare from
submitting data?

  1. GPRS settings fine and set according to wiki.
  2. Network test passes.
  3. Browser works fine.
  4. Browser can load CommCareHQ.

thanks,
Cory

hey, let me take a look and see if there are any funny logs on modsecurity
or otherwise that may be blocking the POSTs or something.

(btw which browser you using? if opera it might be going through their
proxies)

··· On Sun, Jul 17, 2011 at 2:29 PM, Cory Zue wrote:

A few more data points:

  1. “E” icon appears, CommCare is clearly trying to send.
  2. Settings for submit and restore urls look good.
  3. Seems to affect at least form submissions and user registrations.

On Sun, Jul 17, 2011 at 11:22 PM, Cory Zue czue@dimagi.com wrote:

Hey everyone,

Do we know what causes the following symptoms that prevent CommCare from
submitting data?

  1. GPRS settings fine and set according to wiki.
  2. Network test passes.
  3. Browser works fine.
  4. Browser can load CommCareHQ.

thanks,
Cory

  1. Can you send the exact phone model
  2. Send any logs
  3. Confirm that “GPRS Settings fine and set according to wiki” is referring
    to the “Allow network access” settings
··· On Sun, Jul 17, 2011 at 3:15 PM, Daniel Myung wrote:

hey, let me take a look and see if there are any funny logs on modsecurity
or otherwise that may be blocking the POSTs or something.

(btw which browser you using? if opera it might be going through their
proxies)

On Sun, Jul 17, 2011 at 2:29 PM, Cory Zue czue@dimagi.com wrote:

A few more data points:

  1. “E” icon appears, CommCare is clearly trying to send.
  2. Settings for submit and restore urls look good.
  3. Seems to affect at least form submissions and user registrations.

On Sun, Jul 17, 2011 at 11:22 PM, Cory Zue czue@dimagi.com wrote:

Hey everyone,

Do we know what causes the following symptoms that prevent CommCare from
submitting data?

  1. GPRS settings fine and set according to wiki.
  2. Network test passes.
  3. Browser works fine.
  4. Browser can load CommCareHQ.

thanks,
Cory

Hey,

to add on to jon’s question, what domain and what exact forms if trying to
submit? I’m trying to look through the security logs o see if there’s any
funny business going on. so far nothing’s coming up.

··· On Sun, Jul 17, 2011 at 3:44 PM, Jonathan Jackson wrote:
  1. Can you send the exact phone model
  2. Send any logs
  3. Confirm that “GPRS Settings fine and set according to wiki” is
    referring to the “Allow network access” settings

On Sun, Jul 17, 2011 at 3:15 PM, Daniel Myung dmyung@dimagi.com wrote:

hey, let me take a look and see if there are any funny logs on modsecurity
or otherwise that may be blocking the POSTs or something.

(btw which browser you using? if opera it might be going through their
proxies)

On Sun, Jul 17, 2011 at 2:29 PM, Cory Zue czue@dimagi.com wrote:

A few more data points:

  1. “E” icon appears, CommCare is clearly trying to send.
  2. Settings for submit and restore urls look good.
  3. Seems to affect at least form submissions and user registrations.

On Sun, Jul 17, 2011 at 11:22 PM, Cory Zue czue@dimagi.com wrote:

Hey everyone,

Do we know what causes the following symptoms that prevent CommCare from
submitting data?

  1. GPRS settings fine and set according to wiki.
  2. Network test passes.
  3. Browser works fine.
  4. Browser can load CommCareHQ.

thanks,
Cory

I’m submitting to the wvindia domain.
Phone is a Nokia C2.
“GPRS Settings are fine” referred to the "active Act. Default in all apps"
being set properly, but yes, network permissions on the app are set fine.
I was browsing using Opera. Is there another browser I can test on the
phone?

The broken phone I tested last night appears working this morning. The only
thing I changed was using the configured Access point from Vodafone, to a
user created personal access point with the same info. Should this have
mattered or is it a coincidence?

I’ll update after exploring on the remaining phones, and send logs if any
are unable to submit.

Cory

··· On Mon, Jul 18, 2011 at 4:25 AM, Daniel Myung wrote:

Hey,

to add on to jon’s question, what domain and what exact forms if trying to
submit? I’m trying to look through the security logs o see if there’s any
funny business going on. so far nothing’s coming up.

On Sun, Jul 17, 2011 at 3:44 PM, Jonathan Jackson jjackson@dimagi.comwrote:

  1. Can you send the exact phone model
  2. Send any logs
  3. Confirm that “GPRS Settings fine and set according to wiki” is
    referring to the “Allow network access” settings

On Sun, Jul 17, 2011 at 3:15 PM, Daniel Myung dmyung@dimagi.com wrote:

hey, let me take a look and see if there are any funny logs on
modsecurity or otherwise that may be blocking the POSTs or something.

(btw which browser you using? if opera it might be going through their
proxies)

On Sun, Jul 17, 2011 at 2:29 PM, Cory Zue czue@dimagi.com wrote:

A few more data points:

  1. “E” icon appears, CommCare is clearly trying to send.
  2. Settings for submit and restore urls look good.
  3. Seems to affect at least form submissions and user registrations.

On Sun, Jul 17, 2011 at 11:22 PM, Cory Zue czue@dimagi.com wrote:

Hey everyone,

Do we know what causes the following symptoms that prevent CommCare
from submitting data?

  1. GPRS settings fine and set according to wiki.
  2. Network test passes.
  3. Browser works fine.
  4. Browser can load CommCareHQ.

thanks,
Cory

clayton, can you chime in here? you had something similar to contend with
with not being able to access the native j2me HTTP stack for testing
something with Nick’s problem, right? what was the solution to be able to
test from the native j2me/non proxied browser?

··· On Sun, Jul 17, 2011 at 9:53 PM, Cory Zue wrote:

I’m submitting to the wvindia domain.
Phone is a Nokia C2.
“GPRS Settings are fine” referred to the "active Act. Default in all apps"
being set properly, but yes, network permissions on the app are set fine.
I was browsing using Opera. Is there another browser I can test on the
phone?

The broken phone I tested last night appears working this morning. The only
thing I changed was using the configured Access point from Vodafone, to a
user created personal access point with the same info. Should this have
mattered or is it a coincidence?

I’ll update after exploring on the remaining phones, and send logs if any
are unable to submit.

Cory

On Mon, Jul 18, 2011 at 4:25 AM, Daniel Myung dmyung@dimagi.com wrote:

Hey,

to add on to jon’s question, what domain and what exact forms if trying to
submit? I’m trying to look through the security logs o see if there’s any
funny business going on. so far nothing’s coming up.

On Sun, Jul 17, 2011 at 3:44 PM, Jonathan Jackson jjackson@dimagi.comwrote:

  1. Can you send the exact phone model
  2. Send any logs
  3. Confirm that “GPRS Settings fine and set according to wiki” is
    referring to the “Allow network access” settings

On Sun, Jul 17, 2011 at 3:15 PM, Daniel Myung dmyung@dimagi.com wrote:

hey, let me take a look and see if there are any funny logs on
modsecurity or otherwise that may be blocking the POSTs or something.

(btw which browser you using? if opera it might be going through their
proxies)

On Sun, Jul 17, 2011 at 2:29 PM, Cory Zue czue@dimagi.com wrote:

A few more data points:

  1. “E” icon appears, CommCare is clearly trying to send.
  2. Settings for submit and restore urls look good.
  3. Seems to affect at least form submissions and user registrations.

On Sun, Jul 17, 2011 at 11:22 PM, Cory Zue czue@dimagi.com wrote:

Hey everyone,

Do we know what causes the following symptoms that prevent CommCare
from submitting data?

  1. GPRS settings fine and set according to wiki.
  2. Network test passes.
  3. Browser works fine.
  4. Browser can load CommCareHQ.

thanks,
Cory

To answer my own question: http://www.dimagi.com/

The broken phone I tested last night appears working this morning. The only
thing I changed was using the configured Access point from Vodafone, to a
user created personal access point with the same info. Should this have
mattered or is it a coincidence?

This does in fact matter. CC only works (here) if you manually create the
personal access point, by exactly following the wiki instructions.

··· On Mon, Jul 18, 2011 at 7:23 AM, Cory Zue wrote:

I’ll update after exploring on the remaining phones, and send logs if any
are unable to submit.

Cory

On Mon, Jul 18, 2011 at 4:25 AM, Daniel Myung dmyung@dimagi.com wrote:

Hey,

to add on to jon’s question, what domain and what exact forms if trying to
submit? I’m trying to look through the security logs o see if there’s any
funny business going on. so far nothing’s coming up.

On Sun, Jul 17, 2011 at 3:44 PM, Jonathan Jackson jjackson@dimagi.comwrote:

  1. Can you send the exact phone model
  2. Send any logs
  3. Confirm that “GPRS Settings fine and set according to wiki” is
    referring to the “Allow network access” settings

On Sun, Jul 17, 2011 at 3:15 PM, Daniel Myung dmyung@dimagi.com wrote:

hey, let me take a look and see if there are any funny logs on
modsecurity or otherwise that may be blocking the POSTs or something.

(btw which browser you using? if opera it might be going through their
proxies)

On Sun, Jul 17, 2011 at 2:29 PM, Cory Zue czue@dimagi.com wrote:

A few more data points:

  1. “E” icon appears, CommCare is clearly trying to send.
  2. Settings for submit and restore urls look good.
  3. Seems to affect at least form submissions and user registrations.

On Sun, Jul 17, 2011 at 11:22 PM, Cory Zue czue@dimagi.com wrote:

Hey everyone,

Do we know what causes the following symptoms that prevent CommCare
from submitting data?

  1. GPRS settings fine and set according to wiki.
  2. Network test passes.
  3. Browser works fine.
  4. Browser can load CommCareHQ.

thanks,
Cory

Hey folks,

Dan: That problem was purely with HTTPS, although it could certainly be a
problem here as well.

Cory: Does this mean you’ve found and addressed the issue and everything’s
set?

For the future: You can trick the phone into using the native browser
sometimes by finding the music app on the phone and hitting the menu button
and choosing the “Download music” option, which pops up an rtp:// entry
field. You can replace that with the http:// url and the phone will load it
in the native browser, which will give you more specific proxy or https
errors than java can. (On the 2690, for instance, this gives you “Secure
connection could not be made”, or something).

-Clayton

··· On Sun, Jul 17, 2011 at 11:02 PM, Cory Zue wrote:

To answer my own question: http://www.dimagi.com/

On Mon, Jul 18, 2011 at 7:23 AM, Cory Zue czue@dimagi.com wrote:

The broken phone I tested last night appears working this morning. The
only thing I changed was using the configured Access point from Vodafone, to
a user created personal access point with the same info. Should this have
mattered or is it a coincidence?

This does in fact matter. CC only works (here) if you manually create the
personal access point, by exactly following the wiki instructions.

I’ll update after exploring on the remaining phones, and send logs if any
are unable to submit.

Cory

On Mon, Jul 18, 2011 at 4:25 AM, Daniel Myung dmyung@dimagi.com wrote:

Hey,

to add on to jon’s question, what domain and what exact forms if trying
to submit? I’m trying to look through the security logs o see if there’s
any funny business going on. so far nothing’s coming up.

On Sun, Jul 17, 2011 at 3:44 PM, Jonathan Jackson jjackson@dimagi.comwrote:

  1. Can you send the exact phone model
  2. Send any logs
  3. Confirm that “GPRS Settings fine and set according to wiki” is
    referring to the “Allow network access” settings

On Sun, Jul 17, 2011 at 3:15 PM, Daniel Myung dmyung@dimagi.comwrote:

hey, let me take a look and see if there are any funny logs on
modsecurity or otherwise that may be blocking the POSTs or something.

(btw which browser you using? if opera it might be going through their
proxies)

On Sun, Jul 17, 2011 at 2:29 PM, Cory Zue czue@dimagi.com wrote:

A few more data points:

  1. “E” icon appears, CommCare is clearly trying to send.
  2. Settings for submit and restore urls look good.
  3. Seems to affect at least form submissions and user registrations.

On Sun, Jul 17, 2011 at 11:22 PM, Cory Zue czue@dimagi.com wrote:

Hey everyone,

Do we know what causes the following symptoms that prevent CommCare
from submitting data?

  1. GPRS settings fine and set according to wiki.
  2. Network test passes.
  3. Browser works fine.
  4. Browser can load CommCareHQ.

thanks,
Cory

Cory: Does this mean you’ve found and addressed the issue and everything’s
set?

Yep, for some reason it only worked on the personal config, not the default.

··· On Mon, Jul 18, 2011 at 7:06 PM, Clayton Sims wrote:

For the future: You can trick the phone into using the native browser
sometimes by finding the music app on the phone and hitting the menu button
and choosing the “Download music” option, which pops up an rtp:// entry
field. You can replace that with the http:// url and the phone will load
it in the native browser, which will give you more specific proxy or https
errors than java can. (On the 2690, for instance, this gives you “Secure
connection could not be made”, or something).

-Clayton

On Sun, Jul 17, 2011 at 11:02 PM, Cory Zue czue@dimagi.com wrote:

To answer my own question: http://www.dimagi.com/

On Mon, Jul 18, 2011 at 7:23 AM, Cory Zue czue@dimagi.com wrote:

The broken phone I tested last night appears working this morning. The
only thing I changed was using the configured Access point from Vodafone, to
a user created personal access point with the same info. Should this have
mattered or is it a coincidence?

This does in fact matter. CC only works (here) if you manually create the
personal access point, by exactly following the wiki instructions.

I’ll update after exploring on the remaining phones, and send logs if any
are unable to submit.

Cory

On Mon, Jul 18, 2011 at 4:25 AM, Daniel Myung dmyung@dimagi.com wrote:

Hey,

to add on to jon’s question, what domain and what exact forms if trying
to submit? I’m trying to look through the security logs o see if there’s
any funny business going on. so far nothing’s coming up.

On Sun, Jul 17, 2011 at 3:44 PM, Jonathan Jackson jjackson@dimagi.comwrote:

  1. Can you send the exact phone model
  2. Send any logs
  3. Confirm that “GPRS Settings fine and set according to wiki” is
    referring to the “Allow network access” settings

On Sun, Jul 17, 2011 at 3:15 PM, Daniel Myung dmyung@dimagi.comwrote:

hey, let me take a look and see if there are any funny logs on
modsecurity or otherwise that may be blocking the POSTs or something.

(btw which browser you using? if opera it might be going through
their proxies)

On Sun, Jul 17, 2011 at 2:29 PM, Cory Zue czue@dimagi.com wrote:

A few more data points:

  1. “E” icon appears, CommCare is clearly trying to send.
  2. Settings for submit and restore urls look good.
  3. Seems to affect at least form submissions and user registrations.

On Sun, Jul 17, 2011 at 11:22 PM, Cory Zue czue@dimagi.com wrote:

Hey everyone,

Do we know what causes the following symptoms that prevent CommCare
from submitting data?

  1. GPRS settings fine and set according to wiki.
  2. Network test passes.
  3. Browser works fine.
  4. Browser can load CommCareHQ.

thanks,
Cory