-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fly deploy (launch) of Quickstart app fails #1344
Comments
Hey @adamthewebguy. Could you share your fly.toml file? I suspect your configuration for Electric is missing the |
Hi @alco , I did ensure the
|
@adamthewebguy I don't see from the log snippet you shared which version of the sync service it is. We fixed an IPv6-related bug in the most recent release. Can you double-check that you're running that? Perhaps, try deploying with |
I set up the Quickstart last Friday (7th June 2024)
Looking in my package.json, I see:
Is that the sync service that you're referring to? |
@adamthewebguy what you've shown is the client library. The latest version of that is 0.12.0, released just yesterday. The sync service is the server component which you deploy to Fly as a Docker image. It is specified in the
I hypothesise that Fly may cache the image after it originally fetched it from Docker Hub. To make sure you're using the latest published image, follow the steps from my previous comment or edit your
|
Hi @alco
|
That’s correct if you’re opening https://electricsql-on-fly-test-app.fly.dev in the browser. To see your app you need to deploy the static app and set the config.url in your client https://electric-sql.com/docs/api/clients/typescript#configuration to connect to your sync service running on Fly. |
I've gone back and read about the architecture and concepts again. I was following this and thought I'd deployed the Electric part of the backend and the client (React) app with the single fly 'app' deploy. (My excuse - I'm currently working on a full stack project where we do deploy the backend and frontend in one fly deploy and I think that's clouded my thinking here!) BTW James, I was impressed by your docs, but just in case it helps to clear things up (although, maybe I'm the only one!) then here's what happened in my case:
For me, it would be clearer to remind at the top of the Deployment doc that there are 3 things to be considered:
Then again, it might just be me that got caught out here 😄 Love what you're doing, all the best!!! |
Addresses the feedback and suggestion here: #1344 (comment)
@adamthewebguy I'm glad to see you've got your issue resolved. And thanks for the feedback! ❤️ |
Addresses the feedback and suggestion here: #1344 (comment)
Create the Quickstart app locally. Everything worked ok.
Decided to attempt deploy to fly (using Fly Postgres app). Launch fails. App status is "suspended".
The text was updated successfully, but these errors were encountered: