Not able to connect to RabbitMQ using Php


I’m trying to connect the RabbitMQ using php, and getting error. PhpAmqpLib\Exception\AMQPDataReadException: Error receiving data in /Users/surya/projects/rabbitmq/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Wire/IO/StreamIO.php:184

However, I’m able to connect to any other local instance/ docker instance using the same code. I’m following the guidelines present on the RabbitMQ Official Tutorials.

What I can?
1. Telnet to the 5671 and 15671 Port. – Success.
2. Open the Management console using the UI and successful login.

Please let me know, incase any other information is required from my side.


Read more here: Source link