thrown in /data/www/Device/restApi/vendor/videlalvaro/php-amqplib/PhpAmqpLib/Wire/IO/StreamIO.php on line 190
[2016-01-04 22:06:48 *15484.3] WARN zm_deactivate_swoole: Fatal error: Uncaught exception 'PhpAmqpLib\Exception\AMQPRuntimeException' with message 'Broken pipe or closed connection' in /data/www/Device/restApi/vendor/videlalvaro/php-amqplib/PhpAmqpLib/Wire/IO/StreamIO.php:190
Stack trace:
[2016-01-04 22:06:48 *15483.7] WARN zm_deactivate_swoole: Fatal error: Uncaught exception 'PhpAmqpLib\Exception\AMQPRuntimeException' with message 'Broken pipe or closed connection' in /data/www/Device/restApi/vendor/videlalvaro/php-amqplib/PhpAmqpLib/Wire/IO/StreamIO.php:190
Stack trace:
PHP Fatal error: Uncaught exception 'PhpAmqpLib\Exception\AMQPRuntimeException' with message 'Broken pipe or closed connection' in /data/www/Device/restApi/vendor/videlalvaro/php-amqplib/PhpAmqpLib/Wire/IO/StreamIO.php:190
Seems that you rebooted a rabbitmq server
You should probably handle closed connections, that's not an uncommon phenomenon.
@Enleur i have the same problem, and yes i have restart rabbitmq server, how do i remove this logs? every minutes the log file is increasing 2-4GB!!!!
Need your help here if you know the solution..
@novaku I made Reconnect wrapper, that catches an exception, reconnects and retries the last operation. Works fine
@enleur Can you share the snippet?
hello @enleur
can you share Reconnect wrapper created by you?
Hello All I am facing the same problem when installing rabitmq on windows following error occured when I am trying to comment rabbitmq
Type: PhpAmqpLib\Exception\AMQPRuntimeException
Message: Broken pipe or closed connection
Filename: C:\xampp\htdocs\CodeIgniter\vendor\romainrg\codeigniter-php-amqplib\PhpAmqpLib\Wire\IO\StreamIO.php
I am facing this as well, I was connecting without username/password, fixed by using "guest" / "guest"
Most helpful comment
@novaku I made Reconnect wrapper, that catches an exception, reconnects and retries the last operation. Works fine