movilizame / noderavel Goto Github PK
View Code? Open in Web Editor NEWQueue worker to sync Laravel with NodeJS
License: MIT License
Queue worker to sync Laravel with NodeJS
License: MIT License
Every morning when I see the logs of application I see that application restarted in the early morning. I got the following error log:
TypeError: Cannot read property '1' of null
at Command.callback (/var/www/middleware2/node_modules/@movilizame/noderavel/lib/index.js:74:40)
at normal_reply (/var/www/middleware2/node_modules/redis/index.js:726:21)
at RedisClient.return_reply (/var/www/middleware2/node_modules/redis/index.js:824:9)
at JavascriptRedisParser.returnReply (/var/www/middleware2/node_modules/redis/index.js:192:18)
at JavascriptRedisParser.execute (/var/www/middleware2/node_modules/redis-parser/lib/parser.js:574:12)
at Socket. (/var/www/middleware2/node_modules/redis/index.js:274:27)
at Socket.emit (events.js:193:13)
at addChunk (_stream_readable.js:295:12)
at readableAddChunk (_stream_readable.js:276:11)
at Socket.Readable.push (_stream_readable.js:231:10)
I cannot able to find the reason behind this.
This error occurs regularly and stopped the application. Error stack is given below
TypeError: Cannot read property '1' of null
at Command.callback (/app/node_modules/@movilizame/noderavel/lib/index.js:74:40)
at normal_reply (/app/node_modules/redis/index.js:726:21)
at RedisClient.return_reply (/app/node_modules/redis/index.js:824:9)
at JavascriptRedisParser.returnReply (/app/node_modules/redis/index.js:192:18)
at JavascriptRedisParser.execute (/app/node_modules/redis-parser/lib/parser.js:574:12)
at Socket. (/app/node_modules/redis/index.js:274:27)
at Socket.emit (events.js:193:13)
at addChunk (_stream_readable.js:295:12)
at readableAddChunk (_stream_readable.js:276:11)
at Socket.Readable.push (_stream_readable.js:231:10)
TypeError: Cannot read property '1' of null
at Command.callback (/app/node_modules/@movilizame/noderavel/lib/index.js:74:40)
at normal_reply (/app/node_modules/redis/index.js:726:21)
at RedisClient.return_reply (/app/node_modules/redis/index.js:824:9)
at JavascriptRedisParser.returnReply (/app/node_modules/redis/index.js:192:18)
at JavascriptRedisParser.execute (/app/node_modules/redis-parser/lib/parser.js:574:12)
at Socket. (/app/node_modules/redis/index.js:274:27)
at Socket.emit (events.js:193:13)
at addChunk (_stream_readable.js:295:12)
at readableAddChunk (_stream_readable.js:276:11)
at Socket.Readable.push (_stream_readable.js:231:10)
Hi,
I checked the code and it seems there is no way to update job status.
How can we let Laravel know that the job has been completed?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.