RABBIMQ connection problem Handling

Source: Internet
Author: User

Today encountered a RABBITMQ connection problem, before I write code test time did not appear, so do a small summary, because it is the other Project test deployment environment found problems, so the first to troubleshoot or a bit of a pit ...

A new RABBITMQ on the client connection, not created successfully, there are several possibilities, 1: The user name password is not correct, the user may not have been created at all, 2: no access; 3: no setting virtual_host;

The first two points do not say, I have to go to the good of the creation of the configuration, the 3rd is a bit easier to ignore, because I have been the client with the Guest user login, RABBITMQ default virtual host is "\", so there has been no problem, today try to use another user Exh_admin login and found that the connection could not be created

At that time to see the error here can not locate the problem, and then log on to the server to view the MQ logs, to find the following information

Seems a bit of a clue, according to the management interface to view, Exh_admin user does not have "\" permission, only set the "EXH", the code is sent before the message is not set, the system is the default to "\" virtual host, so the connection will create a failure

RABBIMQ connection problem Handling

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.