Unable to Deploy Commcare App in a Huawei device

I’m unable to deploy a commcare app in a Huawei device:

Device Model: MediaPad T1 8.0

Android 4.3

CPU Quad Core 1.2 GHZ

RAM 1 GB

The error is: Part of your app is not valid

Installation error: Your Certificate was bad. This is often due to a
mis-set phone clock.

Checked the time settings and it’s all valid, is this device incompatible
with commcare?

The version of build is 2.24 and the app in the phone is using 2.24.3, so
it should work.

Hi Hikesh,

This error comes when CommCare is incapable of establishing a secure
connection to the server. There are three common causes:

  1. The phone receives the server certificate but cannot validate it, often
    because the certificate is valid in a certain time window and the phone’s
    date is outside of that window (which you said is not the issue)

  2. The phone lacks the Root Certificate Authority that signs our server’s
    certificate. You can check this by navigating to http://www.commcarehq.org
    from the device browser and seeing whether you receive any warnings or
    errors. The device may also in that case allow you to include our root CA
    as a trusted authority, which should correct the problem

  3. The phone’s traffic is being intercepted by a Man In the Middle routing,
    and the endpoint being reached by the device is not
    http://www.commcarehq.org, but rather an intermediate server. This can be
    the result of being connected to a Captive Portal (like a WIFI hotspot that
    requires you to log in from a web page). This should be testable by
    navigating to any web page in a browser and seeing whether you instead get
    redirected to another location.

Hopefully that helps diagnose the issue. Please let me know if connecting
to our website from the browser seems to be working reliably so we can
investigate the problem further.

Regards,
-Clayton

··· On Thu, Dec 10, 2015 at 7:21 AM, Hikesh Hasmukh wrote:

I’m unable to deploy a commcare app in a Huawei device:

Device Model: MediaPad T1 8.0

Android 4.3

CPU Quad Core 1.2 GHZ

RAM 1 GB

The error is: Part of your app is not valid

Installation error: Your Certificate was bad. This is often due to a
mis-set phone clock.

Checked the time settings and it’s all valid, is this device incompatible
with commcare?

The version of build is 2.24 and the app in the phone is using 2.24.3, so
it should work.


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi Clayton

Thanks for the tip.
We managed to get the App deployed. The problem was our proxy server that
was intercepting the traffic.

Regards
Hikesh

··· On Thursday, December 10, 2015 at 4:05:02 PM UTC+2, Clayton Sims wrote: > > Hi Hikesh, > > This error comes when CommCare is incapable of establishing a secure > connection to the server. There are three common causes: > > 1) The phone receives the server certificate but cannot validate it, often > because the certificate is valid in a certain time window and the phone's > date is outside of that window (which you said is not the issue) > > 2) The phone lacks the Root Certificate Authority that signs our server's > certificate. You can check this by navigating to http://www.commcarehq.org > from the device browser and seeing whether you receive any warnings or > errors. The device may also in that case allow you to include our root CA > as a trusted authority, which should correct the problem > > 3) The phone's traffic is being intercepted by a Man In the Middle > routing, and the endpoint being reached by the device is not > http://www.commcarehq.org, but rather an intermediate server. This can be > the result of being connected to a Captive Portal (like a WIFI hotspot that > requires you to log in from a web page). This should be testable by > navigating to any web page in a browser and seeing whether you instead get > redirected to another location. > > Hopefully that helps diagnose the issue. Please let me know if connecting > to our website from the browser seems to be working reliably so we can > investigate the problem further. > > Regards, > -Clayton > > On Thu, Dec 10, 2015 at 7:21 AM, Hikesh Hasmukh <hikesh....@gmail.com > wrote: > >> I’m unable to deploy a commcare app in a Huawei device: >> >> >> >> Device Model: MediaPad T1 8.0 >> >> Android 4.3 >> >> CPU Quad Core 1.2 GHZ >> >> RAM 1 GB >> >> >> >> The error is: Part of your app is not valid >> >> Installation error: Your Certificate was bad. This is often due to a >> mis-set phone clock. >> >> >> >> Checked the time settings and it’s all valid, is this device incompatible >> with commcare? >> >> >> The version of build is 2.24 and the app in the phone is using 2.24.3, so >> it should work. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "commcare-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to commcare-user...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > >