Deploy client problem
I'm receiving an error on fly.io, the client send the request to the back-end en recevies a 502 bad gateway error, in the fly.io the app is suspended, that's my url: https://my-wasp-todo-app-client.fly.dev
3 Replies
Hi @Kbral. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Based on the information provided in the knowledge sources, it appears you're experiencing deployment issues with your Wasp app on Fly.io. Here are some steps you can take to troubleshoot and potentially resolve the problem:
1. Check your Wasp version:
Make sure you're running at least Wasp 0.12.4, as there was a bug fix related to imports in this version. You can check your version by running
wasp version
and upgrade if necessary using the command provided in the Discord support thread.
2. Inspect server logs:
Check the server logs on Fly.io's dashboard for any error messages or indications of what might be causing the 502 Bad Gateway error.
3. Verify environment variables:
Ensure that all necessary environment variables are properly set up on Fly.io, especially if you're using features like authentication.
4. Review your deployment process:
Make sure you're following the correct deployment steps. If you're deploying manually, refer to the Wasp documentation on manual deployment to Fly.io for the correct commands and process.
5. Check your custom domain setup:
If you're using a custom domain, verify that your CNAME records are correctly set up as mentioned in the Fly.io documentation on custom domains.
6. Redeploy your app:
Sometimes, simply redeploying the app can resolve issues. Try running wasp deploy fly deploy
again.
If these steps don't resolve your issue, you may need to provide more specific information about your app's configuration and the exact error messages you're seeing in the Fly.io logs for further assistance.
Remember, when deploying with Wasp, the generated code is placed in the .wasp/build
folder. You can inspect this folder to see exactly what's being deployed to Fly.io.
If you continue to face issues, consider reaching out to the Wasp community on Discord for more personalized support, as they often help with specific deployment problems.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @Kbral, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist:
Perhaps try again in 15mins?https://my-wasp-todo-app-server.fly.dev/ Your server is down.
Could you check your fly server errors?
May you have missed any Var?
thanks for jumping in @NEROX 🙂 @Kbral let us know what you find in Fly