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
0
votes
0 answers

Deployed to fly.io, but not compiled

I am Japanese. My English is poor, so I apologize if it is not clear. The layout of the application deployed in the production environment is broken. The source code is as follows yarn/releases/yarn-1.22.19.cjs Since there are more than 10,000…
tome
  • 1
  • 1
0
votes
0 answers

Run multiple nodejs processes in one fly.io app

I have a node project with 2 entry points - index.js (api server) and process.js (worker). I want to run them both inside one fly app only. I have setup package.json to run with index.js as starting point using “npm run serve” and with process.js…
Aditya
  • 84
  • 3
0
votes
0 answers

Postgres database deployed on fly.io connection string for EF Core

Fail: Microsoft.EntityFrameworkCore.Database.Connection[20004]. An error occurred using the connection to database 'db' on server ' '. The connection string: "DefaultConnection": "Server=dbname.internal;Port=5432;User…
IOEnthusiast
  • 105
  • 6
0
votes
0 answers

Deployment to fly.io consistently failing due to APP_PATH in bin/rails file

Currently trying to deploy my rails app to fly.io, it fail in the last stage (6/6) it has something to do with my APP_PATH within my bin/rails file => ERROR [build 6/6] RUN SECRET_KEY_BASE=DUMMY ./bin/rails assets:precompile 0.3s [build 6/6] RUN…
TooMuch
  • 21
  • 2
0
votes
0 answers

flyctl curl command throwing permission denied

I am trying to set up the command line tool for fly.io on ubuntu as per this repository: https://github.com/superfly/flyctl The first step is installing the latest version: curl -L https://fly.io/install.sh | sh but I get this error in my…
0
votes
0 answers

Shopify App hosted on fly.io oAuth/Auth callbacks failing

Currently I am trying to deploy my Shopify Custom App to Fly.io. Installing this app is succeeding on my development store but I get an error right after with the oAuth callback with status code 400. This is the URL it shows upon…
Mastah
  • 1
  • 1
0
votes
0 answers

Can not send tasks to Rabbitmq in Fly.io

The problem that I have is that I have Rabbitmq and Celery running on fly (versions and configs are below). Both of them deploy normally and without any problems, however when I send a task to Rabbitmq on fly using the public dedicated Ipv4 address…
AL qaiser
  • 1
  • 1
0
votes
0 answers

I am getting an Epipe error while trying to deploy AWS ECS cluster with a docker image where all of them areexposed to port 80

the error: ecs-stack-dev: deploying... [1/1] 18:45:43 [0%] start: Building and publishing 4ec4aa06fxxxx:current 18:45:43 events.js:377 18:45:43 throw er; // Unhandled 'error' event 18:45:43 ^ 18:45:43 18:45:43 Error: write EPIPE 18:45:43 at…
0
votes
0 answers

PG::UndefinedColumn: ERROR: column trxes.cleared does not exist

I'm deploying an app for the first time and I am very confused. I'm using Fly.io with postgresql. It was working well until I added a migration "Add_cleared_boolean_to_trx". I run #bundle exec rails db:migrate and/or #bundle exec rails db:migrate…
chug
  • 71
  • 6
0
votes
1 answer

Failed due to unhealthy allocations - fly.io

What could be the reason for a Python script failing with "Exit Code: 0" and "Unhealthy allocations" on Fly.io, and how can I troubleshoot it? I'm just trying a host a simple python script on fly.io. #-----python script-----# import datetime import…
0
votes
1 answer

How to expose locally dockerized postgres service to the net

Context: I'm building a full stack project and have decided to deploy my services on docker, I have 3 services at the moment, database-service, frontend-service, and backend-service, in addition to postgres and pgadmin. I have set up a…
Ahmed Zrouqui
  • 356
  • 1
  • 4
  • 13
0
votes
0 answers

How do I give ENV['DATABASE_URL'] to Whenever gem in Fly.io Rails app?

I'm trying to use the Whenever gem in my Rails app to schedule some rake tasks. I'm hosting the app on Fly.io, and the rakes are aborting because they can't connect to the Postgres database in the production environment. I wondered if the…
0
votes
1 answer

Go Buildpack unable to find a local module. What am I missing?

I am trying to build and launch a Go app on https://fly.io but when it comes to building it fails to find my test and templates package seen below: . ├── cmd │   ├── doc │   │   ├── go.mod │   │   └── main.go │   ├── git …
bsap
  • 56
  • 7
0
votes
0 answers

how to bypass makemigration error on django deployment on fly io

I am trying to deploy my django app on fly.io I followed all the steps from this site: https://testdriven.io/blog/django-fly/ On running flyctl launch, I get the following error: (venv) PS C:\Users\Dell\desktop\re\real_estate> flyctl launch…
0
votes
0 answers

Failing to deploy Rails app, struggling to understand Rails logs

I have an app that works great in local and on Heroku I am trying to deploy my Rails app to fly.io that uses docker, but it fails I managed to get the logs, but it's had to understand which part is failing: 2022-11-23T08:29:51Z app[34fbf58e] cdg…