deeptreading
deeptreading
WWasp
Created by deeptreading on 12/22/2024 in #đŸ™‹questions
Google Auth 404 in production / fly
@kapa.ai should I set REACT_APP_API_URL during build process?
37 replies
WWasp
Created by deeptreading on 12/22/2024 in #đŸ™‹questions
Google Auth 404 in production / fly
@kapa.ai I was watching the logs as the wasp server was being built and saw a warning about not fly not being able to listen for requests on 8080 (default) and it should be 3000. When I changed the set secrets port to 3000, I can now see the oauth requests functioning.
37 replies
WWasp
Created by deeptreading on 12/22/2024 in #đŸ™‹questions
Google Auth 404 in production / fly
@kapa.ai after verifying my google auth configuration, it is still not working. It is working perfectly fine in dev. Any additional advice?
37 replies
WWasp
Created by deeptreading on 12/22/2024 in #đŸ™‹questions
Google Auth 404 in production / fly
@kapa.ai what port should the wasp server listen on
37 replies
WWasp
Created by deeptreading on 12/22/2024 in #đŸ™‹questions
Google Auth 404 in production / fly
@kapa.ai Thank you, I'm no longer seeing server restarts and both client and server on fly are stable. However, I'm still getting 404 not found in production when trying to authenticate with google. I click on Login, then click Google, and it redirects me to https://<mysite>/auth/google/login and it returns a 404. This works in development. I've verified my Authorized redirect URIs are set to https://<mysite>/auth/google/callback. what should I look at next?
37 replies
WWasp
Created by deeptreading on 12/22/2024 in #đŸ™‹questions
Google Auth 404 in production / fly
Thank you, I'm no longer seeing server restarts and both client and server on fly are stable. However, I'm still getting 404 not found in production when trying to authenticate with google. I click on Login, then click Google, and it redirects me to https://<mysite>/auth/google/login and it returns a 404. This works in development. I've verified my Authorized redirect URIs are set to https://<mysite>/auth/google/callback. what should I look at next?
37 replies
WWasp
Created by deeptreading on 12/22/2024 in #đŸ™‹questions
Google Auth 404 in production / fly
@kapa.ai I'm no longer seeing those parameter errors after setting my build environment variables properly via the command line. However, the wasp fly server does not stay up. I've just performed a complete destroy and launch, increase RAM to 2GB, and it keeps restarting. Here's the last log lines before the restart. After 10 tries, the instance is suspended by fly. npm notice New major version of npm available! 9.8.1 -> 11.0.0 [info] npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.0.0 [info] npm notice Run npm install -g [email protected] to update! [info] npm notice [info] INFO Main child exited normally with code: 1 [info] INFO Starting clean up. [info] WARN could not unmount /rootfs: EINVAL: Invalid argument [info] [ 110.395224] reboot: Restarting system
37 replies