[ https://issues.apache.org/jira/browse/AMQ-6064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish closed AMQ-6064. ----------------------------- Resolution: Cannot Reproduce No test added to validate against a current release. > 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)