[rabbitmq-discuss] attempt to connect to broker with invalid username/password hangs

Ben Hood 0x6e6562 at gmail.com
Tue Aug 25 15:36:14 BST 2009


Marc,

On Tue, Aug 25, 2009 at 3:31 PM, Mark Geib<mark.geib at echostar.com> wrote:
> I have just started using non guest users and password and have found
> that using the erlang client when I make the call
>
> amqp_connection:start(User, Password, Broker)
>
> it will hang, seemingly forever, if the user is invalid. Once I change
> the user to a correct one everything works as advertised.
>
> Is there a way to avoid this hang and detect wrong user names.??

Yes, this was a bug but has now been fixed. You will have to update to
latest version of the default branch from the repository. Also note
that the API has changed somewhat w.r.t. starting a connection - the
start function takes an #amqp_params{} record.

HTH,

Ben




More information about the rabbitmq-discuss mailing list