Return-Path: X-Original-To: apmail-activemq-issues-archive@minotaur.apache.org Delivered-To: apmail-activemq-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 143A018265 for ; Tue, 1 Dec 2015 14:48:27 +0000 (UTC) Received: (qmail 60652 invoked by uid 500); 1 Dec 2015 14:48:11 -0000 Delivered-To: apmail-activemq-issues-archive@activemq.apache.org Received: (qmail 60578 invoked by uid 500); 1 Dec 2015 14:48:11 -0000 Mailing-List: contact issues-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list issues@activemq.apache.org Received: (qmail 60548 invoked by uid 99); 1 Dec 2015 14:48:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2015 14:48:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 095742C0453 for ; Tue, 1 Dec 2015 14:48:11 +0000 (UTC) Date: Tue, 1 Dec 2015 14:48:11 +0000 (UTC) From: "Timothy Bish (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (AMQ-6064) Transport Connection failed: java.net.ProtocolException: Invalid CONNECT encoding, and lots of 'CLOSE_WAIT' sockets(port:1883) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)