Hi,

Though it doesn't examine in detail.
If the cause is a setting of proxy
I guess this covers the question

http://groups.google.com/group/google-appengine-java/browse_thread/thread/15d3dc0edd0af574

Hope some of this helps.

Please try.
thanks.




On 4月27日, 午前12:16, Paul <robopa...@gmail.com> wrote:
> I have been using the Google App plugin with Eclipse 3.5 to make my
> first app, and I have no problems running it as a Web Application on
> my local machine. However, when I try to deploy the app, I get an
> error with the message "Unable to update app: Connection refused:
> connect."
>
> The exception stack trace is:
> com.google.appengine.tools.admin.AdminException: Unable to update app:
> Connection refused: connect
>         at
> com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:
> 62)
>         at
> com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java:
> 271)
>         at
> com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java:
> 145)
>         at
> org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:
> 38)
>         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: java.net.ConnectException: Connection refused: connect
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         at java.net.PlainSocketImpl.doConnect(Unknown Source)
>         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
>         at java.net.PlainSocketImpl.connect(Unknown Source)
>         at java.net.SocksSocketImpl.connect(Unknown Source)
>         at java.net.Socket.connect(Unknown Source)
>         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
>         at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(Unknown
> Source)
>         at sun.net.NetworkClient.doConnect(Unknown Source)
>         at sun.net.www.http.HttpClient.openServer(UnknownSource)
>         at sun.net.www.http.HttpClient.openServer(UnknownSource)
>         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
>         at sun.net.www.protocol.https.HttpsClient.New(UnknownSource)
>         at
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClien...
> Source)
>         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown
> Source)
>         at
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown
> Source)
>         at
> sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown
> Source)
>         at
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown
> Source)
>         at
> com.google.appengine.tools.admin.ServerConnection.connect(ServerConnection.java:
> 340)
>         at
> com.google.appengine.tools.admin.ServerConnection.send(ServerConnection.java:
> 133)
>         at
> com.google.appengine.tools.admin.ServerConnection.post(ServerConnection.java:
> 82)
>         at
> com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:
> 559)
>         at
> com.google.appengine.tools.admin.AppVersionUpload.beginTransaction(AppVersionUpload.java:
> 376)
>         at
> com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:
> 111)
>         at
> com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:
> 56)
>         at
> com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java:
> 271)
>         at
> com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java:
> 145)
>         at
> org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:
> 38)
>         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
> I get a connection refused error whether I'm trying to deploy with
> Eclipse or via command line. Same issue if I try to deploy one of the
> demo projects. I would imagine it is because of a proxy issue;
> however, I'm not sure how to properly set the proxy for Google Apps.
> Since I am behind a corporate firewall, I have to deal with proxy
> settings for other Java projects. Before making a URLConnection, I
> generally use the following:
>         Properties systemSettings = System.getProperties();
>         systemSettings.put("proxySet",PROXY_SET);
>         systemSettings.put("proxyHost", PROXY_HOST);
>         systemSettings.put("proxyPort", PROXY_PORT);
>
> I haven't found any solution out there yet, so any help would be
> appreciated.
>
> --
> 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 
> athttp://groups.google.com/group/google-appengine-java?hl=en.

-- 
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