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

The property 'options.family' must be one of: 0, 4, 6. Received '6' #1633

Closed
dan003400 opened this issue Aug 10, 2022 · 1 comment
Closed

Comments

@dan003400
Copy link

dan003400 commented Aug 10, 2022

We are receiving this error on startup in our latest deploy (we are only seeing this in production).

import IORedis from "ioredis";

const REDIS_URL = process.env.CHECKOUTS_REDIS_URL || "redis://127.0.0.1:6381";

export default new IORedis(REDIS_URL, { family: 6 });

The only way I am able to reproduce this is by including ?family=6 in the REDIS_URL

@luin
Copy link
Collaborator

luin commented Jan 28, 2023

I think this has already been resolved in #1673 so closing.

@luin luin closed this as completed Jan 28, 2023
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

2 participants