gpt4 book ai didi

java.net.SocketTimeoutException : Read timed out exception while deploying app on Google App Engine

转载 作者:行者123 更新时间:2023-11-30 07:10:36 27 4
gpt4 key购买 nike

我制作了示例 Guestbook 应用程序,我想在 GAE 上部署该应用程序,但是当我尝试部署它时,它显示以下异常:

    Unable to update:
java.net.SocketTimeoutException: Read timed out
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
at com.google.appengine.tools.admin.AbstractServerConnection.send1(AbstractServerConnection.java:285)
at com.google.appengine.tools.admin.AbstractServerConnection.send(AbstractServerConnection.java:253)
at com.google.appengine.tools.admin.AbstractServerConnection.post(AbstractServerConnection.java:232)
at com.google.appengine.tools.admin.ResourceLimits.remoteRequest(ResourceLimits.java:171)
at com.google.appengine.tools.admin.ResourceLimits.request(ResourceLimits.java:138)
at com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:440)
at com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:55)
at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java:433)
at com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java:158)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at sun.security.ssl.InputRecord.readFully(Unknown Source)
at sun.security.ssl.InputRecord.read(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
at sun.security.ssl.AppInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at com.google.appengine.tools.admin.AbstractServerConnection.connect(AbstractServerConnection.java:133)
at com.google.appengine.tools.admin.AbstractServerConnection.send1(AbstractServerConnection.java:283)
... 10 more

可能是什么原因造成的?请帮我解决这个问题。谢谢。

最佳答案

Eclipse 从 4.4 升级到 4.4.1 后出现这样的错误。所有插件都丢失了,我重新安装了它们,然后问题就出现了。我试过:

  1. 关闭-打开 Eclipse
  2. 退出 - 登录到我正确的 Google 帐户
  3. 重新安装 Google 插件
  4. 等几个小时...

没有任何帮助。虽然我的 Eclipse 4.4.1 有互联网连接。

对我来说唯一可行的解​​决方案是使用 command-line tool appcfg

关于java.net.SocketTimeoutException : Read timed out exception while deploying app on Google App Engine,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22064851/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com