Obsolete
Status Update
Comments
co...@gmail.com <co...@gmail.com> #2
Yeah im facing the same issue. It takes a few minutes to start the server. By adding the parameters manually it works!
da...@gmail.com <da...@gmail.com> #3
when i enter below command to deploy myApplication on google appengine, getting error
D:\>..\appengine-java-sdk\bin\appcfg.cmd update myApplication\war
Dec 22, 2010 4:53:30 PM com.google.appengine.tools.info.RemoteVersionFactory get
Version
INFO: Unable to accesshttps://appengine.google.com/api/updatecheck?runtime=java
&release=1.4.0×tamp=1291245258&api_versions=['1.0']
java.net.UnknownHostException:appengine.google.com
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(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewH
ttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Sour
ce)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unkn
own Source)
at java.net.URL.openStream(Unknown Source)
at com.google.appengine.tools.info.RemoteVersionFactory.getVersion(Remot
eVersionFactory.java:76)
at com.google.appengine.tools.info.UpdateCheck.checkForUpdates(UpdateChe
ck.java:99)
at com.google.appengine.tools.info.UpdateCheck.doNagScreen(UpdateCheck.j
ava:174)
at com.google.appengine.tools.info.UpdateCheck.maybePrintNagScreen(Updat
eCheck.java:142)
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:102)
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:61)
at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:57)
Reading application configuration data...
Dec 22, 2010 4:53:30 PM com.google.apphosting.utils.config.AppEngineWebXmlReader
readAppEngineWebXml
INFO: Successfully processed myApplication/war\WEB-INF/appengine-web.xml
2010-12-22 16:53:30.541:INFO::Logging to STDERR via org.mortbay.log.StdErrLog
Dec 22, 2010 4:53:30 PM com.google.apphosting.utils.config.AbstractConfigXmlRead
er readConfigXml
INFO: Successfully processed Guestbook/war\WEB-INF/web.xml
Beginning server interaction for dhelloprogram...
0% Creating staging directory
5% Scanning for jsp files.
20% Scanning files on local disk.
25% Initiating update.
java.net.UnknownHostException:appengine.google.com
Unable to update app:appengine.google.com
D:\>..\appengine-java-sdk\bin\appcfg.cmd update myApplication\war
Dec 22, 2010 4:53:30 PM com.google.appengine.tools.info.RemoteVersionFactory get
Version
INFO: Unable to access
&release=1.4.0×tamp=1291245258&api_versions=['1.0']
java.net.UnknownHostException:
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(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewH
ttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Sour
ce)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unkn
own Source)
at java.net.URL.openStream(Unknown Source)
at com.google.appengine.tools.info.RemoteVersionFactory.getVersion(Remot
eVersionFactory.java:76)
at com.google.appengine.tools.info.UpdateCheck.checkForUpdates(UpdateChe
ck.java:99)
at com.google.appengine.tools.info.UpdateCheck.doNagScreen(UpdateCheck.j
ava:174)
at com.google.appengine.tools.info.UpdateCheck.maybePrintNagScreen(Updat
eCheck.java:142)
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:102)
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:61)
at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:57)
Reading application configuration data...
Dec 22, 2010 4:53:30 PM com.google.apphosting.utils.config.AppEngineWebXmlReader
readAppEngineWebXml
INFO: Successfully processed myApplication/war\WEB-INF/appengine-web.xml
2010-12-22 16:53:30.541:INFO::Logging to STDERR via org.mortbay.log.StdErrLog
Dec 22, 2010 4:53:30 PM com.google.apphosting.utils.config.AbstractConfigXmlRead
er readConfigXml
INFO: Successfully processed Guestbook/war\WEB-INF/web.xml
Beginning server interaction for dhelloprogram...
0% Creating staging directory
5% Scanning for jsp files.
20% Scanning files on local disk.
25% Initiating update.
java.net.UnknownHostException:
Unable to update app:
su...@gmail.com <su...@gmail.com> #4
i am also getting the same error...
Can you please give more details ....how to set proxy..?
note : I am directly connected to internet.
Can you please give more details ....how to set proxy..?
note : I am directly connected to internet.
gr...@google.com <gr...@google.com>
si...@gmail.com <si...@gmail.com> #5
I am facing the same issue. However I set my proxy in eclipse, it did not work.
I can access the url "http://appengine.google.com/api/updatecheck?runtime=java&release=1.3.2×tamp=1268853569&api_versions=['1.0 ']
" by IE and get response.
I am not sure the caused by eclipse proxy.......
I can access the url "
" by IE and get response.
I am not sure the caused by eclipse proxy.......
rh...@gmail.com <rh...@gmail.com> #6
I am also getting the same error
as...@gmail.com <as...@gmail.com> #7
Not able to set proxy in eclipse..pls suggest...
ma...@gmail.com <ma...@gmail.com> #8
Is there a way to pass proxy authentication info? I added the proxy settings but our proxy requires authentication and since I have no way to provide credentials it fails with http 407.
[Deleted User] <[Deleted User]> #9
why would I need to set a proxy ?? wtf is this proxy setting ?
br...@gmail.com <br...@gmail.com> #10
I had same the problem.
My firewall was causing it.
My firewall was causing it.
ma...@gmail.com <ma...@gmail.com> #11
[Comment deleted]
ma...@gmail.com <ma...@gmail.com> #12
The error reports: Unable to access https://appengine.google. ..
... the reported protocol is HTTPS, not HTTP, so the settings -Dhttp.proxyXXX posted above are unuseful: -Dhttps.proxyXXX is needed.
I included also -Dhttp.proxyXXX in case my code requires to open an HttpConnection within some java class.
These are the settings I added in JVM tab of run/debug configuration for my GAE project in Eclipse:
-Dhttp.proxySet=true -Dhttp.proxyHost=xxxxx -Dhttp.proxyPort=xxxx -Dhttp.proxyUser=xxxx -Dhttp.proxyPassword=xxxx -Dhttps.proxySet=true -Dhttps.proxyHost=xxxx -Dhttps.proxyPort=xxxx -Dhttps.proxyUser=xxxx -Dhttps.proxyPassword=xxxxx
It works fine!
... the reported protocol is HTTPS, not HTTP, so the settings -Dhttp.proxyXXX posted above are unuseful: -Dhttps.proxyXXX is needed.
I included also -Dhttp.proxyXXX in case my code requires to open an HttpConnection within some java class.
These are the settings I added in JVM tab of run/debug configuration for my GAE project in Eclipse:
-Dhttp.proxySet=true -Dhttp.proxyHost=xxxxx -Dhttp.proxyPort=xxxx -Dhttp.proxyUser=xxxx -Dhttp.proxyPassword=xxxx -Dhttps.proxySet=true -Dhttps.proxyHost=xxxx -Dhttps.proxyPort=xxxx -Dhttps.proxyUser=xxxx -Dhttps.proxyPassword=xxxxx
It works fine!
mj...@gmail.com <mj...@gmail.com> #13
Hey! How about a command line flag to skip the version check! Then we don't have to mess with proxy settings if we don't want to.
fe...@gmail.com <fe...@gmail.com> #14
i have the same problem and its related to the subdomaine :s because if we use www.google.com without subdomaine we don't get any problem :s
bt...@gmail.com <bt...@gmail.com> #15
Just use --disable_update_check
at...@gmail.com <at...@gmail.com> #16
Where would you suggest using this --disable_update_check option in GWT application?
I tried to add it to the parameters in eclipse and got the following:
Unknown argument: --disable_update_check
Google Web Toolkit 2.0.4
DevMode [-noserver] [-port port-number | "auto"] [-whitelist whitelist-string] [-blacklist blacklist-string] [-logdir directory] [-logLevel level] [-gen dir] [-bindAddress host-name-or-address] [-codeServerPort port-number | "auto"] [-server servletContainerLauncher[:args]] [-startupUrl url] [-war dir] [-extra dir] [-workDir dir] module[s]
where
-noserver Prevents the embedded web server from running
-port Specifies the TCP port for the embedded web server (defaults to 8888)
-whitelist Allows the user to browse URLs that match the specified regexes (comma or space separated)
-blacklist Prevents the user browsing URLs that match the specified regexes (comma or space separated)
-logdir Logs to a file in the given directory, as well as graphically
-logLevel The level of logging detail: ERROR, WARN, INFO, TRACE, DEBUG, SPAM, or ALL
-gen Debugging: causes normally-transient generated types to be saved in the specified directory
-bindAddress Specifies the bind address for the code server and web server (defaults to 127.0.0.1)
-codeServerPort Specifies the TCP port for the code server (defaults to 9997)
-server Specify a different embedded web server to run (must implement ServletContainerLauncher)
-startupUrl Automatically launches the specified URL
-war The directory into which deployable output files will be written (defaults to 'war')
-extra The directory into which extra files, not intended for deployment, will be written
-workDir The compiler's working directory for internal use (must be writeable; defaults to a system temp dir)
and
module[s] Specifies the name(s) of the module(s) to host
I tried to add it to the parameters in eclipse and got the following:
Unknown argument: --disable_update_check
Google Web Toolkit 2.0.4
DevMode [-noserver] [-port port-number | "auto"] [-whitelist whitelist-string] [-blacklist blacklist-string] [-logdir directory] [-logLevel level] [-gen dir] [-bindAddress host-name-or-address] [-codeServerPort port-number | "auto"] [-server servletContainerLauncher[:args]] [-startupUrl url] [-war dir] [-extra dir] [-workDir dir] module[s]
where
-noserver Prevents the embedded web server from running
-port Specifies the TCP port for the embedded web server (defaults to 8888)
-whitelist Allows the user to browse URLs that match the specified regexes (comma or space separated)
-blacklist Prevents the user browsing URLs that match the specified regexes (comma or space separated)
-logdir Logs to a file in the given directory, as well as graphically
-logLevel The level of logging detail: ERROR, WARN, INFO, TRACE, DEBUG, SPAM, or ALL
-gen Debugging: causes normally-transient generated types to be saved in the specified directory
-bindAddress Specifies the bind address for the code server and web server (defaults to 127.0.0.1)
-codeServerPort Specifies the TCP port for the code server (defaults to 9997)
-server Specify a different embedded web server to run (must implement ServletContainerLauncher)
-startupUrl Automatically launches the specified URL
-war The directory into which deployable output files will be written (defaults to 'war')
-extra The directory into which extra files, not intended for deployment, will be written
-workDir The compiler's working directory for internal use (must be writeable; defaults to a system temp dir)
and
module[s] Specifies the name(s) of the module(s) to host
va...@gmail.com <va...@gmail.com> #17
Thank you maurocar...@gmail.com its working fine
ko...@gmail.com <ko...@gmail.com> #18
-Dhttp.proxySet=true -Dhttp.proxyHost=xxxxx -Dhttp.proxyPort=xxxx -Dhttp.proxyUser=xxxx -Dhttp.proxyPassword=xxxx -Dhttps.proxySet=true -Dhttps.proxyHost=xxxx -Dhttps.proxyPort=xxxx -Dhttps.proxyUser=xxxx -Dhttps.proxyPassword=xxxxx
this config add to vm will be ok。
this config add to vm will be ok。
ie...@google.com <ie...@google.com> #19
This is a clean up of older low star issues
im...@gmail.com <im...@gmail.com> #20
Hi all.
Solution: create a file whit name: .appcfg_no_nag
in the user path System.getProperty("user.home")
This disabled the checkUpdate :) !!
Solution: create a file whit name: .appcfg_no_nag
in the user path System.getProperty("user.home")
This disabled the checkUpdate :) !!
ni...@gmail.com <ni...@gmail.com> #21
Thanks! #11 bruno.h...@gmail.com
Description
launch config. If you are generating you java command line from Eclipse you
should check the preference settings for the proxy and add them, e.g.
java -Dhttp.proxyHost=proxyValueFromEclipsePreference
-Dhttp.proxyPort=portValueFromEclipsePreference JavaProgram
Or something like (I'm not pasting the full command line argument....)
--------------
C:\Documents and Settings\d034797>java -Xmx512m -Dhttp.proxyHost=proxy
-Dhttp.proxyPort=8080
-javaagent:C:\Eclipse35Examples\plugins\com.google.appengine.eclip
se.sdkbundle.1.3.2_1.3.2.v201003242055\appengine-java-sdk-1.3.2\lib\agent\appengine-agent.jar
-Dfile.encoding=Cp1252 "-Xbootclasspath:C:\Program Files\Java\jre6.......
------------
If you do not add the proxy settings your receive the error message below.
cuments\16_EclipseProjects\20_WebpageExamples\test\war
22.04.2010 14:48:43 com.google.appengine.tools.info.RemoteVersionFactory
getVersion
INFO: Unable to access
java.net.UnknownHostException:
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown
Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at
com.google.appengine.tools.info.RemoteVersionFactory.getVersion(RemoteVersionFactory.java:70)
at
com.google.appengine.tools.info.UpdateCheck.checkForUpdates(UpdateCheck.java:94)
at
com.google.appengine.tools.info.UpdateCheck.doNagScreen(UpdateCheck.java:164)
at
com.google.appengine.tools.info.UpdateCheck.maybePrintNagScreen(UpdateCheck.java:132)
at
com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:150)
at
com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:48)
at
com.google.appengine.tools.development.DevAppServerMain.<init>(DevAppServerMain.java:113)
at
com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:89)