[ODK Community] Error: ...unable to find valid certification path to requested target

I've never encountered this error...

Two things to try:

(1) uninstall any Java JRE or JDK you have installed and delete everything
in the C:\Program Files\Java directory tree. Then download and install
Oracle's JRE or JDK (
http://www.oracle.com/technetwork/java/javase/downloads/index.html ). You
may have a very old version of Java installed (1.6.0_35 and 1.7.0_7 are the
latest). We only test and run against Oracle's JRE / JDK.

(2) if that doesn't fix the issue, try first deploying to a plain old
appspot instance before setting up an appspot instance with a cname alias
or under a custom google apps domain.

Mitch

··· On Mon, Sep 10, 2012 at 4:00 PM, wrote:

I'm trying to upload Aggregate to Google appengine using "ODK Aggregate
v1.2.0 windows-installer.exe" but always get the error (I've attached the
full log for reference but this is the gist of it):

Unable to update app: sun.security.validator.ValidatorException: PKIX path
building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target

I have an appengine application installed and exported the root ca cert
and updated the keystore in my JDK, but the message remains the same.

Any help would be appreciated.

Thanks.

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

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Your application instances will have the names shown in your
https://appengine.google.com/ page unless you do something special through
the appengine administration pages.

So if you see 'cahpstest1' in that list, your appspot instance should be
https://cahpstest1.appspot.com.

This will return 404 (Not Found) if you have never successfully uploaded an
application, so that is not surprising.

Most likely, you mistyped your application name when you ran the installer.

Re-run the installer. On the screen where it asks for '*Google AppEngine
Application ID' *you should enter *cahpstest1 *(no spaces).

Hopefully this will then allow the upload script to succeed.

Mitch

··· On Tue, Sep 11, 2012 at 3:42 PM, wrote:

On Monday, September 10, 2012 6:07:33 PM UTC-7, Mitch wrote:

I've never encountered this error...Two things to try:(1) uninstall any
Java JRE or JDK you have installed and delete everything in the C:\Program
Files\Java directory tree. Then download and install Oracle's JRE or JDK (
http://www.oracle.com/technetwork/java/javase/downloads/index.html ). You
may have a very old version of Java installed (1.6.0_35 and 1.7.0_7 are the
latest). We only test and run against Oracle's JRE / JDK. (2) if that
doesn't fix the issue, try first deploying to a plain old appspot instance
before setting up an appspot instance with a cname alias or under a custom
google apps domain. MitchOn Mon, Sep 10, 2012 at 4:00 PM, co...@rand.org
wrote: I'm trying to upload Aggregate to Google appengine using "ODK
Aggregate v1.2.0 windows-installer.exe" but always get the error (I've
attached the full log for reference but this is the gist of it): Unable to
update app: sun.security.validator.ValidatorException: PKIX path building
failed: sun.security.provider.certpath.SunCertPathBuilderException: unable
to find valid certification path to requested target I have an appengine
application installed and exported the root ca cert and updated the
keystore in my JDK, but the message remains the same. Any help would be
appreciated.Thanks. -- Post: opend...@googlegroups.com Unsubscribe:
opendatakit...@googlegroups.com Options:
http://groups.google.com/group/opendatakit?hl=en -- Mitch Sundt Software
EngineerUniversity of Washington mitche...@gmail.com

Thanks for your suggestions. I've tried #1 and got the same result. I'm
sufficiently new to this that I have not attempted a cname or any other
custom naming. Even though I can get to my application's Dashboard, I have
found that I cannot access w/ the 'Application Identifier Alias' (
http://cahpstest1.appspot.com). Requesting that page gets me a 404
error. This is, I think, the address the upload script uses. Have I made
a mistake in configuring my appspot instance, or providing the correct
parameters to the ODK Aggregate script?

Again, thanks for your consideration.

Chris

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

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com