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

Error: Redis client error #23

Open
AntoninHL opened this issue Oct 2, 2024 · 1 comment
Open

Error: Redis client error #23

AntoninHL opened this issue Oct 2, 2024 · 1 comment

Comments

@AntoninHL
Copy link

AntoninHL commented Oct 2, 2024

Hi,

I try to use this plugin to enable Redis with Zeek...

Redis and Zeek are installed on the same Docker container.

If
redis-cli -h 127.0.0.1 ping
PONG

But when I start the container, here is the issue:
service redis-server start
Starting redis-server: redis-server.
zeek -i ens35 local Log::default_logdir=/opt/zeek/logs LogAscii::use_json=T
error: Redis client error {"label":"index.js","timestamp":"2024-10-02 08:20:59"}
error: Redis client error {"label":"index.js","timestamp":"2024-10-02 08:20:59"}

@mbispham
Copy link
Owner

mbispham commented Oct 3, 2024

Hey @AntoninHL - good to meet you and thank you for taking the time to report an issue.

  1. Could you please run the following command to check Redis is listening via a unix socket rather than a TCP socket.

redis-cli -s /var/run/redis/redis.sock ping

  1. It might be worth also checking that Node.js has correct permissions to access the Redis socket file

ls -l $ZEEKJS_REDIS_SOCKET_PATH

If neither of those approaches resolves the issue ping me again and I can have another look.

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

No branches or pull requests

2 participants