[rabbitmq-discuss] RabbitMQ.Client.Exceptions.AuthenticationFailureException / ACCESS_REFUSED

Scott McFadden scott.kendall.mcfadden at gmail.com
Sat Apr 26 03:21:48 BST 2014


Here are the permissions for default host.

C:\Program Files (x86)\RabbitMQ 
Server\rabbitmq_server-3.3.0\sbin>rabbitmqctl.ba
t list_permissions -p /

Listing permissions in vhost "/" ...
guest   .*      .*      .*
...done.

On Friday, April 25, 2014 5:55:51 PM UTC-5, Scott McFadden wrote:
>
> Was running RabbitMQ 3.3.0 for Windows but our server crashed.   Recently 
> moved rabbitmq to a hyperv windows virtual server and trying to get set 
> back up.  Trying to connect from client to new RabbitMqServer on hyper-v 
> 2008 virtual server using guest/guest default credentials and get this 
> error:
>
>
> None of the specified endpoints were reachable\nEndpoints 
> attempted:\n------------------------------------------------\nendpoint=amqp-0-9://
> devtest01.acme.com:5672, 
> attempts=1\nRabbitMQ.Client.Exceptions.AuthenticationFailureException: 
> ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. 
> For details see the broker logfile.\r\n   at 
> RabbitMQ.Client.Impl.ConnectionBase.StartAndTune()\r\n   at 
> RabbitMQ.Client.Framing.Impl.v0_9_1.Connection.Open(Boolean insist)\r\n   
> at RabbitMQ.Client.Impl.ConnectionBase..ctor(ConnectionFactory factory, 
> Boolean insist, IFrameHandler frameHandler)\r\n   at 
> RabbitMQ.Client.Framing.Impl.v0_9_1.Connection..ctor(ConnectionFactory 
> factory, Boolean insist, IFrameHandler frameHandler)\r\n   at 
> RabbitMQ.Client.Framing.Impl.v0_9_1.ProtocolBase.CreateConnection(ConnectionFactory 
> factory, Boolean insist, IFrameHandler frameHandler)\r\n   at 
> RabbitMQ.Client.ConnectionFactory.FollowRedirectChain(Int32 maxRedirects, 
> IDictionary`2 connectionAttempts, IDictionary`2 co
> nnectionErrors, AmqpTcpEndpoint[]& mostRecentKnownHosts, AmqpTcpEndpoint 
> endpoint)\n================================================\nStack trace:\n 
>   at RabbitMQ.Client.ConnectionFactory.CreateConnection(Int32 
> maxRedirects)\r\n   at 
> RabbitMQ.Client.ConnectionFactory.CreateConnection()\r\n   at
>
> Client is using RabbitMQ.Client for .NET 3.2.4.0.
>
> Here is the .NET 4.51 code:
>
>  var cf = new ConnectionFactory() { HostName = this.HostName, UserName = 
> this.UserName, Password = this.Password };
>  m_connection = cf.CreateConnection();
>  m_model = m_connection.CreateModel();
>
> How do you troubleshoot RabbitMQ connectivity issues for windows server / 
> client?
>
>
> thanks
>
>
> scott
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140425/e6a63a78/attachment.html>


More information about the rabbitmq-discuss mailing list