Troubleshoot "[Errno 111] Connection refused" error for RabbitMQ plugins

Troubleshoot "[Errno 111] Connection refused" error for RabbitMQ plugins

When installing the RabbitMQ plugin, you may encounter the following error:
urlopen error [Errno 111] Connection refused: This error usually occurs when the plugin tries to connect with the RabbitMQ server but is unable to establish a connection.

Here are some ways you can troubleshoot the issue.
  1. Verify that the RabbitMQ service is running: The RabbitMQ server might not be running or is starting up. Ensure that the RabbitMQ service is up and running. You can execute the command below to check the status of the RabbitMQ server:
    sudo systemctl status rabbitmq-server

  2. Check the host and port: You might be trying to connect to the wrong IP address or port. RabbitMQ typically runs on port 5672, and the management plugin runs on port 15672. Make sure you're connecting to the right host and port.

  3. Review network and firewall issues: Check if there are any firewall rules blocking access to the RabbitMQ server's port (usually 5672 and 15672). Ensure they are open in your firewall and that your internet connection is working correctly.

  4. Check the URL: Check if the RabbitMQ management interface URL is accessible from a browser. The default URL is http://localhost:15672/api/overview. If you are using a specific IP address, replace localhost with the IP address in the URL.

  5. Check logs: Review RabbitMQ's log files for any error messages or warnings that might provide more information about the issue. The log files are usually located in /var/log/rabbitmq/.
Once you've made changes based on the checks above, restart the Site24x7 server monitoring agent or re-register the plugin. Within five minutes, you should be able to view performance metrics in Site24x7.

If the issue persists, reach out to support@site24x7.com with the plugin details.

    • Related Articles

    • Troubleshoot the Error 404 and Error 99 for RabbitMQ

      When installing the RabbitMQ plugin, you may encounter the following errors: HTTP Error 404: Not Found: This error usually occurs when Site24x7's RabbitMQ monitoring plugin attempts to access the /api/overview page of RabbitMQ, but the resource ...
    • Troubleshoot connection errors in the MySQL plugin

      When configuring the MySQL plugin, you may encounter the following errors: Error : Connection Error - This error typically indicates that there is a problem establishing a connection to the database. Sometimes, this message is supplemented with an ...
    • Troubleshoot the "ORA-12514" error when installing Oracle plugins

      When installing the Oracle database monitoring plugins, you may encounter the following error: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor: This error typically occurs during attempts to establish a ...
    • Troubleshoot the "pymysql module not found" error when installing the MySQL plugin

      If you're encountering the pymysql module not found error, it likely means that the pymysql Python library is not installed on the server. pymysql is a Python package that provides a way to interact with MySQL databases using Python code and is used ...
    • Troubleshoot the HTTP Error 403 (Forbidden) for Jenkins

      When installing the Jenkins monitoring plugins, you may encounter the following error: HTTP Error 403: Forbidden: This error usually indicates that you don't have the necessary permissions to access a particular resource or perform a specific action ...