2 years ago
project id: 3c844d3f-4881-4397-a46c-69c77b48fcc0
53 Replies
2 years ago
You're on the trial plan and are limited to 500GB Volumes, MongoDB can not happily run with only 500MB, you will need to upgrade to the Hobby plan for access to 5GB volumes, after the upgrade go into the volume's settings to grow it to 5GB.
2 years ago
yep, you ran out of storage
well, there were 2 records in one collection (really small ones, a few text/int fields) and another 40 records with mostly text. the server was not accessed for a few days so it's a bit weird that it started crashing. i deleted now all the 40 short text records and the server keeps crashing - are we sure this is the problem? there were no issues until yesterday, it never crashed. now it's empty and keeps crashing.
how can i be certain that your infra is reliable when i go to prod?…
2 years ago
I am absolutely certain, this happens all the time for trial users, 500MB is not enough to run MongoDB happily, nothing to do with the Railway platform itself
2 years ago
and i would just like to clarify something since you said "your infra"..
I don't work for railway
2 years ago
have you grown the volume?
it gives some error messages but not crashing now. but it seems it cannot create DB connection
2 years ago
as previously mentioned, go into the volumes settings and grow it to 5gb
2 years ago
click on the volume
2 years ago
the volume is attached to the service
2 years ago
click on the volume, it is on the project canvas
2 years ago
I didn't know it needed finding <:kekw:788259314607325204>
btw, the other service cannot connect to the DB now, anything that needs to be "rewired" somehow?
2 years ago
please provide specific errors
2024-07-04 19:12:16,499 (async_telebot.py:565 MainThread) ERROR - TeleBot: "mongodb.railway.internal:27017: [Errno -2] Name or service not known (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms), Timeout: 30s, Topology Description: ]>"
2 years ago
are the two services in the same project
2 years ago
do you have the V2 runtime enabled
it was on legacy - was it changed somehow or it was in legacy when i started the project?
2 years ago
it was legacy when you started the project, switch to v2
2 years ago
have you switched to the v2 runtime
2 years ago
deploy logs please -
Starting Container
Started server process [2]
Waiting for application startup.
Application startup complete.
Uvicorn running on http://0.0.0.0:8001 (Press CTRL+C to quit)
2024-07-04 19:20:53,215 (async_telebot.py:565 MainThread) ERROR - TeleBot: "mongodb.railway.internal:27017: timed out (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms), Timeout: 30s, Topology Description: ]>"
2 years ago
use the bookmarklet please
well, the tool is not "brave" browser friendly
2 years ago
logs of the app please
2 years ago
can you connect to the database locally
2 years ago
hobby users are only eligible for support from the community, so please be patient
