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

Issues with subscription. #21

Open
DeFidelity opened this issue May 9, 2022 · 1 comment
Open

Issues with subscription. #21

DeFidelity opened this issue May 9, 2022 · 1 comment

Comments

@DeFidelity
Copy link

I keep getting

>>> TypeError: __call__() missing 1 required positional argument: 'send'
>>> WebSocket DISCONNECT /ws/products/ [127.0.0.1:59261]

Meanwhile, there is no way for me to access the consumer class and be able to specify what should be sent back to clients.
Also, the documentation doesn't give any good example of subscribing, it just provides a JSON object without specifying where the object should be injected or how it should be done, I've scanned through the whole internet, but I couldn't find an example app, how do I fix an error when I can't even get anything.

@DeFidelity
Copy link
Author

Solved, the error problem was caused by Windows Redis, I was using version 3.x from Microsoft before, and I just found version 5.0.3 from this GitHub repository now github.com/tporadowski/redis/releases this library has been awesome so far, contributors did a solid job.

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

No branches or pull requests

1 participant