Now I am running two applications, one is on the GAE platform and
another is a normal java app.

What I need to do is send a https request from the GAE app to the
normal java app. The certificates I have alerady self-signed and
generated by Keytools, and also added to the jre of GAE app. However,
whenever I try to send the https request, an exception happens with
      java.io.IOException: Could not fetch URL: https://localhost:8183/******

Can someone help me to see what's the problem there and may be some
hint of the solution?

PS: I have try to use simple java class to test, which works
perfectly. It also works via the browsers.
Such problem only happens when I try to initiate the request from GAE.

Here is my simple test code:

                        URL url = new 
URL("https://localhost:8183/users/test/content";);
                        HttpURLConnection connection = (HttpURLConnection) url
                                        .openConnection();
                        connection.setDoOutput(true);
                        connection.setRequestMethod("GET");

-- 
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-j...@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.


Reply via email to