R
Railway•7mo ago
JL_

Can't connect to MongoDB

Hi currently I created a mongodb project on railway but I'm having a problem when it comes to connecting using my local machine to test.
Solution:
you are likely running into your plan limits, with the 500mb of storage or 512mb of memory on the database
Jump to solution
13 Replies
Percy
Percy•7mo ago
Project ID: 217c28df-8d08-4791-8e07-9b943ce0fc1e
JL_
JL_•7mo ago
217c28df-8d08-4791-8e07-9b943ce0fc1e
JL_
JL_•7mo ago
Here's the dashboard
No description
Brody
Brody•7mo ago
have you ran the command it gives you locally?
JL_
JL_•7mo ago
This is the error
No description
JL_
JL_•7mo ago
Though I already pasted the env values to my local env
JL_
JL_•7mo ago
Here's my env, I just replace the XXX value
No description
Brody
Brody•7mo ago
any errors in the logs for mongo
JL_
JL_•7mo ago
Here's the railway logs
No description
Brody
Brody•7mo ago
please try the mongosh command given
JL_
JL_•7mo ago
Hmm I'll try btw I'm using typeorm Still the same issue, I think I just switch to MongoDB Atlas 😦
Solution
Brody
Brody•7mo ago
you are likely running into your plan limits, with the 500mb of storage or 512mb of memory on the database
JL_
JL_•7mo ago
Though I haven't deployed any data yet I'm just connecting