Railway

R

Railway

Hang out with other likeminded developers & talk about all things https://railway.app on the Railway Community Server.

Join
LLifeSword5/2/2024

Purchased $20 of credits and upgrade to Hobby Plan, but now deployments are all paused

On Jan 7 I purchased $20 of credits and upgraded my account to the hobby plan. Now a few days ago I got an email saying my credits had run out and all my deployments were paused, despite the total for all of them not coming close to $20, according to the my accounts billing dashboard. My account is no longer showing as having the Hobby Plan either. Please help me to figure out what happened to my $20 of credits....
PPrentiss5/2/2024

Your connection is not private

Currently receiving "NET::ERR_CERT_DATE_INVALID" on some of my sites. ID: 1ccd180a-5a98-431c-af65-1f09bf8fec13 ID: de1a3a6e-56d4-40c2-a85c-3d444d60d058...
Ddream5/2/2024

Request failed with status code 503

My service just experienced a sudden 503 error, with the project ID being 27d09558-c237-4021-b93c-71541fabcc15. The error occurred around the following time (Etc/GMT-8): 2024-05-02 08:10:48.
ZZeus5/2/2024

End of Line

I tried to pay with my card, and i got BANNED LOL
Aadrian5/2/2024

Operation `model.find()` buffering timed out after 10000ms

Hello all. I tried posting about this in a group for nodejs but as they could not find any issue with my js code. That in combination with the error messages I am getting lead me to believe that my issue has something to do with my MongoDB database provided via Railway. The issue is this. Whenever I load a page in my railway site that requires a mongoose/MongoDB model, the page fails to load, instead leaving me with this error message:
Operation model.find() buffering timed out after 10000ms
Pages that do not call mongoose models load fine, so this seems to be a database access issue....
Solution:
go into the mongo service and find the latest deployment that says mongo on it and use that deployment's 3-dot menu to redeploy
PFTPing for toast5/1/2024

Deployments aren't doing nothing

I am trying to deploy hedgedoc, and the deploy doesn't do nothing and it fails after a few minutes. Not positive what to do about this
No description
Rr05/1/2024

Database deleted from v2 migration

I just went to check back on an old side project and i now see that my db is gone. I see that there is a 6 month archival window — how do I restore my db?
Solution:
the team will contact you in this private thread -> https://help.railway.app/support/database-deleted-from-v2-migration-d607a694
Llasse5/1/2024

Supabase Nixpacks Error

When trying to deploy to prod using nixpacks with bun. It throws: ```bash Error: Error reading src/types/database.types.ts Caused by:...
Solution:
make sure the file is utf-8
KKübra5/1/2024

Railway error

Hi, I'm having trouble deploying on Railway. When I try to deploy, I get an error saying, 'Oh No! Looks like something went wrong and the train derailed.' I'm on the trial plan and have followed the steps provided, but the deployment isn't working. Could someone help me understand why I'm unable to deploy? Thanks!
Solution:
You're likely on limited trial plan which doesn't allow code deploys (meaning you're limited to database deploys), this happens when Railway considers your github account suspicious which can happen when your github account is new or inactive Unfortunately there's no workaround, you'll have to upgrade to hobby plan to deploy code on Railway...
Mmisimilen5/1/2024

Clone DB service?

Can I "clone" a db service in railway? I'm looking for the easiest way to take a snapshot of a db service in railway. If there is not such functionality at the moment I think I have to look into pg_dump/restore to another service or logical replication.
Ddan5/1/2024

Transferring services

Is it possible to move services to another project? I know you can recreate them but that would delete my database data and charge me egress for not using the private network.
Solution:
you cant, keep the database in its current project and move the other services into that project
WDCWeb Dev Cody5/1/2024

Usage Reports not per month

I like to track expenses for each month, but railway doesn't seem to track monthly expenses like other services, they have some offset for when the charges are accumulated. Is there a way to get insight into how much a service cost for all the days in a month?
Solution:
april 6th to may 6th is a month time span? more specifically, thats your billing cycle
No description
Wwerscho5/1/2024

Prisma migrate dev error

the issue is like that; when i start project normally. it works and it connect database . there is no problem. but when i try with custom start command so its like that ; "npx prisma migrate deploy && npm start", it give bug which say it cant connect data base. how can i solve this problem. i have to migrate my prisma changes.. please help me erorr is like that; Prisma schema loaded from prisma/schema.prisma Datasource "db": PostgreSQL database "railway", schema "public" at "viaduct.proxy.rlwy.net:38891"...
Nnedieyaseen5/1/2024

Nextjs memory usage issue

Hie everyone i just deployed a basic nextjs 14 app and its averaging 1.8GB of memory usage.. is this normal or i did something wrong?
Solution:
that's not normal, look into some common reasons for next using lots of memory and just start trying stuff
IInnominate5/1/2024

Trial reset (testing)

Tried Railway for Laravel about a year ago and had no success, had to remain on Heroku for time being. It's that time of the year again where I wanna try if there's been any progress with PHP on Railway, albeit says my trial ran out. Could you please reset it? Don't want to commit to a plan unless I know it works...
Solution:
sorry but that's not something railway could do
DDavid5/1/2024

Access blocked

Hello, i have this problem railway.app has not completed the Google verification process. The app is currently being tested and can only be accessed by testers approved by the developer. If you think you should have access, contact the developer. If you are a railway.app developer, see the error details. Error 403: access_denied...
Solution:
im sorry but setting up google 0Auth would be a bit outside the scope of these help threads, please read googles docs on that subject
SSam5/1/2024

Can't get www to work on railway

I'm trying to have it so that users can go to www.mypetnote.com and be redirected to my project which is deployed on Railway. I currently have it set up so that when users go to https://mypetnote.com/ , it works fine and shows the project. However, I recently upgraded to the hobby plan so I can add another custom domain ( the www.mypetnote.com) one and when I go to that link, I get a 400 bad request error. I've attached my DNS settings and railway settings for reference.
Solution:
is www.mypetnote.com in your allowed hosts?
No description
SSam5/1/2024

503 error after adding TailwindCSS into my project

So I recently decided to style my website with tailwindcss as vanilla CSS was becoming quite. tedious, however now when railway tries to deploy my project I am getting a 503 error "Application failed to respond". I have collected the static files for the tailwindcss files, however in development, I have to run python manage.py tailwind start to get the tailwind stuff to load. In my deployment logs, there is an ModuleNotFoundError: No module named 'theme' , which is part of the tailwind configu...
Solution:
I'm using the default start command that railway provides, but I was able to fix the issue by pushing up the 'theme' flder from my files. I had it in the .gitignore file before.
GGonza4/30/2024

Error using mailgun api

library: 'SSL routines', reason: 'wrong version number',...
Llucianfialho4/30/2024

Need help on the billing

I had a problem with the payment that has already been arranged, will my services be automatically reestablished?
Solution:
You'll need to manually re-enable the services after they've been shut down
Next