2 years ago
I have an app that uses a wildcard domain (multi-tenant), but I've been unable to get things working in Railway. Root domain works great, but even with multiple retries (removing the wildcard domain and DNS records, re-adding, etc.) things seem stuck in the provisioning TLS certificate stage.
Any help is greatly appreciated - we are trying to move our app off of Vercel for many reasons, and this is the final stage to build the proof of concept and make a decision.
Thanks!
124 Replies
2 years ago
who's your DNS provider?
app. is working perfectly. Seems to be an issue with wildcard. I've tried removing it and re-adding it - is there a way to manually provision things?
2 years ago
show me a screenshot of the railway domains please
2 years ago
what happens if you remove the wildcard domain from railway, and then add it back? (without touching dns in cloudflare)
2 years ago
it technically shouldn't matter, those are random values and only serve as a means to resolve the correct ip
Got it. Yeah it seems this part is fine, but it gets firmly stuck on TLS issuing
2 years ago
you may have hit the cert issuing limit
What's that? And is there a way around it? Or a way to resolve or debug?
2 years ago
i would have to flag the team
Ok! If you're able to help with this it would be hugely appreciated. We very ready to move our whole team over, but need to validate that this works as expected before we make the jump.
And it's a bit urgent for us because of performance issues on Vercel 😭
2 years ago
may i ask if you are pro?
I am not yet, but as soon as we have this resolved we will migrate there
2 years ago
haha no thats not why i was asking, im not gonna ask you to upgrade while you are having issues.
just wanted to make sure you had the right discord badges is all 🙂
But yes, we will be doing this shortly and moving the whole team over. Plz free us from Vercel!
Step change in performance already in our main app moving to Railway
2 years ago
glad to hear it, we welcome you to railway, and the community!
2 years ago
did you try end up trying this?
Yep! That's what lead to the above screenshot (I haven't changed anything since then)
2 years ago
okay thanks for confirming
2 years ago
Hey!
https://help.railway.app/questions/wildcard-domain-stuck-issuing-tls-93093f7e was this you?
It's been flagged to our infra eng - appears to be an issue on our end. It's the start of the day in North America so it'll get looked at pretty soon, apologies for the delay
Thanks so much <@1060856209332260864> ! And all good. Things have been so awesome otherwise.
2 years ago
Hi!
2 years ago
You around I'd love to help you fix this
2 years ago
I'm not able to pull dns records for it
2 years ago
I can dig it and get the correct results back
2 years ago
What's correct result in this case?
2 years ago
these
2 years ago
Both these look incorrect…
I'm getting Required value: [g7t2czuh.authorize.railwaydns.net](g7t2czuh.authorize.railwaydns.net)
2 years ago
(And, BTW the job to obtain it expired)
2 years ago
For some reason it only goes for 5 minutes
2 years ago
<@1159893063695605770> If you can retry issuing it super quickly that would be great
2 years ago
i think they r&r'd the domain in railway and didnt update the dns in cloudflare, but updating the cname in cloudflare shouldn’t be absolutely necessary since they are just random cnames, right?
2 years ago
that would explain all the "stuck issuing tls" help threads ive always seen
2 years ago
Yea
Based on the latest values given in Railway, but it's still stuck.
2 years ago
Can you delete the wildcard for me?
2 years ago
And retry
2 years ago
Both
2 years ago
Basically retry issuing it from scratch as if you'd never done it
So delete it in Cloudflare and Railway
2 years ago
Then, let DNS purge
2 years ago
Then, hit create in Railway
2 years ago
I'll walk alongside you and figure out wtf is wrong
2 years ago
Slick!
2 years ago
Okay, remove it on Railway
2 years ago
(Please)
Yep, done. Then re-added it in Railway, and just added records to cloudflare
2 years ago
Okay! Lemme validate this…
2 years ago
Trying to pull the info sec
2 years ago
I see two txt records
solving challenge: *.[onorder.xyz](onorder.xyz): [*.[onorder.xyz](onorder.xyz)] authorization failed: HTTP 403 urn:ietf:params:acme:error:unauthorized - Incorrect TXT record \"7-glVtTwZT9qY9qVnOolZMaO8V9iv0pqqEmrnoFBeho\" (and 1 more) found at _acme-challenge.[onorder.xyz](onorder.xyz)
2 years ago
Can you delete the TXT records?
2 years ago
Oh, cause you have an app.[onorder.xyz](onorder.xyz) + a *.onorder.xyz
2 years ago
<@1159893063695605770> Sorry for tag it's time sensitive cause the workflow will retry
2 years ago
Can you tell me why your'e trying to do both here?
I wanted to get app. working since that's where we host our main app
2 years ago
I think so ye
2 years ago
I think it's messing with the DNS but not 100% certain
2 years ago
Dunno where these guys are coming from
2 years ago
That's super weird
2 years ago
Ah
2 years ago
Yea you'll have to turn that off
This would be a great one to add to docs - I didn't turn this on, maybe new cloudflare default
2 years ago
If that's the issue defs
2 years ago
I'll try and dig the record
2 years ago
(The thing retries on a set schedule. Next one is in 8 minutes)
2 years ago
Ha
2 years ago
Beat me to it
2 years ago
!remind me to check back in 8 minutes
2 years ago
Marked as successful on our end!
2 years ago
Can you give it a poke and check on yours?
2 years ago
super helpfull for me too, now i know where to look when a similar issue with wildcards happen, thanks cooper!
2 years ago
wow he's good
Hahah thanks so much. Team is taking a final look and we'll migrate everything over. Everything is working great.
2 years ago