[rabbitmq-discuss] PHP receive.php exception in tutorial

Michael Klishin mklishin at gopivotal.com
Mon Oct 28 15:48:19 GMT 2013

On 28 Oct 2013, at 19:16, Fábio Silva <fahecs at gmail.com> wrote:

> PHP Fatal error:  Uncaught exception 'PhpAmqpLib\Exception\AMQPRuntimeException' with message 'Error reading data. Received 0 instead of expected 7 bytes' in /var/www/rabbitmq/vendor/videlalvaro/php-amqplib/PhpAmqpLib/Wire/IO/StreamIO.php:50
> Stack trace:

What’s in RabbitMQ log?

There was an issue fixed in the client you use that made it handle empty socket
reads in a sensible way.

I suspect this is an authentication issue.


More information about the rabbitmq-discuss mailing list