wagslane / go-rabbitmq

A wrapper of streadway/amqp that provides reconnection logic and sane defaults
https://blog.boot.dev/golang/connecting-to-rabbitmq-in-golang-easy/
MIT License
772 stars 126 forks source link

open connection problem, why throw Exception (403) #76

Closed busyfree closed 2 years ago

busyfree commented 2 years ago

when i use this repo to connect the rmq server ,but it throw out Exception (403) Reason: "username or password not allowed".

directlty use the github.com/rabbitmq/amqp091-go repo ,then it can connect success.

test twice is use the same uri config string.

so cause the exception is some config error ?

wagslane commented 2 years ago

That's not a problem with this library, I've tested authentication. sounds like you need to check settings or credentials