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
Percy2y ago
Project ID: 0ee68194-4729-4be6-abc5-38998747b9d5,62034277-f4d4-4655-b087-912537c519fa
Brody
Brody2y ago
looks like a failed connection to the mongo database?
colinsonfire
colinsonfireOP2y ago
Oh maybe so, maybe its as simple as a wrong env var
Brody
Brody2y ago
quite possible
colinsonfire
colinsonfireOP2y ago
Hmm env vars are the same as production, so probably not
Brody
Brody2y ago
is this a mongo database hosted on railway or outside of railway
colinsonfire
colinsonfireOP2y ago
outside of railway
Brody
Brody2y ago
atlas?
colinsonfire
colinsonfireOP2y ago
yeah
Brody
Brody2y ago
have you whitelisted 0.0.0.0/0 in atlas?
colinsonfire
colinsonfireOP2y 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
Brody2y ago
well tbh this error wouldn't be specific to railway, have you had any luck researching this issue yourself?
colinsonfire
colinsonfireOP2y ago
Alright, ill research it further, and close this out thanks for the help
Want results from more Discord servers?
Add your server