What capabilities to use for "Redis Authentication" while integrating fbwebhook connector

Hello,

I am integrating fbwebhook-connector, for that I have created a Redis instance.

I am using the redis url in the botium.json with “SIMPLEREST_INBOUND_REDISURL” and I am trying to check whether I am able to connect with the redis endpoint from botium or not. But I am getting below error.

[ioredis] Unhandled error event: ReplyError: NOAUTH Authentication required
    at parseError (C:\Jeavio\nivi_tests\node_modules\redis-parser\lib\parser.js:179:12)
    at parseType (C:\Jeavio\nivi_tests\node_modules\redis-parser\lib\parser.js:302:14)
Error: Start failed: Redis failed to subscribe channel SIMPLEREST_INBOUND_SUBSCRIPTION: NOAUTH Authentication required
    at C:\Jeavio\nivi_tests\node_modules\botium-core\src\containers\plugins\SimpleRestContainer.js:183:25
    at C:\Jeavio\nivi_tests\node_modules\async\dist\async.js:2955:19
    at wrapper (C:\Jeavio\nivi_tests\node_modules\async\dist\async.js:268:20)
    at iterateeCallback (C:\Jeavio\nivi_tests\node_modules\async\dist\async.js:413:21)
    at C:\Jeavio\nivi_tests\node_modules\async\dist\async.js:321:20
    at C:\Jeavio\nivi_tests\node_modules\async\dist\async.js:2953:17
    at processTicksAndRejections (internal/process/task_queues.js:97:5)[ioredis] Unhandled error event: ReplyError: NOAUTH Authentication required
    at parseError (C:\Jeavio\nivi_tests\node_modules\redis-parser\lib\parser.js:179:12)

I tried to search required capabilities to add for this in the documentation but I could not find it explicitly.

Could you please help on figuring out this.

Should look something like this:

redis://:password@ipaddress:6379

@Florian, where do we pass username in this??
Below is my test endpoint.
“SIMPLEREST_INBOUND_REDISURL”: “redis://:password@redis-18379.c265.us-east-1-2.ec2.cloud.redislabs.com:18379”

I got below error.

[ioredis] Unhandled error event: ReplyError: WRONGPASS invalid username-password pair
    at parseError (C:\Jeavio\nivi_tests\node_modules\redis-parser\lib\parser.js:179:12)
    at parseType (C:\Jeavio\nivi_tests\node_modules\redis-parser\lib\parser.js:302:14)
Error: Start failed: Redis failed to subscribe channel SIMPLEREST_INBOUND_SUBSCRIPTION: WRONGPASS invalid username-password pair
    at C:\Jeavio\nivi_tests\node_modules\botium-core\src\containers\plugins\SimpleRestContainer.js:183:25
    at C:\Jeavio\nivi_tests\node_modules\async\dist\async.js:2955:19
    at wrapper (C:\Jeavio\nivi_tests\node_modules\async\dist\async.js:268:20)
    at iterateeCallback (C:\Jeavio\nivi_tests\node_modules\async\dist\async.js:413:21)
    at C:\Jeavio\nivi_tests\node_modules\async\dist\async.js:321:20
    at C:\Jeavio\nivi_tests\node_modules\async\dist\async.js:2953:17
    at processTicksAndRejections (internal/process/task_queues.js:97:5)[ioredis] Unhandled error event: ReplyError: WRONGPASS invalid username-password pair

redis://username:password@redis-18379.c265.us-east-1-2.ec2.cloud.redislabs.com:18379

Got it. :+1: That worked :blush:

Thanks a lot.

1 Like