superfly / flyctl

Command line tools for fly.io services
https://fly.io
Apache License 2.0
1.41k stars 235 forks source link

fly redis create getting error 500 #3927

Open behnamarbab opened 2 weeks ago

behnamarbab commented 2 weeks ago

I cannot create redis for my application:

Command:

fly redis create --disable-eviction --name redis-server --region lhr --no-replicas

Command output:

Error: returned error 500 Internal Server Error: {"errors":[{"message":"You hit a Fly API error with request ID: 01J7D9AZYG3N426Q2N0CAAB0NZ-fra","extensions":{"code":"SERVER_ERROR","fly_request_id":"01J7D9AZYG3N426Q2N0CAAB0NZ-fra"}}],"data":{}}
kzys commented 1 week ago

Hmm, works for me. Let me check your specific request.

% fly redis create --disable-eviction --name redis-server-kaz --region lhr --no-replicas

? Select Organization: kaz-fly (personal)

Your database redis-server-kaz is ready. Apps in the personal org can connect to Redis at redis://default:XXXX@fly-redis-server-kaz.upstash.io:6379

If you have redis-cli installed, use fly redis connect to get a Redis console.

Your database is billed at $0.20 per 100K commands. If you're using Sidekiq or BullMQ, which poll Redis frequently, consider switching to a fixed-price plan. See https://fly.io/docs/reference/redis/#pricing