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

[Chandler] Setting QUEUE_CONNECTION to redis causes Chandler not working #7039

Open
3 tasks done
vnghia opened this issue Nov 26, 2023 · 4 comments
Open
3 tasks done
Labels

Comments

@vnghia
Copy link

vnghia commented Nov 26, 2023

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • I agree to follow Monica's Code of Conduct.

Bug description

Setting QUEUE_CONNECTION to redis causes Chandler not working. It seems that the job dispatched to the queues never get executed.

Steps to reproduce

  1. Setting QUEUE_CONNECTION to redis.

Expected behavior

Without executing these jobs, Chandler is pretty unusable and missing a lot of things:

I am expecting that these values are filled and email sending is working.

Environment

Your own self-hosted instance (v5 a.k.a chandler version or main branch)

Version of Monica

cddf7f9

Installation method

Docker image

Web server

None

Database engine version

PostgreSQL

Additional info

All three of my settings: CACHE_DRIVER, QUEUE_CONNECTION and SESSION_DRIVER are set to redis but the other two are working fine. I have to change QUEUE_CONNECTION to sync to get Chandler working (including sending email notification).

/cc @stephenwade

@vnghia vnghia added the bug label Nov 26, 2023
@mlaradji
Copy link

mlaradji commented Dec 1, 2023

I confirm that this also happens when the database used is MariaDB. As @vnghia mentioned, setting QUEUE_CONNECTION to sync resolves the issue.

@djaiss
Copy link
Member

djaiss commented May 23, 2024

This is concerning. I don't try to use Chandler with Redis, I always use the database driver, and it's working well.

@asbiin do you happen to use Redis locally?

@vnghia
Copy link
Author

vnghia commented May 23, 2024

Yes I use Redis locally with docker-compose. One thing I observe when Redis is used that the thing like default template or so is not added.

@asbiin
Copy link
Member

asbiin commented May 23, 2024

I do use redis localy yes (see the recent sail feature), and I don't have any issue with it so far....

In any case if there is an issue, it's more likely a Laravel issue, as we have nothing specific there. Don't hesitate to open an issue on Laravel.

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

No branches or pull requests

4 participants