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

Celery is failing to connect to Redis #5147

Closed
eqMFqfFd opened this issue Jan 6, 2021 · 4 comments
Closed

Celery is failing to connect to Redis #5147

eqMFqfFd opened this issue Jan 6, 2021 · 4 comments
Labels
question This is more a question for the support than an issue.

Comments

@eqMFqfFd
Copy link

eqMFqfFd commented Jan 6, 2021

Description

In the configuration there is a directive that allows you to enable the cache with Redis.

This directive is indeed necessary, since Weblate complains if Redis is not enabled. It is used by the Celery worker for caching.

After setting up the connection information successfully, and try to perform an action like deleting a project, I get the following error on the screen:

https://ibb.co/F4Dh6xp

@nijel nijel added the question This is more a question for the support than an issue. label Jan 6, 2021
@nijel
Copy link
Member

nijel commented Jan 6, 2021

Your CELERY_BROKER_URL lacks authentication, see https://docs.celeryproject.org/en/stable/getting-started/brokers/redis.html for configuring it.

@github-actions
Copy link

github-actions bot commented Jan 6, 2021

This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger. In case your question is already answered, making a donation is the right way to say thank you!

@eqMFqfFd
Copy link
Author

eqMFqfFd commented Jan 6, 2021

@nijel Thanks, I solved it, I was using the CACHES default.options.PASSWORD field.

It was stated in Django that that field should be used, so I didn't think the CELERY_BROKER_URL needed to be changed.

@nijel nijel closed this as completed in 0bb7ba3 Jan 6, 2021
@github-actions
Copy link

github-actions bot commented Jan 6, 2021

The issue you have reported is resolved now. If you don’t feel it’s right, please follow it’s labels to get a clue and take further steps.

  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is more a question for the support than an issue.
Projects
None yet
Development

No branches or pull requests

2 participants