Skip to content
New issue

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

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

Already on GitHub? # to your account

fix(core): Add an option to enable dual-stack lookup to support IPv6 for redis #13118

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

netroy
Copy link
Member

@netroy netroy commented Feb 7, 2025

Summary

ioredis uses only IPv4 by default. This PR adds an option to let users enable dual-stack lookup for the redis hostname.

Related Linear tickets, Github issues, and Community forum posts

Fixes #13117
CAT-627
https://community.n8n.io/t/allow-ipv6-to-use-redis-with-provider-internal-network/32439
https://community.n8n.io/t/allow-ipv6-to-use-redis-with-provider-internal-network-the-return/61372

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

Copy link

codecov bot commented Feb 7, 2025

Codecov Report

Attention: Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
packages/cli/src/services/redis-client.service.ts 50.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Feb 7, 2025
Copy link

cypress bot commented Feb 7, 2025

n8n    Run #9183

Run Properties:  status check passed Passed #9183  •  git commit bb547e9469: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 netroy 🗃️ e2e/*
Project n8n
Branch Review CAT-627-dualstack-redis
Run status status check passed Passed #9183
Run duration 04m 32s
Commit git commit bb547e9469: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 netroy 🗃️ e2e/*
Committer कारतोफ्फेलस्क्रिप्ट™
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 1
Tests that did not run due to a developer annotating a test with .skip  Pending 5
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 434
View all changes introduced in this branch ↗︎

Copy link
Contributor

github-actions bot commented Feb 7, 2025

✅ All Cypress E2E specs passed

@netroy netroy merged commit be39d0a into master Feb 7, 2025
37 checks passed
@netroy netroy deleted the CAT-627-dualstack-redis branch February 7, 2025 11:06
@github-actions github-actions bot mentioned this pull request Feb 13, 2025
@janober
Copy link
Member

janober commented Feb 13, 2025

Got released with n8n@1.79.0

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Redis ENOTFOUND over private network (ipv6) on Railway
3 participants