W
Wasp7mo ago
thekizoch

Email auth not working in fly.io

Locally, on http://localhost:3000/signup, the email sign up is working, as I have a sendgrid account with payment, and set the SENDGRID_API_KEY in env.server Once i deploy, with custom domain, to spectralhealth.ai, i can only see a network error. I dont see anything on server logs on fly.io. How can i debug. i have a lot of the envs set in fly.io FYI, Full stack amateur here, never used React before. Thanks for your help! Michael
No description
No description
No description
3 Replies
kapa.ai
kapa.ai7mo ago
Hi @thekizoch. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Hi Michael, It seems like you're experiencing a network error after deploying your Wasp app with email authentication on fly.io. Here are some steps you can take to debug this issue: 1. Check your environment variables on fly.io: Make sure that all necessary environment variables, including SENDGRID_API_KEY, are correctly set on fly.io. You can check your secrets by running flyctl secrets list in the terminal. Note that you will see hashed versions of your secrets to protect your sensitive data. source (https://wasp-lang.dev/docs/advanced/deployment/manually#set-up-a-flyio-app) 2. Check your browser's network tab: Open your browser's developer tools and check the "Network" tab to see if there are any failed requests. This could give you more information about the network error you're seeing. source (https://discord.com/channels/686873244791210014/1217941277979574315) 3. Check your server logs on fly.io: You mentioned that you don't see anything on the server logs on fly.io. It might be helpful to double-check this, as any errors or issues would likely be logged here. 4. Redeploy your app: Sometimes, redeploying the app can resolve the issue. You can do this by running wasp deploy fly deploy. source (https://discord.com/channels/686873244791210014/1217941277979574315) 5. Upgrade your Wasp version: If you're using an older version of Wasp, upgrading to the latest version might help. You can do this by running curl -sSL <https://get.wasp-lang.dev/installer.sh> | sh and then updating the Wasp version in your main.wasp file. source (https://discord.com/channels/686873244791210014/1201898985300971540) If none of these steps resolve your issue, it might be helpful to ask for help on the Wasp Discord server or open an issue on the Wasp GitHub repository. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @thekizoch, 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?
Vinny (@Wasp)
Vinny (@Wasp)7mo ago
Vinny (@Wasp)
Vinny (@Wasp)7mo ago
No description
Want results from more Discord servers?
Add your server