R
Railwayβ€’12mo ago
danulqua

Deployment crashes without description

My deployment keeps crashing with exit code 1 but without any error details. On my local machine everything works just fine. 2d12fda6-acd3-4d6a-94a4-b11fd72ff3ef
19 Replies
Percy
Percyβ€’12mo ago
Project ID: 2d12fda6-acd3-4d6a-94a4-b11fd72ff3ef
danulqua
danulquaβ€’12mo ago
That's weird but after second redeploy on the 8-ish try it has finally started. Now it's fine but still I would like to know what was causing the problem, I didn't do anything.
Fragly
Fraglyβ€’12mo ago
oh I remember having something similar, ended up being my DB connection timeout after increasing it, the crashes became rarer Ultimately I switched DB providers and i haven't had something like that happen since
LaCrak27
LaCrak27β€’12mo ago
supermarket
Fragly
Fraglyβ€’12mo ago
exactly
Brody
Brodyβ€’12mo ago
fragly brings up a good point, who is your db provider?
danulqua
danulquaβ€’12mo ago
Railway... 🌚
Brody
Brodyβ€’12mo ago
are you using the private networking for anything
danulqua
danulquaβ€’12mo ago
No, nothing like that. Connecting to the Railway Postgres from my machine was working fine, but during deployment server was crashing with exit code 1.
Brody
Brodyβ€’12mo ago
okay then try disabling private networking
danulqua
danulquaβ€’12mo ago
where?
Brody
Brodyβ€’12mo ago
in the service settings
danulqua
danulquaβ€’12mo ago
Seems like it's not turned on.
Brody
Brodyβ€’12mo ago
hmmm interesting can I see a screenshot of your memory metrics for that service
danulqua
danulquaβ€’12mo ago
Brody
Brodyβ€’12mo ago
yeah looks like your app is crashing in unexpected ways because its running out of memory, the trial plan has only 512mb of ram
danulqua
danulquaβ€’12mo ago
No way my server is that hard πŸ’€ But I probably will switch to Hobby plan when Starter goes away, I think it should be more than enough for my db and server.
Brody
Brodyβ€’12mo ago
that would be august 1st
LaCrak27
LaCrak27β€’12mo ago
So in like 3 days lmao
Want results from more Discord servers?
Add your server
More Posts