XX-net / XX-Net

A proxy tool to bypass GFW.
33.05k stars 7.69k forks source link

貌似xx-net的全局模式下,设置代理上传应用到google cloud engine失败? #3753

Open litterinchina opened 8 years ago

litterinchina commented 8 years ago

问题内容

RT,参考https://cloud.google.com/appengine/docs/java/quickstart#make_a_change ,使用命令mvn appengine:update上传应用到gae服务器, 如下最后一行,上传进度一直停在25%处不动,求大神解答。。

控制台日志

`$ mvn appengine:update -Dhttps.proxyHost=127.0.0.1 -Dhttps.proxyPort=8087 [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building appengine-helloworld 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] >>> appengine-maven-plugin:1.9.38:update (default-cli) > package @ appengine-helloworld >>> [INFO] [INFO] --- jacoco-maven-plugin:0.7.6.201602180812:prepare-agent (default) @ appengine-helloworld --- [INFO] argLine set to -javaagent:D:\repository\org\jacoco\org.jacoco.agent\0.7.6.201602180812\org.jacoco.agent-0.7.6.201602180812-runtime.jar=destfile=D:\project\java-docs-samples\appengine\helloworld\target\jacoco.exec [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ appengine-helloworld --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory D:\project\java-docs-samples\appengine\helloworld\src\main\resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ appengine-helloworld --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ appengine-helloworld --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory D:\project\java-docs-samples\appengine\helloworld\src\test\resources [INFO] [INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ appengine-helloworld --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ appengine-helloworld --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.7.6.201602180812:report (report) @ appengine-helloworld --- [INFO] Skipping JaCoCo execution due to missing execution data file:D:\project\java-docs-samples\appengine\helloworld\target\jacoco.exec [INFO] [INFO] --- maven-war-plugin:2.2:war (default-war) @ appengine-helloworld --- [INFO] Packaging webapp [INFO] Assembling webapp [appengine-helloworld] in [D:\project\java-docs-samples\appengine\helloworld\target\appengine-helloworld-1.0-SNAPSHOT] [INFO] Processing war project [INFO] Copying webapp resources [D:\project\java-docs-samples\appengine\helloworld\src\main\webapp] [INFO] Webapp assembled in [20 msecs] [INFO] Building war: D:\project\java-docs-samples\appengine\helloworld\target\appengine-helloworld-1.0-SNAPSHOT.war [INFO] WEB-INF\web.xml already added, skipping [INFO] [INFO] <<< appengine-maven-plugin:1.9.38:update (default-cli) < package @ appengine-helloworld <<< [INFO] [INFO] --- appengine-maven-plugin:1.9.38:update (default-cli) @ appengine-helloworld --- [INFO] [INFO] Google App Engine Java SDK - Updating Application [INFO] [INFO] Retrieving Google App Engine Java SDK from Maven [INFO] Updating Google App Engine Application [INFO] Running --oauth2 update D:\project\java-docs-samples\appengine\helloworld\target/appengine-helloworld-1.0-SNAPSHOT Reading application configuration data...

Beginning interaction for module default... ▒▒▒▒ 30, 2016 12:50:44 ▒▒▒▒ com.google.appengine.tools.admin.AbstractServerConnection ▒▒Ϣ: proxying HTTPS through 127.0.0.1:8087 0% Created staging directory at: 'C:\Users\backor\AppData\Local\Temp\appcfg1997091909035550652.tmp' 5% Scanning for jsp files. 8% Generated git repository information file. 20% Scanning files on local disk. 25% Initiating update.

`

yeahwu commented 8 years ago

吧cloud加入hosts下面试试,也就是下面一行。 加入后,重启一下xxnet

cloud.google.com = direct

https://github.com/XX-net/XX-Net/blob/master/code/default/gae_proxy/local/proxy.ini#L19

litterinchina commented 8 years ago

@yeahwu 大神..还是一样。。停止25%不动

litterinchina commented 8 years ago

@yeahwu 换成vpn立马就上传成功了。。

jzp820927 commented 8 years ago

实在不行,就 hosts 吧

litterinchina commented 8 years ago

@jzp820927 找了个免费vpn上传可以了,不知道为啥xxnet不可以

Pd69bq commented 8 years ago

访问google cloud engine每次都是用x-tunnel xx-net页面可以打开但是获取数据的时候总是提示goole端服务器错误

jzp820927 commented 8 years ago

看来 X_tunnel 作为 XX 的普通还是挺有效的