Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bull
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 175
    • Issues 175
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OptimalBits
  • bull
  • Issues
  • #286
Closed
Open
Issue created Apr 15, 2016 by Administrator@rootContributor

node_redis throws depreciated EVALSHA error when restarting a Redis instance

Created by: bencooling

I'm getting the following error with Redis version 3.0.7 and 2.8.23.

I'm a little confused as what to expect from Bull if Redis becomes unavailable for any period of time; if I follow the steps listed below node_redis throws, the job isn't added into Redis and no failed event is fired by Bull?

  1. Start Redis
  2. Add a job
  3. Stop Redis
  4. Add a job
  5. Restart Redis
node_redis: Deprecated: The EVALSHA command contains a argument of type OperationalError.
This is converted to "Error: NOSCRIPT No matching script. Please use EVAL." by using .toString() now and will return an error from v.3.0 on.
Please handle this in your code to make sure everything works as you intended it to.
{ [Error: ERR value is not an integer or out of range]
  cause: { [Error: ERR value is not an integer or out of range] command: 'EVALSHA', code: 'ERR' },
  isOperational: true,
  command: 'EVALSHA',
  code: 'ERR' }
Assignee
Assign to
Time tracking