Branch deploy green but url failing with status code 400

I have a branch that is updating dependencies and the deploy build is green, but when clicking on the url to view the app it has an error message screen Deploy branch url: https://app-truvest-app-pr-521.up.railway.app/ Deploy build url: https://railway.app/project/0ee68194-4729-4be6-abc5-38998747b9d5/service/62034277-f4d4-4655-b087-912537c519fa Under deploy logs Im seeing Error: querySrv ENOTFOUND _mongodb._tcp.propertyrecords.4uayx.mongodb.net at QueryReqWrap.onresolve [as oncomplete] (node:dns:279:19) Any context here?
Railway
404 - Page not found
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
13 Replies
Percy
Percy13mo ago
Project ID: 0ee68194-4729-4be6-abc5-38998747b9d5,62034277-f4d4-4655-b087-912537c519fa
Brody
Brody13mo ago
looks like a failed connection to the mongo database?
colinsonfire
colinsonfire13mo ago
Oh maybe so, maybe its as simple as a wrong env var
Brody
Brody13mo ago
quite possible
colinsonfire
colinsonfire13mo ago
Hmm env vars are the same as production, so probably not
Brody
Brody13mo ago
is this a mongo database hosted on railway or outside of railway
colinsonfire
colinsonfire13mo ago
outside of railway
Brody
Brody13mo ago
atlas?
colinsonfire
colinsonfire13mo ago
yeah
Brody
Brody13mo ago
have you whitelisted 0.0.0.0/0 in atlas?
colinsonfire
colinsonfire13mo ago
production and other branches work just fine, but for some reason this dependency update branch is failing Not sure I can check 0.0.0.0/0 (includes your current IP address) Allow all yea it is
Brody
Brody13mo ago
well tbh this error wouldn't be specific to railway, have you had any luck researching this issue yourself?
colinsonfire
colinsonfire13mo ago
Alright, ill research it further, and close this out thanks for the help