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

Heartbeat error with RabbitmqBroker #145

Closed
legioz opened this issue May 6, 2023 · 1 comment
Closed

Heartbeat error with RabbitmqBroker #145

legioz opened this issue May 6, 2023 · 1 comment

Comments

@legioz
Copy link

legioz commented May 6, 2023

I keep receiving this logs, when using the config below in settings.py:

   | 2023-05-06 03:08:45.483558-03:00 [error] <0.1194.0> closing AMQP connection <0.1194.0> (172.28.0.5:45310 -> 172.28.0.6:5672):
   | 2023-05-06 03:08:45.483558-03:00 [error] <0.1194.0> missed heartbeats from client, timeout: 60s
DRAMATIQ_BROKER = {
    "BROKER": "dramatiq.brokers.rabbitmq.RabbitmqBroker",
    "OPTIONS": {
        "url": BROKER_URL,
    },
    "MIDDLEWARE": [
        "dramatiq.middleware.Prometheus",
        "dramatiq.middleware.AgeLimit",
        "dramatiq.middleware.TimeLimit",
        "dramatiq.middleware.Callbacks",
        "dramatiq.middleware.Retries",
        "django_dramatiq.middleware.DbConnectionsMiddleware",
        "django_dramatiq.middleware.AdminMiddleware",
        "periodiq.PeriodiqMiddleware",
    ],
}

If I pass the value heatbeat:30 in OPTIONS I get an error saying url is not valid with pika configs

@andrewgy8
Copy link
Collaborator

Hi @legioz,

This seems like it might be a duplicate with #44 . Ill close this one and we can continue the conversation there.

Cheers!

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

No branches or pull requests

2 participants