Questions tagged [fly]

Fly.io is a global application distribution platform. Fly.io runs code in Firecracker microVMs in edge locations around the world.

85 questions
4
votes
1 answer

Fly: Failed to ping docker registry

I am trying to run a simple build by passing input task to the concourse. Here is my fly command, fly -t tutorial e -c inputs_required.yml -i some-important-input=. and my yml file, --- platform: linux image_resource: type: docker-image …
Prateek Joshi
  • 3,929
  • 3
  • 41
  • 51
3
votes
1 answer

Error: tunnel unavailable: failed probing "personal": context deadline exceeded

I'm trying to ssh into my fly instance, but getting a strange error. This has always worked in the past without issue. fly ssh console Connecting to tunnel Error: tunnel unavailable: failed probing "personal": context deadline exceeded another…
stevec
  • 41,291
  • 27
  • 223
  • 311
3
votes
1 answer

Rubygems Net::OpenTimeout when deploying to fly.io

I'm getting the following error when trying to deploy to fly.io I get this error both on updating an existing rails app and when trying to deploy a new one. => ERROR [base 5/5] RUN gem update --system --no-document && gem install -N bundler -v…
Brad
  • 8,044
  • 10
  • 39
  • 50
3
votes
1 answer

Connecting to Fly.io Postgres from Vercel

Is it possible possible to connect to Fly.io Postgres from a NEXT.js API route served from a Vercel severless function, and if so, how? I've read and reread the Fly.io Postgres docs, focusing especially on Connecting from outside Fly.io and (since…
devuxer
  • 41,681
  • 47
  • 180
  • 292
3
votes
0 answers

Unable to connect mariadb from a golang docker app deployed in fly.io

I have a MariaDB server running in AWS. I have enabled firewall rule for 3306 in the running instance and when I deploy the golang app in Heroku, I am able to get the API responses from the deployed heroku app. But, when I deploy the same golang app…
2
votes
1 answer

fly.io ENV available in Dockerfile

Im trying to access env variables that are specified in the fly.toml file in the Dockerfile when running flyctrl deploy however they are always showing as empty strings. Am i doing something wrong here? [env] API = "ABC" ARG API ENV API $API RUN…
Peter I
  • 843
  • 1
  • 9
  • 31
2
votes
1 answer

Fly.io Launch Issue: "Error failed to fetch an image or build from source: error building: error during connect: Post..."

I am new to Docker and Fly.io, and trying to get a very basic Nodejs backend hosted, but running into an error. You can see my repo here. Locally, I've added a Dockerfile to backend/ that looks like this: FROM node:18-alpine WORKDIR /app COPY…
Kitty
  • 89
  • 10
2
votes
1 answer

Fly deployment fails: RUN bundle exec rails assets:precompile

I recently upgraded to Rails 7. Everything works locally (including bundle exec rails assets:precompile however if I build my app in Docker (to deploy to Fly) I get to this line: RUN bundle exec rails assets:precompile and then things fail with…
tfantina
  • 788
  • 11
  • 37
2
votes
1 answer

flyctl launch: Error name argument or flag must be specified when not running interactively

I am trying to deploy a flask app in fly.io, but when execute flyctl launch in the terminal I get an error: Error name argument or flag must be specified when not running interactively. I don't see any other way to make a deployment in fly.io other…
aldwinp35
  • 109
  • 1
  • 7
2
votes
1 answer

ActiveSupport::EncryptedFile::MissingKeyError: Missing encryption key to decrypt file with. Docker

I'm trying to deploy a rails 7 app to Fly.io, which uses Docker to deploy apps. I keep getting the below error when I try to deploy. ActiveSupport::EncryptedFile::MissingKeyError: Missing encryption key to decrypt file with. Ask your team for your…
Arel
  • 3,888
  • 6
  • 37
  • 91
2
votes
0 answers

Setting up a Postgres DB for Django with Fly.io

I'm a novice trying to spin up my first webapp with a combination of Fly.io, Django, and a postgres DB but I'm having some trouble and can't find an answer in walkthroughs or Q&A. I've set up a simple "Hello world" Django app (models.py is empty so…
ultreian
  • 36
  • 3
2
votes
1 answer

Migrating from Heroku to fly.io + Supabase : "Failed due to unhealthy allocations"

I'm trying to move from Heroku to Fly.io + Supabase. I managed to have my app working on fly.io when connected to the postgres database of my heroku app, using the command: fly secrets set DATABASE_URL="XXX" where XXX is the value of the…
gordie
  • 1,637
  • 3
  • 21
  • 41
2
votes
1 answer

Error failed to fetch an image or build from source: error building: failed to solve with frontend docker

I am trying to deploy my website from heroku to fly.io and when I did fly deploy I got this error Error failed to fetch an image or build from source: error building: failed to solve with frontend dockerfile.v0: failed to solve with frontend…
nourza
  • 2,215
  • 2
  • 16
  • 42
2
votes
3 answers

Rails error: can't activate redis (>= 3, < 5), already activated redis-5.0.4

I tried to deploy my Rails app, and got the error can't activate redis (>= 3, < 5), already activated redis-5.0.4. Make sure all dependencies are added to Gemfile. (Gem::LoadError) I've tried deleting the gemfile, running bundle install/update but…
2
votes
0 answers

Bootstrap-datepicker set multidate attributes on fly

I need to update 'multidate' attribute on changing a no of days drop down. What i have done : Datepicker initialize $('.datePickerBenner').datepicker({ multidate: 7, format: 'yyyy-mm-dd', startDate: new Date(), …
Rakesh
  • 505
  • 5
  • 12
1
2 3 4 5 6