Private Networking Seems to be Broken in my Project
Project ID 646e0c5a-07fd-4ade-aaed-c92750d977ae
I can't seem to use private networking at all in this project. Redis is not reachable on REDIS_PRIVATE_URL and neither is my database on DATABASE_PRIVATE_URL. Only in this project. I do not seem to have issues in other projects.
10 Replies
Project ID:
646e0c5a-07fd-4ade-aaed-c92750d977ae
hey can you try adding a 3 second sleep to your start command?
it doesn't work even when i try connecting to redis minutes after start
ioredis?
yep
you need to set
family
to 0
heres some example code that works
interesting thx lemme try!
works like a charm!! thx much!!!
no problem!
I had exactly the same issue and adding that parameter fixed it.
Do you mind sharing what does the
family
option means?by default for some unknown reason
family
is set to 4 meaning only use IPv4 networking, but the private network is IPv6 only, so it must be set to 0 to allow both IPv4 and IPv6 networking