jason
Node.js App Wake from Sleep 502 Status Code
I have two environments set up for an app I'm deploying, one for staging new features, and another in case I somehow mess up the staging branch.
The latter is set to sleep, so when my app makes a request to my railway app, it gets a 502 error in return as opposed to perhaps keeping the connection for a little longer.
Is there anyway to either allow more time before a 502 is returned, or somehow configure the return message to be more helpful than "Application failed to respond".
I'm tempted to use associate the 502 error with App Waking, but that obviously doesn't seem like the right way to handle this error.
proj id: a83758cd-7f2e-490a-814b-83a31c1dc56d
5 replies
Prepay Credits for Hobby Plan (with $5 waived)
I'm on Railway's $5 Hobby Plan which has the $5 plan cost waived when Hobby Plan was introduced and replaced the "Developer" Plan I believe. I recall that prepaid credits was something that was introduced. Just wondering whether it's possible for me to prepay for credits even though I'm on the Hobby plan.
I don't see a way to do that, but it would be nice for that to be a supported use case.
Sometimes I get prepaid cards that don't support reoccuring transactions, so it would be nice to dump that value into Railway for when I eventually need to use it.
I don't typically go above the $5 "limit", but it would be nice if I could buy credits for my account, and if I go above that limit, it'll automatically draw from my credit balance, and the cover whatever is left with my on-file payment method.
5 replies
Unable to proxy custom domain using Cloudflare
For whatever reason, I'm not able to get Cloudflare to proxy my railway application using a second level subdomain. The error is "ERR_SSL_VERSION_OR_CIPHER_MISMATCH". Just to make sure it should work, I've gone back and made sure that I could consistently replicate this case working successfully on a different platform; CF is properly proxying my second level subdomains using a different platform. So, technically it does work, just not on railway for whatever reason.
Project ID: e623e4de-83e7-45a0-8fb6-343943128d45
3 replies
Sub-subdomain for Application Deployment
So I've used another platform that seemed to handle this case perfectly, but railway.app seems to have issue with it. I have my railway apps under custom subdomains (*.subdomain.domain.tld). It seems like whenever I add the CNAME record to Cloudflare, I'm getting a "ERR_SSL_VERSION_OR_CIPHER_MISMATCH" error from the browser. Does it take railway some time to provision a LE SSL certificate for custom domains because as far as I can tell, this exact use case worked perfectly with the other platform I was using. I have CF set to Full Encryption, and it is being proxied by Cloudflare. This was the exact same settings I was using with the other platform, I just merely changed out where the CNAME record was pointing, but instead of just working, it's returning that Cipher mismatch error. Thoughts?
Project ID: e623e4de-83e7-45a0-8fb6-343943128d45
3 replies