Closed krnr closed 3 years ago
I tried to use pubsub client without ignore_subscribe_messages=True
and it SEEMS to work, however, I'm out of ideas why!
Have you solved this problem? I have similar issue but the difference is the subscriber will work fine for a while, then it cannot receive any messages, I check the number of subscriber in redid server side by
pubsub numsub CHANNEL_NAME
and get result of 0, meaning at the server side the subscriber is lost, but client side seems in an infinite loop of listening messages.
and get result of 0, meaning at the server side the subscriber is lost, but client side seems in an infinite loop of listening messages.
May be you destroy tcp-connection with redis-server. For example conntrack -D -d $IP_redis-server
This issue is marked stale. It will be closed in 30 days if it is not updated.
Have you solved this problem? I have similar issue but the difference is the subscriber will work fine for a while, then it cannot receive any messages, I check the number of subscriber in redid server side by
pubsub numsub CHANNEL_NAME
and get result of 0, meaning at the server side the subscriber is lost, but client side seems in an infinite loop of listening messages.
I have this problem too!
I encounted this problem too! Does anyone know how to solve it ?
Same problem No Solution
Hello, Andy. I'm a big fan of Redis and your library, however recently I encountered a strange issue.
I have a client to pubsub subscription in a thread:
and everything is fine when I run it on my machine. I make a snap package from it, install locally, and again it's fine.
But then I upload and install that package on an IoT device and the hell breaks loose.
I have a client attached, I have a subscription, I have a message in the subscription, I have a process running - everything like on my local machine, except one thing - client doesn't receive that message... If only I restart my service, it begins to consume pubsub as usual.
the only idea I can think of is something related to a socket, but how to check it? I'm naturally positive that this may be specifically Core system issues, but I'd appreciate any help and insights on this, since it may be helpful for devs who will be making products for the IoT devices using Redis.
Thank you.