Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to connet RedisLabs #204

Open
SkysCrystal opened this issue Nov 24, 2023 · 0 comments
Open

How to connet RedisLabs #204

SkysCrystal opened this issue Nov 24, 2023 · 0 comments

Comments

@SkysCrystal
Copy link

SkysCrystal commented Nov 24, 2023

Steps to Reproduce

Set REDIS_ENABLED=false
Set REDIS_HOST=redis xxxxx .cloud.redislabs.com and REDIS_PORT=12498
Logs show: "Cannot connect to redis."

I don't know how to set Username and Password in RedisLab.

Expected Behaviour

Set basic information for connecting Redis.

Observed Behaviour

Cannot connect to redis.
RedisHealthCheckTimedOut: timeout
    at Timeout._onTimeout (/overleaf/libraries/redis-wrapper/index.js:164:16)
    at listOnTimeout (node:internal/timers:569:17)
    at process.processTimers (node:internal/timers:512:7) {
  info: {
    uniqueToken: 'host=xxxxxxxx:pid=xx:random=xxxxxx:time=1700809378865:count=0',
    stage: 'write',
    timeout: 2000
  }
}
*** /etc/my_init.d/98_check_db_access.sh failed with status 1

*** Killing all processes...

Context

I can't connect to RedisLad, overleaf can not be set.

Technical Info

  • URL:
  • Browser Name and version: Chrome
  • Operating System and version (desktop or mobile): Debian
  • Signed in as:
  • Project and/or file:
    RedisLab gives this sample for Node.js:
import { createClient } from 'redis';

const client = createClient({
    password: '<password>',
    socket: {
        host: 'xxxxx .cloud.redislabs.com',
        port: 12498
    }
});

Analysis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant