mosquito / aio-pika

AMQP 0.9 client designed for asyncio and humans.
https://aio-pika.readthedocs.org/
Apache License 2.0
1.18k stars 186 forks source link

Invalid External credentials example in docs #520

Open aiexz opened 1 year ago

aiexz commented 1 year ago

I was trying to connect to SSL rabbitmq server with external server and failed with the example in the docs.

There was an issue(#479) related to this problem and code from there works just fine.

Adding auth='external' argument to connect_robust seems to solve the problem https://gist.github.com/aiexz/7f93fd6b91fe10d280dee6d6395bdbd4

RomanKhudobei commented 1 year ago

Omg, thank you. I've been searching this simple thing for couple of hours. It really should be stated in documentation

mosquito commented 1 year ago

@RomanKhudobei don't you want add some example in documentation? Or add it here, I will add it.