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

Robbie Gemmell commented on ARTEMIS-2971:
-----------------------------------------

Related, if the broker tries to connect with user+pass configured to a server 
that doesnt support PLAIN, it appears to go into an infinite loop and so 
generates a StackOverflowError before failing the attempt as result. It then 
repeats this each reconnect-interval.

> outgoing 'server-connection' doesnt support ANONYMOUS or EXTERNAL SASL 
> mechanisms
> ---------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-2971
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2971
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.16.0
>            Reporter: Robbie Gemmell
>            Assignee: Clebert Suconic
>            Priority: Major
>
> The broker supports using ANONYMOUS and EXTERNAL SASL mechanisms for 
> connecting AMQP clients to the broker. However, it doesnt support either for 
> the outgoingserver-connection feature to have the broker establish 
> connections. This means an Artemis broker may be unable to connect to another 
> Artemis broker using this feature, depending on its configuration.
> The broker currently only supports using PLAIN if a user+pass is supplied for 
> the outgoing connection, or using a raw AMQP (no SASL) connection if no 
> user+pass is supplied. This means the broker cant connect to a server unless 
> it either offers PLAIN, or accepts bare AMQP without SASL auth (which some 
> dont, e.g I think ActiveMQ 5 by default at least).
>  
> EXTERNAL is going to be fairly desirable for such use cases. Using SASL 
> ANONYMOUS for connections without user+pass/EXTERNAL woud be a more typical 
> default, but it shoul at least be supported.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to