You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "xiongcaiqiong (JIRA)" <ji...@apache.org> on 2015/11/26 02:01:12 UTC
[jira] [Updated] (AMQ-6064) Transport Connection failed:
java.net.ProtocolException: Invalid CONNECT encoding, and lots of
'CLOSE_WAIT' sockets(port:1883)
[ https://issues.apache.org/jira/browse/AMQ-6064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
xiongcaiqiong updated AMQ-6064:
-------------------------------
Description:
The system throws many exceptions when many mqtt clients connection , and lots of 'CLOSE_WAIT' sockets(port:1883)
2015-11-25 15:21:26,763 | DEBUG | Transport Connection to: tcp://10.11.28.233:2500 failed: java.net.ProtocolException: Invalid CONNECT encoding | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///10.11.28.233:2500@1883
java.net.ProtocolException: Invalid CONNECT encoding
at org.fusesource.mqtt.codec.CONNECT.decode(CONNECT.java:77)
at org.apache.activemq.transport.mqtt.MQTTProtocolConverter.onMQTTCommand(MQTTProtocolConverter.java:157)
at org.apache.activemq.transport.mqtt.MQTTTransportFilter.onCommand(MQTTTransportFilter.java:79)
at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)
at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:214)
at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:196)
at java.lang.Thread.run(Thread.java:662)
was:
The system throws many exceptions when many mqtt clients connection.
2015-11-25 15:21:26,763 | DEBUG | Transport Connection to: tcp://10.11.28.233:2500 failed: java.net.ProtocolException: Invalid CONNECT encoding | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///10.11.28.233:2500@1883
java.net.ProtocolException: Invalid CONNECT encoding
at org.fusesource.mqtt.codec.CONNECT.decode(CONNECT.java:77)
at org.apache.activemq.transport.mqtt.MQTTProtocolConverter.onMQTTCommand(MQTTProtocolConverter.java:157)
at org.apache.activemq.transport.mqtt.MQTTTransportFilter.onCommand(MQTTTransportFilter.java:79)
at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)
at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:214)
at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:196)
at java.lang.Thread.run(Thread.java:662)
Summary: Transport Connection failed: java.net.ProtocolException: Invalid CONNECT encoding, and lots of 'CLOSE_WAIT' sockets(port:1883) (was: Transport Connection failed: java.net.ProtocolException: Invalid CONNECT encoding )
> Transport Connection failed: java.net.ProtocolException: Invalid CONNECT encoding, and lots of 'CLOSE_WAIT' sockets(port:1883)
> ------------------------------------------------------------------------------------------------------------------------------
>
> Key: AMQ-6064
> URL: https://issues.apache.org/jira/browse/AMQ-6064
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.9.0
> Environment: windows 64bit
> jdk6
> Reporter: xiongcaiqiong
>
> The system throws many exceptions when many mqtt clients connection , and lots of 'CLOSE_WAIT' sockets(port:1883)
> 2015-11-25 15:21:26,763 | DEBUG | Transport Connection to: tcp://10.11.28.233:2500 failed: java.net.ProtocolException: Invalid CONNECT encoding | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///10.11.28.233:2500@1883
> java.net.ProtocolException: Invalid CONNECT encoding
> at org.fusesource.mqtt.codec.CONNECT.decode(CONNECT.java:77)
> at org.apache.activemq.transport.mqtt.MQTTProtocolConverter.onMQTTCommand(MQTTProtocolConverter.java:157)
> at org.apache.activemq.transport.mqtt.MQTTTransportFilter.onCommand(MQTTTransportFilter.java:79)
> at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)
> at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:214)
> at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:196)
> at java.lang.Thread.run(Thread.java:662)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)