Joshua
WWasp-lang
•Created by Joshua on 4/5/2024 in #🙋questions
Checking certs for custom domain
Yes this was resolved! Thanks for checking in!
I'll be tackling the other problems when I get home from work tonight! Will update that thread when I get to it, ty for help!
14 replies
WWasp-lang
•Created by Joshua on 4/7/2024 in #🙋questions
Authentication Issues Live
I had to manually through fyctl update everything
37 replies
WWasp-lang
•Created by Joshua on 4/7/2024 in #🙋questions
Authentication Issues Live
And I resolved it...
37 replies
WWasp-lang
•Created by Joshua on 4/7/2024 in #🙋questions
Authentication Issues Live
So the problem I'm running in debugging this is that fly.io docs all show fly not flyctl commands and don't work 1:1 (per https://fly.io/docs/networking/custom-domain/)
I would like to just check how fly is deploying it (which domains, secrets, certs, etc.), as I know I changed custom domains and maybe it's trying to connect my backend to the first of the websites.
It seems that "Whenever flyctl is run, it will look for a fly.toml file in the current directory and use the application name in that file. This behavior can be overridden by using the -a flag to set the application name, or on some commands (such as deploy) by using a -c flag to point to a different fly.toml file."
got it.
So i need to be in .wasp/build when doing this, as the one in my appname/app is the fly.toml I copied out per directions in set-up
But -a should override it... but -a isn't being recognized?
37 replies
WWasp-lang
•Created by Joshua on 4/7/2024 in #🙋questions
Authentication Issues Live
@kapa.ai I receive this error when I use the command
flyctl domains list -a <appname>
Error: unknown shorthand flag: 'a' in -a
37 replies
WWasp-lang
•Created by Joshua on 4/7/2024 in #🙋questions
Authentication Issues Live
@kapa.ai
I receive this error: sage:
flyctl domains list [org] [flags]
Flags:
-h, --help help for list
-j, --json JSON output
Global Flags:
-t, --access-token string Fly API Access Token
--debug Print additional logs and traces
--verbose Verbose output
Error: unknown flag: --app
37 replies
WWasp-lang
•Created by Joshua on 4/7/2024 in #🙋questions
Authentication Issues Live
@kapa.ai What subdirectory should I be in to use
flyctl domains list --app <appname>
I used it in my appname/app file
as well as appname/app/.wasp/build file
37 replies
WWasp-lang
•Created by Joshua on 4/7/2024 in #🙋questions
Authentication Issues Live
@kapa.ai how can i see other domains present on flyctl
37 replies
WWasp-lang
•Created by Joshua on 4/7/2024 in #🙋questions
Authentication Issues Live
wasp deploy fly cmd --context server secrets set WASP_WEB_CLIENT_URL=https://mycoolapp.com
With my correct domain name
Re deployed and same problem, I may have multiple domains as an issue, how can I remove a domain?
@kapa.ai
37 replies
WWasp-lang
•Created by Joshua on 4/5/2024 in #🙋questions
Database not connecting on fly.io
duly noted, added to my readme to loop back to once I get more features implemented! Thanks for the suggestion!
Not sure if Vercel lets me, but will dig in later!
24 replies
WWasp-lang
•Created by Joshua on 4/5/2024 in #🙋questions
Database not connecting on fly.io
For note incase anyone goes through this and is reading through convos:
Vercel was where my domain was, and it just didn't switch with A and AAAA set (48hrs waited)
I bought a GoDaddy domain, and as Martin said above, it was up in around 10 minutes following the same set up instructions.
My ideal domain is on vercel, but I'll have to wait 60 days after purchase for it to move 🤷‍♂️
24 replies
WWasp-lang
•Created by Joshua on 4/5/2024 in #🙋questions
Checking certs for custom domain
Ignore this thread, sorry! (bot was useful), still playing around!
14 replies
WWasp-lang
•Created by Joshua on 4/5/2024 in #🙋questions
Checking certs for custom domain
Nevermind... stil have access
14 replies
WWasp-lang
•Created by Joshua on 4/5/2024 in #🙋questions
Checking certs for custom domain
@kapa.ai
After using wasp deploy fly cmd --context client certs remove gulearn.com
I got the response Error: prompt: non interactive
And then when I tried to wasp deploy fly cmd --context client certs create gulearn.com
I got the same error Error: Hostname already exists on app
14 replies
WWasp-lang
•Created by Joshua on 4/5/2024 in #🙋questions
Checking certs for custom domain
perfect!
14 replies
WWasp-lang
•Created by Joshua on 4/5/2024 in #🙋questions
Database not connecting on fly.io
Right on, I'll go ahead and just be patient then at 48 hours or so, try and do other stuff and just develop on local in the meantime. 🙂
24 replies
WWasp-lang
•Created by Joshua on 4/5/2024 in #🙋questions
Database not connecting on fly.io
My follow up question, is how long does a custom domain take to actually start working after this from your experience?
Should it be instant? Should it be 24 -48 hrs? Or am I doing something wrong? Been poking around docs and can't find anywhere. (got that number from google/gpt searching)
I think my impatience is just getting me, so I'm just trying to trial things on live server (but obviously not working that way) and the .fly.dev is still up [though network error/disconnected from backend] with 404 on my custom domain
24 replies