#Can't connect to MongoDB after region migration

22 messages · Page 1 of 1 (latest)

cobalt bronze
#

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

empty helmBOT
#

Project ID: d0351c30-dbdf-4528-a8ee-0563f4e086dc

cobalt bronze
#

d0351c30-dbdf-4528-a8ee-0563f4e086dc

#

It is connecting from railway website.

glass dawn
cobalt bronze
#

It is

#

I also copied MONGO_URL variable, and pasted it directly to Mongo Compass

glass dawn
#

and did it work from compass?

cobalt bronze
#

No

glass dawn
#

can you try specifying the database to connect to? in this case it looks like its test

cobalt bronze
#

I specified using mongoose didnt work.
I added /test at the end of the url string, didnt work

glass dawn
#

is your app on railway able to connect?

cobalt bronze
#

Not able

slender mangoBOT
#

Thread has been flagged to Railway team by @glass dawn.

cobalt bronze
#

It worked

#

It took about 30 minutes to work by itself

glass dawn
#

not ideal 😐

cobalt bronze
#

Before it would immediately able to connect after migration

#

This time downtime was about 30 mins

#

Thank you