You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/10/23 02:25:34 UTC

[jira] [Commented] (QPID-6179) [Java Client] Connection establishment can send invalid frame sequence when retrying

    [ https://issues.apache.org/jira/browse/QPID-6179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14180799#comment-14180799 ] 

ASF subversion and git services commented on QPID-6179:
-------------------------------------------------------

Commit 1633728 from [~godfrer] in branch 'qpid/trunk'
[ https://svn.apache.org/r1633728 ]

QPID-6179 - [Java Client] Connection establishment can send invalid frame sequence when retrying

> [Java Client] Connection establishment can send invalid frame sequence when retrying
> ------------------------------------------------------------------------------------
>
>                 Key: QPID-6179
>                 URL: https://issues.apache.org/jira/browse/QPID-6179
>             Project: Qpid
>          Issue Type: Bug
>            Reporter: Rob Godfrey
>            Assignee: Rob Godfrey
>
> Occasionally one sees erroneous protocol traces such as illustrated by the following:
> {noformat}
> [apache.qpid.client.AMQConnectionDelegate_8_0] Connecting to broker:tcp://localhost:10002?connectdelay='500'&retries='0'
> [transport.network.io.IoNetworkTransport] SO_RCVBUF : 65535
> [transport.network.io.IoNetworkTransport] SO_SNDBUF : 65535
> [transport.network.io.IoNetworkTransport] TCP_NODELAY : true
> [qpid.client.state.StateWaiter] New StateWaiter :AMQState: id = 4 name: CONNECTION_OPEN:[AMQState: id = 4 name: CONNECTION_OPEN, AMQState: id = 6 name: CONNECTION_CLOSED]
> [qpid.protocol] SEND: [org.apache.qpid.client.protocol.AMQProtocolHandler@501fdcfb] AMQP1109
> [apache.qpid.client.AMQConnection] Connection 3 now connected from /127.0.0.1:50631 to localhost/127.0.0.1:10002
> [apache.qpid.client.AMQConnection] Are we connected:true
> [apache.qpid.client.AMQConnection] Connected with ProtocolHandler Version:0-9
> [apache.qpid.client.AMQConnectionDelegate_8_0] Write channel open frame for channel id 
>                                                      ^^^^^^^^^^^^
> # What on earth         
> {noformat}
> The issue stems from a prior connection attempt which has reached the connection open stage, but then (for some reason) closed.
> We can rectify this issue by using a new StateManager for each connection attempt.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org