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
{{ message }}
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.
The website encountered an unexpected error. Please try again later.
PhpAmqpLib\Exception\AMQPProtocolConnectionException: ACCESS_REFUSED - Login was refused using authentication mechanism AMQPLAIN. For details see the broker logfile. in PhpAmqpLib\Connection\AbstractConnection->connection_close() (line 661 of vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php).
To catch this exception, we need to do something like:
use CeleryAdvanced;
use PhpAmqpLib\Exception\AMQPProtocolConnectionException;
[...]
try {
$queue = new CeleryAdvanced($broker, $backend);
return $queue;
}
catch(AMQPProtocolConnectionException $e) {
[...]
}
It'd be more convenient to add a new exception (CeleryConnectionException), as we then wouldn't need to concerns ourselves with the underlying library.
The text was updated successfully, but these errors were encountered:
If incorrect credentials are used, we receive:
To catch this exception, we need to do something like:
It'd be more convenient to add a new exception (CeleryConnectionException), as we then wouldn't need to concerns ourselves with the underlying library.
The text was updated successfully, but these errors were encountered: