cerwind
cerwind
RRailway
Created by cerwind on 10/8/2024 in #✋|help
Logs being flagged as Errors
Hi, I'm using the Python module (https://docs.python.org/3/library/logging.html) to differentiate logs however on the Railway logs it doesn't seem to differentiate between Warnings and Errors and just labels everything with an Error level. It could be something with my configuration but curious if anyone else has encountered this or have a logging configuration that works for them?
9 replies
RRailway
Created by cerwind on 9/2/2024 in #✋|help
Container Unable to Complete Build
Hi, my builds have begun failing for one of my services - i.e. I can't even rollback. I'm wondering if it's using some-kind of build cache and if I can delete that cache when re-building. There's no indication in the logs anything went wrong other than the UI telling me it's "Failed". Any support on this?
Project ID: c61c1785-a8d8-43d0-9d8b-6bd1f69aa3bf
17 replies
RRailway
Created by cerwind on 8/13/2024 in #✋|help
Hanging Requests
Hi, my API requests are suddenly hanging (i.e. not resolving at all), is anyone else experiencing this? Server is EU-West. Project ID: c61c1785-a8d8-43d0-9d8b-6bd1f69aa3b
28 replies
RRailway
Created by cerwind on 8/6/2024 in #✋|help
Staging / Production Confusion
Hi, I've tried creating a new staging environment but it doesn't seem to have worked correctly. I have a pretty simple set up with a Server connected to a Redis database but it seems after creating the environment my Production Server is now looking at my Staging Redis which is causing serious problems. How do I delete my staging environment because it's got a bit complicated what's pointing to what and while the UI is awesome in terms of observability usually, I can't understand what's going on in this scenario. Project ID: c61c1785-a8d8-43d0-9d8b-6bd1f69aa3bf
8 replies
RRailway
Created by cerwind on 8/2/2024 in #✋|help
Slow Responses
Hi, since this morning (GMT+1) HTTP requests have suddenly slowed down on my services to the point I'm getting timeouts and can't access my API at all. The only thing I can think of that I've changed on Railway is switch the Runtime from Legacy to V2 Project ID: c61c1785-a8d8-43d0-9d8b-6bd1f69aa3bf
5 replies
RRailway
Created by cerwind on 7/30/2024 in #✋|help
Temporary CORS Errors when Deploying new Builds
Hi, I'm experiencing CORS HTTP errors for about 30-40 seconds between my frontend and backend application every time I deploy a Railway build and it resolves itself. My guess is servers are being switched over for a brief period of time the application isn't on the original domain (but shooting in the dark here) or it could be the Railway plan I'm on. It's a Django application and the error still persists even after CORS_ALLOW_ALL_ORIGINS = True. This isn't painful enough yet because I just ask my users to wait a couple of seconds but curious if anyone else has experienced this issue as I imagine as your user base grows this would become a bigger problem? Project ID: c61c1785-a8d8-43d0-9d8b-6bd1f69aa3bf
6 replies
RRailway
Created by cerwind on 5/23/2024 in #✋|help
Build timeout
No description
4 replies
RRailway
Created by cerwind on 5/2/2024 in #✋|help
Duplicate Services
How do you duplicate services? I have a setup of a single Background Worker, I want to be able to duplicate this service so when I deploy it, my worker requests will go to the duplicate (i.e. backup) server so no jobs get interrupted due to deployment.
18 replies
RRailway
Created by cerwind on 4/26/2024 in #✋|help
Django Migrations
I've got a setup of a Django Web Server and a Background Server (for handling queues). Both are looking at the same source code. When I deploy the Django Web Server it runs: python manage.py migrate && python manage.py collectstatic --noinput && gunicorn backend.wsgi --timeout 600 as the Custom Start Command and expectedly runs the migrations. However, my Background Server has the Custom Start Command: python manage.py qcluster only (to start the cluster), however for some reason it still runs the migrations on the database. Obviously if you have the same migration running on the database it's going to error because it already exists so this means quite often one of the builds will fail (because the both auto-deploy from main) due to a migration error. So my question is: "how do I switch off running Django migrations on the Background server or is there something in Railway automatically doing this?" Project ID: 98a9a750-1944-4447-b83c-8cd90f904626
7 replies
RRailway
Created by cerwind on 4/17/2024 in #✋|help
Manually Deploy from Branch?
There doesn't seem to be a clear way to manually deploy from a branch? I had a server that was auto deploying from main but I now want to manually deploy new changes instead but I can only redeploy the previous deployment...surely I'm missing something here...?
17 replies
RRailway
Created by cerwind on 12/13/2023 in #✋|help
Database Pricing
Hi 👋 It's not clear what the pricing structure on a PostgreSQL database is, e.g. how many rows before I need to go up a tier (I come from the distant land of Heroku where they forced you to upgrade at 10K rows)?
6 replies
RRailway
Created by cerwind on 11/27/2023 in #✋|help
Sharing Invite produces Infinite Loading
No description
8 replies
RRailway
Created by cerwind on 9/29/2023 in #✋|help
Template Generation
No description
8 replies