taigaio / taiga-docker

Mozilla Public License 2.0
1.22k stars 305 forks source link

[Q] Cannot connect to Celery/RabbitMQ #5

Closed unbranched closed 3 years ago

unbranched commented 3 years ago

I'm using latest taiga-docker on Ubuntu 20.04, followed the "Install Taiga in production" guide, "Advanced configuration and customisation" section. I can't figure out what are the correct parameters for EVENTS_PUSH_BACKEND_OPTIONS and CELERY_BROKER_URL in the mapped config.py .

EVENTS_PUSH_BACKEND_OPTIONS = {
    "url": "amqp://taiga:taiga@myhostname.com:5672/taiga"
}
CELERY_BROKER_URL = "amqp://taiga:taiga@myhostname.com:5672/taiga"

This is my current conf and the logs say: ERROR/MainProcess] consumer: Cannot connect to amqp://taiga:**@myhostname.com:5672/taiga: [Errno 111] Connection refused

The guide says user and pwd should be the same for the Postgres DB. About the host I already tried localhost or keeping the default one, trying to guess it was a inner variable.

EDIT: I see now that this new repo has different base config files... should I install this taiga-docker instead?

unbranched commented 3 years ago

Yeah, the new config helped me better understand the correct host and now it works.