MantisInABox
MantisInABox
RRailway
Created by PrivateScript on 11/10/2024 in #✋|help
My react app crashes on production when fetching data for showing a datatable
@PrivateScript are you seeing any errors in your service logs on Railway?
14 replies
RRailway
Created by PrivateScript on 11/10/2024 in #✋|help
My react app crashes on production when fetching data for showing a datatable
Can you send what the error on the console is? Though it may not seem useful to you, it is a very important part of being able to help you
14 replies
RRailway
Created by DEOGEE on 9/24/2024 in #✋|help
Skeptical about $5 a month subscription
No problem
29 replies
RRailway
Created by DEOGEE on 9/24/2024 in #✋|help
Skeptical about $5 a month subscription
It does not rebuild when someone accesses it, but it will still have the cold start time, so it might be a tad bit slow on initial request after sleep
29 replies
RRailway
Created by DEOGEE on 9/24/2024 in #✋|help
Skeptical about $5 a month subscription
You can set app sleeping so it scales to zero when not in use (good money saver), but you can also set usage limits
29 replies
RRailway
Created by DEOGEE on 9/24/2024 in #✋|help
Skeptical about $5 a month subscription
You can look at your resource stats on render, and then match the average against the pricing calculator at http://railway.app/pricing to get an estimate
29 replies
RRailway
Created by DEOGEE on 9/24/2024 in #✋|help
Skeptical about $5 a month subscription
@DEOGEE you pay the $5/month subscription and get $5 of usage. Then you pay any resource usage over that.
29 replies
RRailway
Created by ne0 on 9/13/2024 in #✋|help
container crashed
Can you share your repo? Your application might be called app and not web, in which case, you would use app:app
164 replies
RRailway
Created by ne0 on 9/13/2024 in #✋|help
container crashed
web: is a Procfile thing, you should be able to set your start command to just gunicorn app:web --timeout 120 Railway hasn't supported procfiles in a long time
164 replies
RRailway
Created by ne0 on 9/13/2024 in #✋|help
container crashed
Is there anything in the logs that might show why it crashed?
164 replies
RRailway
Created by Sid on 9/11/2024 in #✋|help
What port does railway expose for node apps?
No problem
12 replies
RRailway
Created by Sid on 9/11/2024 in #✋|help
What port does railway expose for node apps?
If you want to continue using 3000 as your port, you must set a PORT environment variable as 3000 in your service
12 replies
RRailway
Created by Sid on 9/11/2024 in #✋|help
What port does railway expose for node apps?
Each application will be assigned a random port number. Unless you specify. Your code above sets the port variable. You would want to do something like const PORT = process.env.PORT || 3000; Then when you deploy, it will use the railway provided port, which will automatically display in the selection when you add a domain
12 replies
RRailway
Created by PolpOnline on 9/7/2024 in #✋|help
Does setting DATABASE_URL instead of DATABASE_PRIVATE_URL affect egress usage?
Unfortunately, I'm not a team member, so I cannot see your projects, but you are sure that you have a nixpacks.toml file in that root directory?
12 replies
RRailway
Created by Bentroen on 9/10/2024 in #✋|help
Multiple usage values being presented in different places
But beings that you are looking at the observability dashboard, that data might be cached for a short period of time before updating
20 replies
RRailway
Created by Bentroen on 9/10/2024 in #✋|help
Multiple usage values being presented in different places
A hard refresh is when you hold the control key and press F5
20 replies
RRailway
Created by Bentroen on 9/10/2024 in #✋|help
Multiple usage values being presented in different places
See if it forces an update?
20 replies
RRailway
Created by Bentroen on 9/10/2024 in #✋|help
Multiple usage values being presented in different places
Can you try doing a hard refresh, with that drop-down on last 30 days?
20 replies
RRailway
Created by Bentroen on 9/10/2024 in #✋|help
Multiple usage values being presented in different places
That is strange the the current usage did not change when you changed the drop-down to the last 30 days, it definitely should have. Though the estimated value will constantly change over the course of your billing period as you utilize your project. It's just so you aren't shocked at the end of the month with a $20 bill
20 replies
RRailway
Created by Bentroen on 9/10/2024 in #✋|help
Multiple usage values being presented in different places
The first screenshot is your entire billing period. The second screenshot only shows the last 7 days, indicated by the little drop-down above the current usage
20 replies