Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authorisation failures due to incorrect vhost specified on TLS connections could use better error message #274

Open
michaelklishin opened this issue Dec 11, 2014 · 0 comments

Comments

@michaelklishin
Copy link
Member

Not sure if we can control this as this may be how Ruby's OpenSSL extension does TLS upgrade, but still.

A user reported that connecting with TLS and incorrectly specific vhost results in

{handshake_error,opening,0,
                {amqp_error,access_refused,
                            "access to vhost '/' refused for user 'upgrade-admin'",
                            'connection.open'}}

RabbitMQ log and

OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: unknown protocol

from Bunny. We should look into making the message clearer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant