Methods

Class/Module Index [+]

Quicksearch

Bunny::PossibleAuthenticationFailureError

Raised when RabbitMQ closes TCP connection before finishing connection sequence properly. This typically indicates an authentication issue.

Attributes

username[R]

API

vhost[R]

API

Public Class Methods

new(username, vhost, password_length) click to toggle source
# File lib/bunny/exceptions.rb, line 86
def initialize(username, vhost, password_length)
  @username = username
  @vhost    = vhost

  super("RabbitMQ closed TCP connection before authentication succeeded: this usually means authentication failure due to misconfiguration or that RabbitMQ version does not support AMQP 0.9.1. Please check your configuration. Username: #{username}, vhost: #{vhost}, password length: #{password_length}")
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.