You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alan Conway (JIRA)" <ji...@apache.org> on 2018/07/11 15:53:00 UTC

[jira] [Commented] (PROTON-1884) [python] examples don't work with other language brokers

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

Alan Conway commented on PROTON-1884:
-------------------------------------

Correction: this is not a bug in python, it is a problem with SASL in the other language bindings. The other bindings have SASL disabled by default, python has it enabled. Enabling SASL in other clients shows the same problem:

Using the unmodified c/examples/broker.c (which enables SASL "ANONYMOUS") and with the following changes to any c example client:

   pn_transport_t *t = pn_transport();
   pn_sasl_allowed_mechs(pn_sasl(t), "ANONYMOUS");
   pn_proactor_connect2(proactor, NULL, t, addr);

The client hangs in the same way as the python client with this PN_TRACE_FRM=1 output:

[0x2300720]:  -> SASL
[0x2300720]:  <- SASL

 

> [python] examples don't work with other language brokers
> --------------------------------------------------------
>
>                 Key: PROTON-1884
>                 URL: https://issues.apache.org/jira/browse/PROTON-1884
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: python-binding
>    Affects Versions: proton-c-0.23.0
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>            Priority: Major
>
> The python simple_send client does not work with c, cpp or ruby example brokers. It hangs during the SASL negotiation. It does work with the python example broker.
> Based on hand testing a few combinations, the c, cpp and ruby examples all appear to interoperate.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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