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
Percy11mo ago
Project ID: d0351c30-dbdf-4528-a8ee-0563f4e086dc
akku铁木
akku铁木11mo ago
d0351c30-dbdf-4528-a8ee-0563f4e086dc
akku铁木
akku铁木11mo ago
It is connecting from railway website.
No description
Brody
Brody11mo 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铁木11mo ago
It is I also copied MONGO_URL variable, and pasted it directly to Mongo Compass
Brody
Brody11mo ago
and did it work from compass?
akku铁木
akku铁木11mo ago
No description
akku铁木
akku铁木11mo ago
No
Brody
Brody11mo ago
can you try specifying the database to connect to? in this case it looks like its test
akku铁木
akku铁木11mo ago
I specified using mongoose didnt work. I added /test at the end of the url string, didnt work
Brody
Brody11mo ago
is your app on railway able to connect?
akku铁木
akku铁木11mo ago
No description
akku铁木
akku铁木11mo ago
Not able
Duchess
Duchess11mo ago
Thread has been flagged to Railway team by @Brody.
akku铁木
akku铁木11mo ago
It worked It took about 30 minutes to work by itself
Brody
Brody11mo ago
not ideal 😐
akku铁木
akku铁木11mo 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