I'm running the dev-server (ver. 1.4.2) and GData Docs 3.0 Client ( on
Windows Vista and I also experience this problem when I try to access
the DocList with Oauth like below:
GoogleOAuthParameters oauthParameters = new GoogleOAuthParameters();
oauthParameters.setOAuthConsumerKey(CONSUMER_KEY);
oauthParameters.setOAuthConsumerSecret(CONSUMER_SECRET);
oauthParameters.setOAuthToken("xxxxxxxxxxxxxxx");
oauthParameters.setOAuthTokenSecret("xxxxxxxxxxxxxx");
DocsService client = new DocsService("cloudspot-XXXX-v1");
client.setOAuthCredentials(oauthParameters, new
OAuthHmacSha1Signer());
URL feedUrl = null;
feedUrl = new URL("https://docs.google.com/feeds/default/private/
full");
DocumentListFeed resultFeed = null;
resultFeed = client.getFeed(feedUrl, DocumentListFeed.class);
All required try-catch is removed for clarity.
When I deploy this to appspot.com it works like a charm.
On Feb 20, 9:24 pm, mushion22 <[email protected]> wrote:
> I've opened an issue for this
> athttp://code.google.com/p/googleappengine/issues/detail?id=4603
>
> Same deal here on OS X.
>
> On Feb 17, 8:21 am, Tom Phillips <[email protected]> wrote:
>
>
>
>
>
>
>
> > JVM (On Windows 7), I've tried a few for the development server including:
>
> > java version "1.6.0_22"
> > Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> > Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
>
> > Using java.net.HttpURLConnection to connect tohttps://api.twilio.comand
> > getting:
>
> > javax.net.ssl.SSLHandshakeException: Could not verify SSL certificate
> > for:https://api.twilio.com
>
> > api.twilio.com is only accessible over SSL so this problem is hampering
> > development of our application with 1.4.2
>
> > /Tom
>
> > On Monday, February 14, 2011 4:22:51 PM UTC-5, frew wrote:
>
> > > Hey everybody,
>
> > > In order to help me diagnose the problems, could you respond with what
> > > JDK (Platform, JDK manufacturer (e.g. Sun, OpenJDK), and version)
> > > you're running? As a temporary stopgap, if you're using URLFetch
> > > service, you can use the doNotValidateCertificate() method in
> > > FetchOptions (http://code.google.com/appengine/docs/java/javadoc/com/
> > > google/appengine/api/urlfetch/FetchOptions.html<http://code.google.com/appengine/docs/java/javadoc/com/google/appengi...>)
> > > to disable
> > > validation.
>
> > > -Fred
>
> > > On Feb 13, 5:02 am, harri mauria <[email protected]> wrote:
> > > > I am having similar problems with the recently released version
> > > > com.google.appengine.eclipse.sdkbundle.1.4.2_1.4.2.v201102111811
> > > > Problems happen with the development server, not in production. I am
> > > > performing Facebook login credentials authentication in the callback
> > > > url. Interrupt stack is below:
>
> > > > HTTP ERROR 500
> > > > Problem accessing /loginfacebookcallback. Reason:
>
> > > > Could not verify SSL certificate for:
> > >https://graph.facebook.com/oauth/access_token?omitted
>
> > > > Caused by:
> > > > javax.net.ssl.SSLHandshakeException: Could not verify SSL certificate
> > > > for:https://graph.facebook.com/oauth/access_token?omitted
> > > > at
>
> > > com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationExc
> > > eption(URLFetchServiceImpl.java:
> > > > 114)
> > > > at
>
> > > com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchService
> > > Impl.java:
> > > > 41)
> > > > at
>
> > > com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler
> > > > $Connection.fetchResponse(URLFetchServiceStreamHandler.java:418)
> > > > at
>
> > > com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler
> > > > $Connection.getInputStream(URLFetchServiceStreamHandler.java:297)
> > > > atwww.superpass.de.server.UrlFetcher.get(UrlFetcher.java:60)
>
> > > > Following message is printed to the console:
> > > > I/O exception (javax.net.ssl.SSLPeerUnverifiedException) caught when
> > > > processing request: HTTPS hostname invalid: expected
> > > > 'graph.facebook.com', received '*.facebook.com'
> > > > Retrying request
>
> > > > Regards, Harri
>
> > > > On Feb 13, 11:27 am, Lior Harsat <[email protected]> wrote:
>
> > > > > I am having a similar problem with https:
>
> > > > > I have been testing the SDK and I found one bug which seems critical.
> > > > > When I call the URLFetchService.fetch API with a https URL I get a
> > > > > javax.net.ssl.SSLHandshakeException.
> > > > > for example when I fetch "https://spreadsheets.google.com/feeds/
> > > > > list/...." I get
> > > > > javax.net.ssl.SSLHandshakeException: Could not verify SSL certificate
> > > > > for:https://spreadsheets.google.com/feeds/list/...
> > > > > When I switch back to an older SDK this doesn't happen.
> > > > > Is there a "Help us test Prerelease SDK 1.4.2" thread I can post this
> > > > > to?
> > > > > Can anyone confirm this bug reproduces?
> > > > > Thanx, Lior
>
> > > > > On Feb 12, 11:57 am, Peter Liu <[email protected]> wrote:
>
> > > > > > We are using a custom remote delegate to route datastore rpc call to
> > > > > > live production test site on appspot. We did this because sometimes
> > > we
> > > > > > want to develop with live data.
>
> > > > > > However after upgrading to 1.4.2, https outbound call starts failing
> > > > > > (see below). If we change to http, then it works again.
>
> > > > > > It seems like some class is marked as restricted in this release. Is
> > > > > > it intentional? What's the reason behind not allowing outbound https
> > > > > > call?
>
> > > > > > Thanks.
>
> > > > > > java.lang.NoClassDefFoundError: javax.net.ssl.SSLHandshakeException
> > > is
> > > > > > a restricted class. Please see the Google App Engine developer's
> > > > > > guide for more details.
> > > > > > at
>
> > > com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime
> > > .java:
> > > > > > 51)
> > > > > > at
>
> > > com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationExc
> > > eption(URLFetchServiceImpl.java:
> > > > > > 114)
> > > > > > at
> > > com.google.appengine.api.urlfetch.URLFetchServiceImpl.access
> > > > > > $100(URLFetchServiceImpl.java:22)
> > > > > > at com.google.appengine.api.urlfetch.URLFetchServiceImpl
> > > > > > $1.convertException(URLFetchServiceImpl.java:86)
> > > > > > at
> > > > > > com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:
> > > > > > 69)
> > > > > > at
> > > com.pekca.main.delegate.RemoteDelegate$1.get(RemoteDelegate.java:
> > > > > > 163)
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.