Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No conector for rabbitmq #590

Open
LfJohnVo opened this issue Apr 29, 2024 · 1 comment
Open

No conector for rabbitmq #590

LfJohnVo opened this issue Apr 29, 2024 · 1 comment
Assignees

Comments

@LfJohnVo
Copy link

  • Laravel/Lumen version: 10.54
  • RabbitMQ version: 3
  • Package version: 14

Describe the bug

After update to v14, appears this error all the time, i try cleaning cache, reseting docker, using cloudamp, checking .env, queue.php, connection.php and nothing

this is the error: InvalidArgumentException

No connector for [rabbitmq].

at vendor/laravel/framework/src/Illuminate/Queue/QueueManager.php:178
174▕ */
175▕ protected function getConnector($driver)
176▕ {
177▕ if (! isset($this->connectors[$driver])) {
➜ 178▕ throw new InvalidArgumentException("No connector for [$driver].");
179▕ }
180▕
181▕ return call_user_func($this->connectors[$driver]);
182▕ }

  +13 vendor frames 

14 [internal]:0
Illuminate\Foundation\Application::Illuminate\Foundation{closure}(Object(Bilfeldt\CorrelationId\CorrelationIdServiceProvider))
+5 vendor frames

20 artisan:35

this is my .env:

BROADCAST_DRIVER=pusher
CACHE_DRIVER=redis
QUEUE_CONNECTION=rabbitmq
SESSION_DRIVER=redis
SESSION_CONNECTION=sessionredis
SESSION_LIFETIME=240

RABBITMQ_HOST=rabbit
RABBITMQ_PORT=5672
RABBITMQ_USER=desarrollo
RABBITMQ_PASSWORD=Password123.
RABBITMQ_VHOST=desarrollo

and this is my queue.php:

'rabbitmq' => [

        'driver' => 'rabbitmq',
        'hosts' => [
            [
                'host' => env('RABBITMQ_HOST', 'chimpanzee-01.rmq.cloudamqp.com'),
                'port' => env('RABBITMQ_PORT', 5672),
                'user' => env('RABBITMQ_USER', 'bzzmgmoa'),
                'password' => env('RABBITMQ_PASSWORD', 'EtnXknedY3fPyVopx2O3oB0DeQPVzhHG'),
                'vhost' => env('RABBITMQ_VHOST', 'bzzmgmoa'),
            ],
            // ...
        ],

        // ...
    ],
@LfJohnVo
Copy link
Author

Find the error, this package its incompatible with this other package; https://github.com/bilfeldt/laravel-route-statistics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants