[appengine-java] Re: URL Fetch problems

2011-03-07 Thread Kim Kha Nguyen


I found the solution:

Use low-level API (help here: 
http://ikaisays.com/2010/06/29/using-asynchronous-urlfetch-on-java-app-engine/ 
- thank Ikai Lan so much). And you must use 
FetchOptions.Builder.doNotValidateCertificate() to turn of Validate certificate 
process...

  

-- 
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 google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] URL Fetch problems

2011-03-05 Thread Kim Kha Nguyen


OS: Ubuntu 10.10
Java SDK: OpenJDK 6
AppEngine: 1.4.2
WebToolkit: 2.2.0

I use URLFetch (doc here: http://goo.gl/hPraM), and url is: 
https://graph.facebook.com/me?access_token=316426390227|2.MHJgJ9J6fuNwKern3vyHgg__.3600.129933-1185632060|oZFo-ku78icKHAx_aFvNwdItx9Uexpires_in=5101

If I run in Firefox, error message is:

java.lang.IllegalArgumentException: Invalid uri 
'https://graph.facebook.com/me?access_token=316426390227|2.MHJgJ9J6fuNwKern3vyHgg__.3600.129933-1185632060|oZFo-ku78icKHAx_aFvNwdItx9Uexpires_in=5101':
 Invalid query

But if I run in Chrome, error message is:

javax.net.ssl.SSLHandshakeException: Could not verify SSL certificate for: 
https://graph.facebook.com/me?access_token=316426390227%7C2.MHJgJ9J6fuNwKern3vyHgg__.3600.129933-1185632060%7CoZFo-ku78icKHAx_aFvNwdItx9Uexpires_in=4180

Please help me... I'm amateur in GAE.

Thank all of you!

Note: I opened a issue here: http://goo.gl/bxLgu

-- 
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 google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.