You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running php-enqueue with the amqp-lib and rabbitmq using a docker container (both locally and in production with Kubernetes).
I'm starting the container with the following command: bin/console enqueue:consume <queue name> --setup-broker --verbose, which works beautifully.
However, when shutting down the container, the following exception is thrown:
api_webhook_1 | [2017-12-20 16:17:05] console.ERROR: Error thrown while running command "enqueue:consume stripe_webhook --setup-broker --verbose". Message: "A network error occured while awaiting for incoming data" {"error":"[object] (PhpAmqpLib\\Exception\\AMQPIOWaitException(code: 0): A network error occured while awaiting for incoming data at /var/www/symfony/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Wire/AMQPReader.php:128)","command":"enqueue:consume stripe_webhook --setup-broker --verbose","message":"A network error occured while awaiting for incoming data"} []
api_webhook_1 | [2017-12-20 16:17:05] console.DEBUG: Command "enqueue:consume stripe_webhook --setup-broker --verbose" exited with code "1" {"command":"enqueue:consume stripe_webhook --setup-broker --verbose","code":1} []
api_webhook_1 |
api_webhook_1 | In AMQPReader.php line 128:
api_webhook_1 |
api_webhook_1 | [PhpAmqpLib\Exception\AMQPIOWaitException]
api_webhook_1 | A network error occured while awaiting for incoming data
api_webhook_1 |
api_webhook_1 |
api_webhook_1 | Exception trace:
api_webhook_1 | PhpAmqpLib\Wire\AMQPReader->wait() at /var/www/symfony/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Wire/AMQPReader.php:148
api_webhook_1 | PhpAmqpLib\Wire\AMQPReader->rawread() at /var/www/symfony/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Wire/AMQPReader.php:106
api_webhook_1 | PhpAmqpLib\Wire\AMQPReader->read() at /var/www/symfony/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php:513
api_webhook_1 | PhpAmqpLib\Connection\AbstractConnection->wait_frame() at /var/www/symfony/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php:560
api_webhook_1 | PhpAmqpLib\Connection\AbstractConnection->wait_channel() at /var/www/symfony/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Channel/AbstractChannel.php:217
api_webhook_1 | PhpAmqpLib\Channel\AbstractChannel->next_frame() at /var/www/symfony/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Channel/AbstractChannel.php:327
api_webhook_1 | PhpAmqpLib\Channel\AbstractChannel->wait() at /var/www/symfony/vendor/enqueue/amqp-lib/AmqpContext.php:389
api_webhook_1 | Enqueue\AmqpLib\AmqpContext->consume() at /var/www/symfony/vendor/enqueue/enqueue/Consumption/QueueConsumer.php:206
api_webhook_1 | Enqueue\Consumption\QueueConsumer->consume() at /var/www/symfony/vendor/enqueue/enqueue/Symfony/Client/ConsumeMessagesCommand.php:115
api_webhook_1 | Enqueue\Symfony\Client\ConsumeMessagesCommand->execute() at /var/www/symfony/vendor/symfony/console/Command/Command.php:252
api_webhook_1 | Symfony\Component\Console\Command\Command->run() at /var/www/symfony/vendor/symfony/console/Application.php:872
api_webhook_1 | Symfony\Component\Console\Application->doRunCommand() at /var/www/symfony/vendor/symfony/framework-bundle/Console/Application.php:83
api_webhook_1 | Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at /var/www/symfony/vendor/symfony/console/Application.php:233
api_webhook_1 | Symfony\Component\Console\Application->doRun() at /var/www/symfony/vendor/symfony/framework-bundle/Console/Application.php:71
api_webhook_1 | Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /var/www/symfony/vendor/symfony/console/Application.php:143
api_webhook_1 | Symfony\Component\Console\Application->run() at /var/www/symfony/bin/console:33
api_webhook_1 |
api_webhook_1 | enqueue:consume [--message-limit MESSAGE-LIMIT] [--time-limit TIME-LIMIT] [--memory-limit MEMORY-LIMIT] [--setup-broker] [--idle-timeout IDLE-TIMEOUT] [--receive-timeout RECEIVE-TIMEOUT] [--skip [SKIP]] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command> [<client-queue-names>]...
api_webhook_1 |
api_rabbitmq_1 |
api_rabbitmq_1 | =INFO REPORT==== 20-Dec-2017::16:17:05 ===
api_rabbitmq_1 | closing AMQP connection <0.548.0> (172.18.0.11:41252 -> 172.18.0.6:5672, vhost: '/', user: 'guest')
moneymachine_api_webhook_1 exited with code 1
I've tried experimenting with different timeout settings, but to no avail.
There is a SignalExtension, but it seems that's only called after the exception is already thrown.
Any tips/recommendations/helpful insight?
The text was updated successfully, but these errors were encountered:
I'm running php-enqueue with the amqp-lib and rabbitmq using a docker container (both locally and in production with Kubernetes).
I'm starting the container with the following command:
bin/console enqueue:consume <queue name> --setup-broker --verbose
, which works beautifully.However, when shutting down the container, the following exception is thrown:
I've tried experimenting with different timeout settings, but to no avail.
There is a
SignalExtension
, but it seems that's only called after the exception is already thrown.Any tips/recommendations/helpful insight?
The text was updated successfully, but these errors were encountered: