Skip to content

Nutcracker-agent sometimes fails #2

Description

@jbartak
systemd[1]: Started Redis-Twemproxy Agent.
redis_twemproxy_agent[21802]: [13:56:16] Loading TwemProxy config
redis_twemproxy_agent[21802]: [13:56:16] Redis Sentinel TwemProxy Agent Started on: Wed Mar 09 2022 13:56:16 GMT+0000 (Coordinated 
redis_twemproxy_agent[21802]: [13:56:16] Subscribing to sentinel.
redis_twemproxy_agent[21802]: [13:56:16] Connection to Redis Sentinel established.
redis_twemproxy_agent[21802]: [13:56:16] Getting latest list of masters...
redis_twemproxy_agent[21802]: [13:56:16] Error: Connection to Redis Sentinel was closed!
redis_twemproxy_agent[21802]: [13:56:16] Redis TwemProxy Agent encountered an error:
redis_twemproxy_agent[21802]: [13:56:16] Error: Ready check failed: Redis connection gone from end event.
redis_twemproxy_agent[21802]: node:events:498
redis_twemproxy_agent[21802]: throw er; // Unhandled 'error' event
redis_twemproxy_agent[21802]: ^
redis_twemproxy_agent[21802]: Error: Redis connection to 192.168.133.100:26379 failed - connect ECONNREFUSED 192.168.133.100:26379
redis_twemproxy_agent[21802]: at RedisClient.on_error (/opt/nutcracker-agent/node_modules/redis/index.js:189:24)
redis_twemproxy_agent[21802]: at Socket.<anonymous> (/opt/nutcracker-agent/node_modules/redis/index.js:95:14)
redis_twemproxy_agent[21802]: at Socket.emit (node:events:520:28)
redis_twemproxy_agent[21802]: at emitErrorNT (node:internal/streams/destroy:157:8)
redis_twemproxy_agent[21802]: at emitErrorCloseNT (node:internal/streams/destroy:122:3)
redis_twemproxy_agent[21802]: at processTicksAndRejections (node:internal/process/task_queues:83:21)
redis_twemproxy_agent[21802]: Emitted 'error' event on RedisClient instance at:
redis_twemproxy_agent[21802]: at RedisClient.on_error (/opt/nutcracker-agent/node_modules/redis/index.js:189:10)
redis_twemproxy_agent[21802]: at Socket.<anonymous> (/opt/nutcracker-agent/node_modules/redis/index.js:95:14)
redis_twemproxy_agent[21802]: [... lines matching original stack trace ...]
redis_twemproxy_agent[21802]: at processTicksAndRejections (node:internal/process/task_queues:83:21)
systemd[1]: nutcracker-agent.service: main process exited, code=exited, status=1/FAILURE
systemd[1]: Unit nutcracker-agent.service entered failed state.
systemd[1]: nutcracker-agent.service failed.
systemd[1]: Started Redis-Twemproxy Agent.

Running on:

  • CentOS 7
  • nodejs-16.14.0-2.el7.x86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions