a month ago
Can't seem to access my app. Nothing has changed in a month and it was working fine, but now has on and off "Service Unavailable" issues. This is the second time this week. No logs show up either.
Attachments
Pinned Solution
a month ago
You need to add a TXT record. I ran nslookup and I got NXDOMAIN.
41 Replies
Status changed to Open Railway • about 1 month ago
a month ago
We are running int othe same issue. DNS config says to point at 2vla3chn.up.railway.app which is not up.
Status changed to Awaiting Railway Response Railway • about 1 month ago
dallas-hall-tl
We are running int othe same issue. DNS config says to point at `2vla3chn.up.railway.app` which is not up.
a month ago
Please create your own thread.
0x5b62656e5d
You need to add a TXT record. I ran `nslookup` and I got `NXDOMAIN`.
a month ago
What TXT record are you referring to? And to NameCheap or Cloudflare?
adhdcoder
What TXT record are you referring to? And to NameCheap or Cloudflare?
a month ago
First question: The _railway-verify record given to you when you added the custom domain in the dashboard.
Second Question: That depends on which DNS provider you’re using.
0x5b62656e5d
First question: The `_railway-verify` record given to you when you added the custom domain in the dashboard. Second Question: That depends on which DNS provider you’re using.
a month ago
It has been so long since I set up this custom domain, I don't remember getting a _railway-verify TXT record though. And why is it suddenly not working now if it's been working for months? DNS records haven't changed across both platforms at all. How am I able to get that TXT record if everything is set up with the custom domain and it only shows me the CNAME to add to Cloudflare?
0x5b62656e5d
Try removing your domain from Railway then re-adding it.
a month ago
Actually I ended up finding a "Connect to Cloudflare" button and clicking that, and it automatically added the TXT file. Thank you!!
0x5b62656e5d
Try removing your domain from Railway then re-adding it.
a month ago
So wait, I added that TXT file across 2 out of 3 domains on Cloudflare. I was working on the 3rd one and it's loading just fine without it. Still going to add the TXT file since it worked for the other app, but the app from this original issue is still not loading. I'm not getting NXDOMAIN for the custom domain anymore, but I am still getting it from the generated domain even though I deleted it and re-added it.
a month ago
I remember Railway changed from needing the autogenerated domain with CNAME for it to work to right now just by having the CNAME should just work without needing the autogenerated domain (ending with up.railway.app)
I have that removed. I also do not have the TXT record and my custom domain is still working up till now
I think for you you can leave it there (I am using Cloudflare btw)
knackwx
I remember Railway changed from needing the autogenerated domain with CNAME for it to work to right now just by having the CNAME should just work without needing the autogenerated domain (ending with up.railway.app) I have that removed. I also do not have the TXT record and my custom domain is still working up till now I think for you you can leave it there (I am using Cloudflare btw)
a month ago
I like to have it since my mom's internet blocks my custom domains and unblocking it is a hassle lol I use the generated domain to get to my app when I visit her place.
But either way, the custom domain isn't loading still either. Neither of the two load anything other than "Service Unavailable" at this point.
a month ago
Do you mind showing your domain because I don't think that is Railway's default unavailable page?
knackwx
Do you mind showing your domain because I don't think that is Railway's default unavailable page?
a month ago
a month ago
The autogen domain isn't working your app isn't responding
Also I noticed your domain points to an A record?
Railway only accepts CNAME records and it looks like you are using root domain record (apex record) mycozyfocus.com, you need to use Cloudflare
a month ago
(Make sure to remove any records that may conflict with the CNAME, such as A or AAAA).
a month ago
Here's all the records in Cloudflare for mycozyfocus.com
www points to mycozyfocus.com
Attachments
a month ago
It does seem right, I'm going to guess these are the 1 click setup for Cloudflare DNS?
knackwx
It does seem right, I'm going to guess these are the 1 click setup for Cloudflare DNS?
a month ago
Well I manually did it a long time ago and then I just did the 1 click setup for Cloudflare to get the railway-verify TXT record in there from this thread.
Even in the 1 click setup, the CNAME stayed the same, it only added the TXT record
a month ago
Just to eliminate variables can you try testing out on an incognito window so it isn't your browser caching the DNS
knackwx
Just to eliminate variables can you try testing out on an incognito window so it isn't your browser caching the DNS
a month ago
Yup already tested. Both still don't load in incognito
a month ago
Eh it's odd that I cannot access your app using the autogenerated domain
Can you check your app logs to see if it's not crashing or doing something weird
knackwx
Eh it's odd that I cannot access your app using the autogenerated domain Can you check your app logs to see if it's not crashing or doing something weird
a month ago
No logs show up at all
Attachments
a month ago
Even in the service itself the deployment logs and any incoming HTTP request seen?
a month ago
If all else doesn't work force a redeploy /shrug using the Dashboard or just git commit --allow-empty -m "Force Build"
knackwx
If all else doesn't work force a redeploy /shrug using the Dashboard or just `git commit --allow-empty -m "Force Build"`
a month ago
Deployment Logs: Nothing since April 17th actually...
HTTP Logs: A lot 502 and 499 errors
a month ago
The PORT you are listening to is the same port in your app and your service configuration right?
Are you using a reverse proxy like NGINX or smth?
I think this may be getting out my league here
adhdcoder
Deployment Logs: Nothing since April 17th actually... HTTP Logs: A lot 502 and 499 errors
a month ago
Yeah I have a tab constantly trying to ping. What I'm guessing is there is an issue with your app (502) and my browser just closes the connection after not receiving a response (499)
a month ago
Update: I saw a Railway application failed to response page and now I'm hit with a 403 Forbidden.
I think something is working here
UPDATE: Your app is live now, I can see it at mycozyfocus.com
knackwx
Update: I saw a Railway application failed to response page and now I'm hit with a 403 Forbidden. I think something is working here UPDATE: Your app is live now, I can see it at mycozyfocus.com
a month ago
Yeah I just redeployed lol but I'm seeing some interesting logs
[ActionDispatch::HostAuthorization::DefaultResponseApp] Blocked hosts: my-cozy-focus-production.up.railway.app, my-cozy-focus-production.up.railway.app
knackwx
Yeah that's me accessing the autogen command I got a 403
a month ago
I'm gonna troubleshoot that later but if the custom domain is working then that's a good sign. I'll remember to force redeploy next time I make a DNS change then
a month ago
Actually you don't have to do that. The DNS on the service settings interact with Railway's edge network independent of your container
You probably was just sitting in a bad container
knackwx
Actually you don't have to do that. The DNS on the service settings interact with Railway's edge network independent of your container You probably was just sitting in a bad container
a month ago
Ohhh okay. All of this stuff is wayyy out of my league tbh thank you so much
a month ago
Can two people get bounties? lol both the TXT record + redeploy solved this thread 😆
a month ago
Haha I'm not sure. Actually this is my 1st time actually solving something in this whole bounties program 🤣
knackwx
Haha I'm not sure. Actually this is my 1st time actually solving something in this whole bounties program 🤣
a month ago
You were very thorough 😆 you deserve a bounty too!! But I clicked on the previous solution when it worked for my other app before realizing this app still wasn't loading
a month ago
Ah I'm not sure how OP works for approving solutions. I guess only time will tell
Status changed to Solved brody • about 1 month ago



