You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting error (status - 500) for api api/queues?activeQueue=send_messages&page=1
Error -
{"error":"Internal server error","message":"Cannot read property 'attemptsMade' of null","details":"TypeError: Cannot read property 'attemptsMade' of null\n at /app/node_modules/@bull-board/api/dist/src/queueAdapters/bull.js:29:13\n at Array.map (<anonymous>)\n at /app/node_modules/@bull-board/api/dist/src/queueAdapters/bull.js:28:80\n at processTicksAndRejections (internal/process/task_queues.js:95:5)\n at async /app/node_modules/@bull-board/api/dist/src/handlers/queues.js:75:15\n at async Promise.all (index 0)\n at async Object.queuesHandler [as handler] (/app/node_modules/@bull-board/api/dist/src/handlers/queues.js:90:39)\n at async /app/node_modules/@bull-board/express/dist/ExpressAdapter.js:65:34"}
Mentioned the version as some changes were made related to attemptsMade in v3.10.1 due to this issue
Not sure if its related but got this error when connected to elasticache but not when connected to redis-server (server on local)
on opening /bull , it redirects to bull/queue/send_messages and then above error
Related Code
//consumers.jsconstbull=require('../config/bull')const{ processScheduledMessage }=require("./communication_worker")// concurrency = 10bull.sendMessageQueue.process("scheduled_messages",10,async(job,done)=>{returnawaitprocessScheduledMessage(job.data,done)})bull.sendMessageQueue.on("completed",function(job,result){console.log(`sendMessageQueue job done with result id ${job.id} data ${JSON.stringify(job.data)} opts ${JSON.stringify(job.opts)} result ${JSON.stringify(result)}`)redisClient.deleteKey(`${globalKeys.bullPrefix}:send_messages:${job.id}`)//- this deletes entry of job from ui as well })bull.sendMessageQueue.on('failed',function(job,result){console.log(`sendMessageQueue job failed with id ${job.id} reason ${job.failedReason} trace ${job.stacktrace}`)})
The text was updated successfully, but these errors were encountered:
Getting error (status - 500) for api api/queues?activeQueue=send_messages&page=1
Error -
Related Code
The text was updated successfully, but these errors were encountered: