Can't connect to MongoDB after region migration

I changed my MongoDB container's region from US West to EU West. I can see its host "roundhouse.proxy.rlwy.net" hasn't changed. But after migration I'm receiving error while connecting to it. Error message: connection <monitor> to 35.214.158.190:45845 closed
17 Replies
Percy
Percy12mo ago
Project ID: d0351c30-dbdf-4528-a8ee-0563f4e086dc
akku铁木
akku铁木OP12mo ago
d0351c30-dbdf-4528-a8ee-0563f4e086dc
akku铁木
akku铁木OP12mo ago
It is connecting from railway website.
No description
Brody
Brody12mo ago
make sure you are using reference variables https://docs.railway.app/guides/variables#referencing-another-services-variable and then make sure your code is using those environment variables
akku铁木
akku铁木OP12mo ago
It is I also copied MONGO_URL variable, and pasted it directly to Mongo Compass
Brody
Brody12mo ago
and did it work from compass?
akku铁木
akku铁木OP12mo ago
No description
akku铁木
akku铁木OP12mo ago
No
Brody
Brody12mo ago
can you try specifying the database to connect to? in this case it looks like its test
akku铁木
akku铁木OP12mo ago
I specified using mongoose didnt work. I added /test at the end of the url string, didnt work
Brody
Brody12mo ago
is your app on railway able to connect?
akku铁木
akku铁木OP12mo ago
No description
akku铁木
akku铁木OP12mo ago
Not able
Duchess
Duchess12mo ago
Thread has been flagged to Railway team by @Brody.
akku铁木
akku铁木OP12mo ago
It worked It took about 30 minutes to work by itself
Brody
Brody12mo ago
not ideal 😐
akku铁木
akku铁木OP12mo ago
Before it would immediately able to connect after migration This time downtime was about 30 mins Thank you
Want results from more Discord servers?
Add your server