Comments (6)
I have not been able to determine a way to reproduce it as it happens at different moments with the very same requests. As this library does not have any changes in the last 10 months and this issue is recent, could it be an incompatibility with some versions of Node, Redis, or both?
Node versions: 14.15.3
and 12.20.1
Redis version: 6.0.9
As it cannot be catched in any way, this bug seems pretty critical.
from tedis.
I'm facing that issue also very often. Can't tell exactly when it is happening and I somehow can't catch it ..
buffer.js:726
throw new ERR_INVALID_ARG_TYPE(
^
TypeError [ERR_INVALID_ARG_TYPE]: The "string" argument must be of type string or an instance of Buffer or ArrayBuffer. Received undefined
at Function.byteLength (buffer.js:726:11)
at Protocol.parse (/Users/jannikzinkl/Documents/git/pfeffer-frost-frontend/node_modules/tedis/build/core/protocol.js:67:41)
at Socket.<anonymous> (/Users/jannikzinkl/Documents/git/pfeffer-frost-frontend/node_modules/tedis/build/core/base.js:157:32)
at Socket.emit (events.js:315:20)
at addChunk (_stream_readable.js:295:12)
at readableAddChunk (_stream_readable.js:271:9)
at Socket.Readable.push (_stream_readable.js:212:10)
at TCP.onStreamRead (internal/stream_base_commons.js:186:23) {
code: 'ERR_INVALID_ARG_TYPE'
}
from tedis.
same issue
from tedis.
Happens for Node versions
v13.14.0
v12.21.0
v11.15.0
as well. Also tried to reinsert the data with v11. Same problem.
Running redis 4.x.x
I have seen that @cBiscuitSurprise has worked on the protocol here: cBiscuitSurprise#1
But if I build the MR manually, my app just stuck. But maybe he has a clue?
from tedis.
This issue will be investigated and fixed
from tedis.
same issue :/
from tedis.
Related Issues (20)
- Transaction will never complete HOT 1
- Tedis fork HOT 1
- uncaught exception: protocol tries to read unavailable data HOT 2
- Connect with a function instead of immediately HOT 5
- How to use mget with a variable of type array HOT 3
- EPIPE error HOT 7
- do we have support for modules?
- SET should accept more parameters
- [Question] How can i set de database number in my connection?
- [Question] How can i set de database number in my connection? HOT 1
- Still maintained? HOT 1
- A note on refining tedis
- [QUESTION] PROJECT MAINTANENCE HOT 1
- pool best practices HOT 2
- tedis.get has invalid return type?
- GEOPOS Command returns inappropriate information
- Update to use UUID V4
- Why does `mget` has two parameters?
- 当redis断连,写入命令会永远卡住
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tedis.