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

actix_redis protocol error #444

Open
warunyoud opened this issue Aug 23, 2021 · 1 comment
Open

actix_redis protocol error #444

warunyoud opened this issue Aug 23, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@warunyoud
Copy link

warunyoud commented Aug 23, 2021

let res = redis.send(Command(resp_array!["SET", "mydomain:one", 2])).await??;

By following the example here. https://github.com/actix/examples/blob/master/database_interactions/redis/src/main.rs

I get this:

---->Error("ERR Protocol error: expected \'$\', got \':\'")

This seems like something related to the encoder.

@robjtede
Copy link
Member

robjtede commented Aug 24, 2021

what version of redis are you running (in case it matters) ?

@robjtede robjtede added the bug Something isn't working label Mar 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants