Closed jfrolich closed 6 years ago
hi @jfrolich! thanks for opening this issue.
It looks like it may be related to Elixir 1.5 rather than Phoenix 1.3. Can you confirm if it works with Elixir 1.4.4?
Actually, sorry, I was just forgetting to flush
in 1.5.1. I'm not able to reproduce this. Can you put together a minimal reproduction of the issue?
Yes sure! I updated the elixir version to 1.5.1, didn't help the case. Also on the latest version of phoenix
, phoenix_pubsub
and phoenix_pubsub_redis
. I will create an example app as a test-case.
Here a test-case: https://github.com/jfrolich/redis_pubsub
I also use redix in my app, where it works, so my redis installation is connecting properly. But perhaps it's a problem with connecting to redis that is not handled.
That is perfect, thank you! I'll take a look today or tomorrow 🙂
It appears the issue is related to the overridden version of redix
and not overriding redix_pubsub
. I put together a PR for updating them in #32. It appears to fix the test case above, if you could confirm it also fixes the issue for you, I'll merge and plan on cutting a release soon.
Thank you again for the report 🙂
Hi @mitchellhenke, this actually was an issue that could delay the launch of our product. Thanks for fixing it so quickly, this allows us to have a clean solution to distributed pubsub! 👍
@jfrolich glad it's been solved!
My configuration:
It seems to connect correctly with redis (no errors)
when I try to broadcast it does not deliver the messages:
Is there any major issue with how I tested this? If this is the case, it might be helpful to raise an error somewhere.