activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: Is it possible to connect with anonymous user through mqtt+nio connector
Date Tue, 27 Aug 2013 15:36:40 GMT
Post your config please.


On Tue, Aug 27, 2013 at 5:47 AM, tcarlyle <tcarlyle@gmail.com> wrote:

> Hi,
> I have a broker configured to accept mqtt+nio, tcp+ssl and tcp connections.
>
> I can connect anonymously using tcp and jms, but when I try to use the
> mqtt-client java library https://github.com/fusesource/mqtt-client to
> connect anonymously, I get the following error log in the broker's side:
>
> java.lang.SecurityException: User anonymous is not authorized to write to:
> queue://ActiveMQ.DLQ
> 2013-08-27 15:16:40,148 | WARN  | Failed to add Connection
> ID:snf-58412-58115-1377164175964-1:62, reason: java.lang.SecurityException:
> User name [anonymous] or password is invalid. |
> org.apache.activemq.broker.TransportConnection | ActiveMQ NIO Worker 782
> 2013-08-27 15:16:40,155 | WARN  | Transport Connection to:
> tcp://78.91.103.24:32863 failed: java.io.IOException: User name
> [anonymous]
> or password is invalid. |
> org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ NIO
> Worker 782
> 2013-08-27 15:16:42,152 | INFO  | Stopping null because Failed with
> SecurityException: User name [anonymous] or password is invalid. |
> org.apache.activemq.broker.TransportConnection | ActiveMQ
> BrokerService[localhost] Task-339
>
> I can connect using the mqtt-client if Im using a valid username/password.
>
>
>
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Is-it-possible-to-connect-with-anonymous-user-through-mqtt-nio-connector-tp4670730.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message