Hi, mates.
I have created a redis instance but can’t connect to it.
It’s shown within status check:
flyctl redis status bot-storage
Redis
ID = gRm85kgR2mKzbuo400m
Name = bot-storage
Plan = Free
Primary Region = waw
Read Regions = None
Eviction = Enabled
Private URL = redis://default:5594655f84814334bdff4653cd859c23@fly-bot-storage.upstash.io
but when I try to list redis instances - I’m nothing able to see:
❯ : flyctl redis list
NAME ORG PLAN EVICTION PRIMARY REGION READ REGIONS
also issue with connecting to it:
❯ : flyctl redis connect
Error please provide options to select from
at the same time seems I don’t have a tunnel to the upstash:
❯ : nc -vz fly-bot-storage.upstash.io 6379
nc: connectx to fly-bot-storage.upstash.io port 6379 (tcp) failed: No route to host
At the same time, I’m able successfully to use flyctl log command.
I assume it’s some tunnelling issue, but not sure how to fix it. May someone guide me?
I’m expecting that flyctl redis connect should establish such tunnels. But not sure how to troubleshoot it.
Sorry for the trouble. Are you trying to connect to Redis from within a VM? It’s only accessible from your Fly network, and only within the organization where you deployed Redis.
Can you check you’re using the latest verison of flyctl? We’ve got an internal fix coming out for this, but using the latest CLI will also help. For now, I have manually fixed the issue for your accounts. Please try again!