You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Pete Fawcett (Jira)" <ji...@apache.org> on 2022/09/15 10:33:00 UTC

[jira] [Commented] (PROTON-2604) Python program loose connection silently

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

Pete Fawcett commented on PROTON-2604:
--------------------------------------

We have seen, possibly similar, problems with Python proton clients connecting to the Qpid cpp broker where messages stop being delivered.

It would seem that the broker deems that the connection is closed but that the client doesn't.  As a result the client waits indefinitely for messages but the broker does not send any.

One thing we have seen is that, at the client end, the TCP socket is showing as CLOSE_WAIT.  We have yet to ascertain why the proton code doesn't seem to detect this.

Like you, our client is running on CentOS 7.  We use "ss" to check the state of the sockets.




> Python program loose connection silently
> ----------------------------------------
>
>                 Key: PROTON-2604
>                 URL: https://issues.apache.org/jira/browse/PROTON-2604
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: python-binding
>         Environment: Server runs in CentOS 7 as RPM package from EPEL
>            Reporter: Jonathan Schaeffer
>            Priority: Major
>
> With python-qpid-proton v1.37 
> I have clients connected to the qpid-cpp-server-1.39.0 listening to a queue and waiting to consume messages.
> If there is no message in the queue during some time (about 48 hours, very roughly), new messages are not consumed by the client.
> As a workaround, restarting the client solves the problem.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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