a year ago
project id: 3c844d3f-4881-4397-a46c-69c77b48fcc0
53 Replies
a year 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.
a year 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?…
a year 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
a year ago
and i would just like to clarify something since you said "your infra"..
I don't work for railway
a year ago
have you grown the volume?
it gives some error messages but not crashing now. but it seems it cannot create DB connection
a year ago
as previously mentioned, go into the volumes settings and grow it to 5gb
a year ago
click on the volume
a year ago
the volume is attached to the service
a year ago
click on the volume, it is on the project canvas
a year 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?
a year 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: ]>"
a year ago
are the two services in the same project
a year 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?
a year ago
it was legacy when you started the project, switch to v2
a year ago
have you switched to the v2 runtime
a year 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: ]>"
a year ago
use the bookmarklet please
well, the tool is not "brave" browser friendly
a year ago
logs of the app please
a year ago
can you connect to the database locally
a year ago
hobby users are only eligible for support from the community, so please be patient
