Comments (10)
I struggled with region issues a lot, but managed to solve it with help from fly community. Turns out I was just overcomplicating things myself.
You donβt need to set the FLY_REGION
or PRIMARY_REGION
or --region=<region>
, just define primary_region = "<region>"
in your fly.toml
and let fly set those env vars.
This could be documented better though :)
from indie-stack.
@MichaelDeBoey Either setting primary_region
in fly.toml
or using the simplified deployment strategy removed this issue.
from indie-stack.
I got the same issue with the regions following the README tutorial. I applied the primary_region in the fly.toml file and all worked perfectly when redeployed. Definitely this need to be added or mentioned on the indie-stack README.
from indie-stack.
@hilja Will this be fixed if you apply the same changes as I did in #225?
from indie-stack.
I had the same issue today. Was able to solve it by adding primary_region to fly.toml
kill_signal = "SIGINT"
kill_timeout = 5
processes = [ ]
primary_region = "waw" // <-- this line
[experimental]
allowed_public_ports = [ ]
Github actions was marked as crashed, due to:
Error: timeout reached waiting for healthchecks to pass for machine...
But when I checked it on fly.io, it actually seems to work as expected. After re-run, it's deployed properly (green)
from indie-stack.
using the simplified deployment strategy
@hilja Can you elaborate on what you mean by that?
from indie-stack.
@MichaelDeBoey Referring to this PR #225
from indie-stack.
@hilja Since we're now using that simplified deployment strategy out of the box, I'm going to close this PR
from indie-stack.
I know this issue has been closed, but AFAIK the PR mentioned above did not fix the problem.
I'm using the latest version of the stack and I ran into the exact same failure in Github Actions > Deploy.
Not sure why, it seems like it expected dfw
region in my case. When running the fly volumes create
command, fly asks what region we want for the volume (I picked lax
). Either the fly.toml
needs to include primary_region
or there should be some additional documentation on the README about this.
from indie-stack.
I know this issue has been closed, but AFAIK the PR mentioned above did not fix the problem. I'm using the latest version of the stack and I ran into the exact same failure in Github Actions > Deploy.
Not sure why, it seems like it expected
dfw
region in my case. When running thefly volumes create
command, fly asks what region we want for the volume (I pickedlax
). Either thefly.toml
needs to includeprimary_region
or there should be some additional documentation on the README about this.
Same issue for me.
from indie-stack.
Related Issues (20)
- Fly Instance runs out of memory on deployment HOT 11
- Failed app run HOT 3
- Missing Environment Variables when Prisma is removed HOT 3
- Env variables undefined in build but fine in dev HOT 1
- pnpm is not preinstalled and causes an error in Cypress HOT 3
- Remix and Cypress hydration problem HOT 7
- hydration failed,and css file will request twice HOT 1
- npm run dev errors out in windows machines with "Cannot find module '--require/package.json'"
- Error during deployment in Fly.io, Dockerfile needs to give permissons to `start.sh` script HOT 3
- Timeout when Running e2e tests on a fresh installation
- Typecheck fails because it can't find definitions for cypress or @testing-library/cypress HOT 6
- throw new Error(`Failed to kill process ${pid}: ${error}`) after code change HOT 3
- Tailwind SourceMap/EsBuild Issue HOT 4
- Error upon deployment: you must be authenticated
- Cypress custom commands doesn't load HOT 2
- Use `fly launch`/`dockerfile-node` instead of `.dockerignore`, `Dockerfile`, `fly.toml` & `start.sh` HOT 9
- Deployment in Fly.io crashes with JavaScript heap out of memory HOT 5
- bun breaks deploy HOT 2
- Initial commit will not deploy HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from indie-stack.