Open GoogleCodeExporter opened 8 years ago
client配置错了
Original comment by yinqiwen@gmail.com
on 12 Dec 2012 at 2:05
我也出现这问题了,确定不是client配置错
Original comment by youyouti...@gmail.com
on 12 Dec 2012 at 2:38
配置是怎样的? client和server的版本?
Original comment by yinqiwen@gmail.com
on 12 Dec 2012 at 2:40
Success to connect 1 GAE server
Start plugin:GAE ... Success
Success to found 1 c4 server
Start plugin:C4 ... Success
Start plugin:SPAC ... Success
Local HTTP(S) Server Running...
at localhost:48100
[12-12 10:44:32.984][ERROR]exceptionCaught in HttpResponseHandler
java.io.IOException: ??????????????????????????????????
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:25)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:198)
at sun.nio.ch.IOUtil.read(IOUtil.java:166)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:243)
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:323)
at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioW
orker.java:282)
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:202)
at org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor$Memor
yAwareRunnable.run(MemoryAwareThreadPoolExecutor.java:526)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:662)
Original comment by youyouti...@gmail.com
on 12 Dec 2012 at 2:46
client和server版本要求一致
Original comment by yinqiwen@gmail.com
on 12 Dec 2012 at 2:48
Server 是用 vmc 部署到CF上的,可以正常访问http,如图
Original comment by kevin...@gmail.com
on 12 Dec 2012 at 2:51
Attachments:
snova Client的版本不是0.19.0?
Original comment by yinqiwen@gmail.com
on 12 Dec 2012 at 2:57
服务器的版本:snova-c4-server-0.19.3.war
客户端的版本:snova-0.19.0.zip
主配置:
[Framework]
LocalHost=localhost
LocalPort=48100
##The thread pool size of local server
ThreadPoolSize=30
##Can choose in plugins, default is GAE
ProxyService=c4
TrsutedDNS=8.8.8.8|208.67.222.222|8.8.4.4|208.67.220.220
PluginRepository=http://snova.googlecode.com/svn/trunk/repository/plugins.xml
C4的配置:
[C4]
#WorkerNode[0]=xyz.herokuapp.com
#WorkerNode[1]=xyz.cloudfoundry.com
WorkerNode[0]=xxx.cloudfoundry.com
Original comment by youyouti...@gmail.com
on 12 Dec 2012 at 3:01
试下gsnova0.19.3,这个是确保兼容server 0.19.3的
Original comment by yinqiwen@gmail.com
on 12 Dec 2012 at 3:03
Comment 13 by project member yinqiwen@gmail.com, Today (6 minutes ago)
试下gsnova0.19.3,这个是确保兼容server 0.19.3的
o了,赞个
Original comment by youyouti...@gmail.com
on 12 Dec 2012 at 3:10
重新测了java的0.19.0,也是ok的
youyoutianbulao的java的配置里ProxyService=c4这个要改成ProxyService=C4
Original comment by yinqiwen@gmail.com
on 12 Dec 2012 at 3:15
我是: 服务器的版本:snova-c4-server-0.19.3.war
客户端的版本:snova-0.19.0.zip
Original comment by kevin...@gmail.com
on 12 Dec 2012 at 3:39
kevintop的问题就是java进程无法直接访问C4服务端。
浏览器必须设置代理才能访问C4服务端web页面?
Original comment by yinqiwen@gmail.com
on 12 Dec 2012 at 3:42
不是啊,不用代理也可以访问C4服务端的web页面的。
--------------------------------------------------
kevintop的问题就是java进程无法直接访问C4服务端。
浏览器必须设置代理才能访问C4服务端web页面?
Original comment by kevin...@gmail.com
on 12 Dec 2012 at 3:51
我用snova-0.19.0作为客户端不行。当是我用 gsnova-0.19.3
作为客户端 ,没有问题。twitter可以正常访问。
Original comment by kevin...@gmail.com
on 12 Dec 2012 at 3:53
看来只可能是C4的地址在client配置错了
Original comment by yinqiwen@gmail.com
on 12 Dec 2012 at 3:55
也可能是os的防火墙的原因
Original comment by yinqiwen@gmail.com
on 12 Dec 2012 at 3:56
可,问题是, 用 gsnova-0.19.3 作为客户端就可以。
Original comment by kevin...@gmail.com
on 12 Dec 2012 at 5:06
似乎是C4和CLient的连通有些问题。我之前用SNova
0.19是可以用Cloudfoundry的,今天就不行了。
在浏览器里访问appida.cloudfoundry.com是不需要代理的。
Original comment by fay...@gmail.com
on 12 Dec 2012 at 11:15
把Snova里的C4 Conf 的HTTPS换成HTTP就可以了。
Original comment by fay...@gmail.com
on 12 Dec 2012 at 11:23
Original issue reported on code.google.com by
kevin...@gmail.com
on 12 Dec 2012 at 1:49