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
1
vote
1 answer

IP address for fly.io app not recognised in MongoDB Atlas

I'm trying to limit connection to my MongoDB Atlas cluster from only my fly.io app. I have its IPv4 address from the app deployment page (screenshot below) and added it to the whitelist in MongoDB Atlas (screenshot below) The problem is that this…
S Said
  • 89
  • 8
1
vote
1 answer

Drop rails database on fly.io?

Question How do I do a simple rails db:drop on fly.io? Background I tried fly ssh console -C "/app/bin/rails db:drop DISABLE_DATABASE_ENVIRONMENT_CHECK=1" and also shelling in via fly ssh myapp then /app/bin/rails db:drop…
stevec
  • 41,291
  • 27
  • 223
  • 311
1
vote
0 answers

Turn off page breaks in fly.io ssh / console output?

When ssh'ing into an app (e.g. a rails app, with fly ssh console -C "/app/bin/rails console"), how can I prevent: --- Press enter to continue ( q to break ) --- and just dump everything to the console (without the…
stevec
  • 41,291
  • 27
  • 223
  • 311
1
vote
1 answer

How to add server-side database access to Nuxt app on Fly.io

I am trying to get started with Fly.io. I know Vue well and wanted to try Nuxt and Node.js. I cannot seem to figure out how to add server-side components and classes for handling AJAX requests. I followed the official tutorial…
macu
  • 379
  • 1
  • 4
  • 10
1
vote
0 answers

How to connect ArduinoWebSockets to nodejs socket.io server deployed in fly.io?

Basically, I have an ESP8266 NodeMcu that connects to a wifi network. An RFID reader is connected and whenever the RFID card is tapped on the reader, an instance of SocketIoClient from ArduinoWebSockets will send an event on the server. I manage to…
Eric Echemane
  • 94
  • 1
  • 9
1
vote
1 answer

Cloud Native Buildpacks support on fly.io for Spring Boot apps: No buildpack groups passed detection

Recently I discovered fly.io as an alternative to Heroku, where they stop to provide their free dynos from November 28th on. There's a guide for how to use Deno mit fly.io and Buildpacks, but non for Spring Boot / Java. Also I read about the build…
jonashackt
  • 12,022
  • 5
  • 67
  • 124
1
vote
1 answer

Change navigation to expand left

Navigation bar presently drops down, 1st sub menu expands left, 2nd sub menu expands right so that it's on top of the primary menu. Trying to get the 2nd sub menu to continue expanding left, but any tweaks I make don't change it. Tried to get the ul…
Elise
  • 11
  • 1
1
vote
0 answers

Unity: minimap cam with visual cue for location

I use a flycam to move freely on a vast terrain, then I have a Minimap using a secondary 2d camera in a top position. But then I need a "dot" or some visual cue to know where the camera is in relation to the map. I've tried several things with no…
Ivan
  • 151
  • 1
  • 1
  • 9
1
vote
1 answer

The Unity fly camera goes through ground and objects when accelerating

I'm using unity extendedflycam.cs. I added a sphere collider and a rigidbody to it. The intend is to avoid the camera to go trough the ground and buildings. This is achieved only when the camera is flying at normal speed, but when the camera…
Ivan
  • 151
  • 1
  • 1
  • 9
1
vote
0 answers

Wordpress with different site url causes homepage redirect loop when using postname permalinks

I am attempting to setup WordPress to work with fly.io, which requires the WordPress address and Site address to differ. I have wp.example.com pointing to my wp server and example.com pointing to fly. Which results in: WordPress Address (URL):…
Nick Welsh
  • 11
  • 1
0
votes
0 answers

Django error on fly io app: django.db.utils.OperationalError: no such table: django_session

I have a Django application deployed on fly.io Sometimes when I do a database operation like login, signup, or a CRUD operation, it returns the error "django.db.utils.OperationalError: no such table: django_session". I think it's important to note…
0
votes
1 answer

“context deadline exceeded” error when running a system command inside Fly machine

I have a cpp application that I have compiled on fly machine #include int main() { std::string input; std::cout << "Please enter some text: "; std::getline(std::cin, input); std::cout << "You entered: " << input <<…
Raaz
  • 1,669
  • 2
  • 24
  • 48
0
votes
0 answers

I'm trying to deploy a Laravel app with fly.io, but i constantly get an error that it's not getting resolved by myself

I'm trying to deploy a Laravel app with fly.io, but i constantly get this error: *ERROR [base 3/4] RUN composer install --optimize-autoloader --no-dev 8.2s Error: failed to fetch an image or build from source: error building: failed to solve:…
0
votes
0 answers

Troubleshooting React App Deployment on Fly.io: 503 Error

Im looking into deploying a full stack application on fly.io. I've deployed the server side code which is written in NodeJS on fly.io. However I cant figure out how to deploy the react-app on fly.io. An approach I tried was to use a vite project and…
BaseCoder
  • 1
  • 2
0
votes
0 answers

Trying to understand django, python, fly.io error Error: failed to fetch an image or build from source

I am trying to deploy my django blog using fly.io. I get the following error output and its talking about psycopg not running. now the thing is I have run pip install psycopg[binary] and pip install psycopg2 commands found here on stack…