10

Since I upgraded from Magento 2.2.7 to Magento 2.3.1 I am getting this message in the system.log file:

main.INFO: Consumer "async.operations.all" skipped as required connection "amqp" is not configured. Unknown connection name amqp [] []

I get this error also on a fresh Magento 2.3.1 install.

Where could I configure or disable it?

  • 1
    i too have this issue. did you get this sorted out? – Zoya Apr 13 '19 at 1:05
  • 1
    no not yet. not much info on this problem – RaFr Apr 14 '19 at 13:09
  • 1
    Thank you. Please let me know if you find something. – Zoya Apr 14 '19 at 16:18
  • 1
    same issue here...magento 2.3.1 with php7.2 – styzzz Apr 18 '19 at 0:34
4

If you don't want to use the Magento Message Queues, you can just disable it.

php bin/magento module:disable Magento_Amqp

If you want to use it, you might modify your app/etc/env.php

<?php
return [

// ...

'cron_consumers_runner' => [
    'cron_run' => false,
    'max_messages' => 1000,
    'consumers' => [
    'async.operations.all',
    ]
]

]; // return closing

Reference: https://devdocs.magento.com/guides/v2.3/config-guide/mq/manage-message-queues.html#configuration

  • how is this a solution? you're disabling the async queues – Alex Bejan Nov 25 '19 at 16:48
  • 1
    Hi @AlexBejan, there are two answers, it's enabled by default so disabling is just an option when you don't pretend to use it, you if you want you can use the configuration that I recommended, it's the same as Magento DevDocs recommends. – Rafael Corrêa Gomes Nov 26 '19 at 16:32
  • I'm not sure what the addition to the env.php does here. If I want to enable async sending of messages, do I add that code or do I edit the cron_run to be true? – Webninja Dec 7 '19 at 21:23
  • Left the cron_run false @Webninja – Rafael Corrêa Gomes Dec 7 '19 at 22:42
  • Yes, that I noticed. So if that is left to false Magento does not send emails by cron? Or what is the effect of that setting? – Webninja Dec 8 '19 at 9:00
0

I ran into this on Magento 2.3.1 and after some searching through the docs I found this link: https://devdocs.magento.com/guides/v2.3/config-guide/mq/manage-message-queues.html

Here it explains what it does and it says you can edit the /app/etc/env.php file to configure the cron job consumers_runner. I decided to add this "async.operations.all" consumer here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.