yinqiwen / hyk-proxy

Automatically exported from code.google.com/p/hyk-proxy
0 stars 1 forks source link

https2GAE 不可用 #87

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
最近GAE被封,从V0.9.0升级到V0.9.1,看到增加了https选项。我在
hosts中添加了appid对应的IP,浏览器使用https连接正常,提示:
“hyk-proxy-gae 0.9.1 server is running!” 
V0.9.1的connectionMode选https,hyk-proxy-gae-conf为<connectionMode>3</connec
tionMode>,配置应该正确。点start后一直是starting状态,log里提�
��“远程主机强迫关闭了一个现有的连接。”,请高手帮忙分
析下原因,谢谢!

log如下:
2010-12-12 11:23:24,300 ERROR 
[com.hyk.proxy.client.application.gae.rpc.HttpClientRpcChannel$HttpResponseHandl
er.exceptionCaught(HttpClientRpcChannel.java:476)] - exceptionCaught in 
HttpResponseHandler
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(Unknown Source)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
    at sun.nio.ch.IOUtil.read(Unknown Source)
    at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
    at org.jboss.netty.buffer.HeapChannelBuffer.setBytes(HeapChannelBuffer.java:156)
    at org.jboss.netty.buffer.AbstractChannelBuffer.writeBytes(AbstractChannelBuffer.java:425)
    at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:305)
    at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:275)
    at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:196)
    at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
    at org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor$MemoryAwareRunnable.run(MemoryAwareThreadPoolExecutor.java:495)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
2010-12-12 11:23:24,331 ERROR 
[com.hyk.proxy.client.application.gae.rpc.HttpClientRpcChannel$HttpResponseHandl
er.exceptionCaught(HttpClientRpcChannel.java:476)] - exceptionCaught in 
HttpResponseHandler
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(Unknown Source)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
    at sun.nio.ch.IOUtil.read(Unknown Source)
    at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
    at org.jboss.netty.buffer.HeapChannelBuffer.setBytes(HeapChannelBuffer.java:156)
    at org.jboss.netty.buffer.AbstractChannelBuffer.writeBytes(AbstractChannelBuffer.java:425)
    at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:305)
    at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:275)
    at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:196)
    at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
    at org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor$MemoryAwareRunnable.run(MemoryAwareThreadPoolExecutor.java:495)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

Original issue reported on code.google.com by jwj...@gmail.com on 12 Dec 2010 at 3:39

GoogleCodeExporter commented 9 years ago
现在可能是个摆设,因为win7下修改hosts太麻烦,所以是没有��
�际测试的,只是review了代码

Original comment by yinqiwen@gmail.com on 12 Dec 2010 at 8:34

GoogleCodeExporter commented 9 years ago
知道了,多谢!只好先用Gappproxy了,还是希望能有新版本解��
�Https2GAE,因为hyk-proxy在ssl连接处理上要优于Gappproxy,用习惯h
yk-proxy了,十分感谢。

Original comment by jwj...@gmail.com on 12 Dec 2010 at 1:16

GoogleCodeExporter commented 9 years ago
手工修改hosts起作用么

Original comment by elvis.w1...@gmail.com on 13 Dec 2010 at 6:03

GoogleCodeExporter commented 9 years ago
对Http方式起作用

Original comment by yinqiwen@gmail.com on 13 Dec 2010 at 9:41

GoogleCodeExporter commented 9 years ago
GAE墙内解封了,hyk-proxy恢复正常。
无需手工修改hosts了。

Original comment by jwj...@gmail.com on 13 Dec 2010 at 2:30

GoogleCodeExporter commented 9 years ago
现在感觉GAE没有以前快了?大家有无这种感觉

Original comment by 1984.ga...@gmail.com on 13 Dec 2010 at 2:54

GoogleCodeExporter commented 9 years ago
V0.9.2 released!

Original comment by yinqiwen@gmail.com on 2 Apr 2011 at 3:22

GoogleCodeExporter commented 9 years ago
V0.9.2很好用,不错。

Original comment by jwj...@gmail.com on 25 Apr 2011 at 5:19