question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

enableAutoPipelining fails on authorization

See original GitHub issue

When I pass enableAutoPipelining: true, none of my authorization parameters work.

The error is:

ReplyError: NOAUTH Authentication required.
    at parseError (/Jetbrains/Webstorm/project/node_modules/redis-parser/lib/parser.js:179:12)
    at parseType (/Jetbrains/Webstorm/project/node_modules/redis-parser/lib/parser.js:303:14) {
  command: { name: 'info', args: [] }
}

Works:

new Redis({
  db: 0,
  host: redisUrl.host,
  port: redisUrl.port,
  password: redisUrl.password,
  enableAutoPipelining: false,
})

NOAUTH Authentication required:

new Redis({
  db: 0,
  host: redisUrl.host,
  port: redisUrl.port,
  password: redisUrl.password,
  enableAutoPipelining: true,
})

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
DmitrySergeyevcommented, Nov 26, 2020

Temporary solution, probably, can be in manually adding “auth” command in auto pipelining ignored command list

...
enableAutoPipelining: true,
autoPipeliningIgnoredCommands: ['auth'],
...
0reactions
daniluk4000commented, Feb 12, 2021

Great.

Read more comments on GitHub >

github_iconTop Results From Across the Web

luin/ioredis - Gitter
Im using, but have error: [ioredis] Unhandled error event: ReplyError: NOAUTH Authentication required. plese help me for guide wrong. Advaith Doosa.
Read more >
INFO: [XOCC 60-1442] [11:11:36] Run xocc_link: Step sdx_link: Failed
I got an error while trying to compile a reference design provided by Xilinx. ... Attempting to get a license: ap_opencl Feature available:...
Read more >
How to use Redis Cluster for caching - bpaulino.com
User sessions; Authentication tokens; Rate-limit counters ... In case one of those instances experience any kind of failure, the other nodes ...
Read more >
github.com-luin-ioredis_-_2022-06-25_07-27-55
ioredis supports the node.js callback styleredis.get("mykey", (err, result) => { if (err) { console.error(err); } else ...
Read more >
Performance-focused & full-featured Redis client for Node.js
Instead of returning a Redis error, AWS closes all connections to the master ... const db = new Redis({ enableAutoPipelining: true }); const...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found