I am writing a program to access from a client environment to Remote API. 
However, the remote access via proxy server is not working properly.
Would you please see where the problem is?

(reference)
https://developers.google.com/appengine/docs/java/tools/remoteapi#Configuring_Remote_API_on_the_Client

Below is the program.

   System.setProperty("http.proxyHost", "proxy.com");
   System.setProperty("http.proxyPort", "8080");
   System.setProperty("https.proxyHost", "proxy.com");
   System.setProperty("https.proxyPort", "8443");
   RemoteApiOptions options = new RemoteApiOptions()
       .server("your_app_id.appspot.com", 443)
       .credentials(username, password);
   RemoteApiInstaller installer = new RemoteApiInstaller();
   installer.install(options);
   installer.uninstall();

It works fine when (1)accessing by Remote API(not via proxy server),
(2)accessing via proxy server by URL Connection.  Thus, my guess is 
the problem is the proxy server setting to Remote API.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/BsXe_upEg8kJ.
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?hl=en.

Reply via email to