Git-Host / snova

Automatically exported from code.google.com/p/snova
0 stars 0 forks source link

Bug Report:snova C4无法连通CloudFoundry #330

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
操作系统:Windows XP
服务端版本:snova-c4-server-0.19.3.war

snova在Heroku上部署成功;在CloudFoundry上部署成功,用工具检查
确认没有问题,但是将c4-client.conf中的地址由Heroku直接改为Clo
undFoundry后Java客户端(版本:snova-0.19.0)连接不上,其他所有
设置都和部署在Heroku上一样。
但是,gsnova没有问题,关闭其他插件只剩C4后一样能连通Clound
Foundry。
在命令行模式start.bat中错误提示如下:

[01-24 14:50:05.843][ERROR]exceptionCaught in HttpResponseHandler
java.lang.IllegalArgumentException: invalid version format: <HTML>
        at org.jboss.netty.handler.codec.http.HttpVersion.<init>(HttpVersion.jav
a:108)
        at org.jboss.netty.handler.codec.http.HttpVersion.valueOf(HttpVersion.ja
va:68)
        at org.jboss.netty.handler.codec.http.HttpResponseDecoder.createMessage(
HttpResponseDecoder.java:110)
        at org.jboss.netty.handler.codec.http.HttpMessageDecoder.decode(HttpMess
ageDecoder.java:198)
        at org.jboss.netty.handler.codec.http.HttpMessageDecoder.decode(HttpMess
ageDecoder.java:107)
        at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(Repl
ayingDecoder.java:470)
        at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived
(ReplayingDecoder.java:443)
        at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEve
ntRunnable.java:69)
        at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecuto
r$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:316)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

[01-24 14:50:05.890][ERROR]exceptionCaught in HttpResponseHandler
java.lang.IllegalArgumentException: invalid version format: <HEAD><TITLE>400
        at org.jboss.netty.handler.codec.http.HttpVersion.<init>(HttpVersion.jav
a:108)
        at org.jboss.netty.handler.codec.http.HttpVersion.valueOf(HttpVersion.ja
va:68)
        at org.jboss.netty.handler.codec.http.HttpResponseDecoder.createMessage(
HttpResponseDecoder.java:110)
        at org.jboss.netty.handler.codec.http.HttpMessageDecoder.decode(HttpMess
ageDecoder.java:198)
        at org.jboss.netty.handler.codec.http.HttpMessageDecoder.decode(HttpMess
ageDecoder.java:107)
        at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(Repl
ayingDecoder.java:470)
        at org.jboss.netty.handler.codec.replay.ReplayingDecoder.cleanup(Replayi
ngDecoder.java:541)
        at org.jboss.netty.handler.codec.replay.ReplayingDecoder.channelDisconne
cted(ReplayingDecoder.java:449)
        at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEve
ntRunnable.java:69)
        at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecuto
r$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:316)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

遇到的情况与Issue 
259类似,不是配置文件/OS/防火墙/服务器的问题
希望对作者有帮助。

Original issue reported on code.google.com by mw20...@gmail.com on 24 Jan 2013 at 6:54

GoogleCodeExporter commented 9 years ago
可能表达不是很清楚,就是说:我在Heroku上没有问题,但是��
�CloudFoundry上Java客户端不能用gsnova能用,只是仅仅改了服务器
配置而没有动其他地方,所以不是配置文件/防火墙之类的问�
��……

Original comment by mw20...@gmail.com on 24 Jan 2013 at 6:59

GoogleCodeExporter commented 9 years ago
java在重构移植到android上,下岗版本的配置会和gsnova保持一致

Original comment by yinqiwen@gmail.com on 25 Jan 2013 at 3:05