-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
IPv6 onlyな環境でRedisに接続できない(起動しない) #8862
Comments
redisとio-redisでIPv6を指定しないと名前解決ができなくなるみたい |
This issue suggests using |
This problem is not only in node-redis, but also in ioredis used by Bull. |
本来 Redis hostでは IPv4/IPv6 どちらでも使えるべきだが、現状IPv6しかないホストを与えると常にエラーになってしまう。 Misskeyは、現状 node-redis/ioredis 2つのライブラリに依存している。
この問題の一番リスクが少ない解決手段は間違いなく #8863 (依存ライブラリを変えずに v4/v6 にする) だが 脱 node-redis v3 をすれば 普通に自動認識が利用でき、2つのRedisライブラリに依存する問題が解決出来るため理想的ではある。 |
ioredis対応、案外雑魚かったので一応プルリク出しといたのだわ |
* Use ioredis, Supports IPv6 host #8862 * Fix import * order * a * i * fix * flushdb * family * CHANGELOG * redis_version Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
💡 Summary
Amazon EKSでIPv6を有効化したクラスタを作成し、その上でRedisとMisskeyを動かそうとしても
ENOTFOUND
が出て起動しない🥰 Expected Behavior
正常に動作する
🤬 Actual Behavior
📝 Steps to Reproduce
📌 Environment
Misskey version: v12.111.1(Docker Image: misskey/misskey:latest@sha256:d4f07f1c71dbd88c1c3b5f92d28e47b6bd1eca6be991bc6ad5fcd14eb1022296)
Your OS: EKS + Bottlerocket OS 1.8.0 (aws-k8s-1.22)
Your browser:
The text was updated successfully, but these errors were encountered: