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 

[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

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

Reply via email to