cephalization
cephalization
RRailway
Created by cephalization on 9/25/2024 in #✋|help
Unable to build service image due to 401 registry error
I just pushed a seemingly simple change to my project, just some npm deps deleted and js code changed, yet the railway deploy fails. Here is the error
ERROR: failed to solve: node:20-alpine: failed to resolve source metadata for docker.io/library/node:20-alpine: unexpected status from HEAD request to https://registry-1.docker.io/v2/library/node/manifests/20-alpine: 401 Unauthorized
level:
"info"
ERROR: failed to solve: node:20-alpine: failed to resolve source metadata for docker.io/library/node:20-alpine: unexpected status from HEAD request to https://registry-1.docker.io/v2/library/node/manifests/20-alpine: 401 Unauthorized
level:
"info"
Project ID: 24dbcb92-6d70-4c9a-889a-52cabdb29258 Service ID: 0d3df6bd-4b29-4a38-aa79-efd1d592b8fa
8 replies
RRailway
Created by cephalization on 4/27/2023 in #✋|help
Very expensive service: how to determine service costs?
I've been spinning a few projects on railway for a while now with no issue. Last night I suddenly ran out of credits and all of my apps were shutoff. This came as a surprise so I started digging in and one of my services is WAY more expensive than the rest despite not having many users or using many system resources. Can I get some help digging into pricing? I run a way more computationally expensive service on railway but it only costs peanuts compared to a web based remix app using "70,000 minutely GB" whatever that means. Project ID for expensive project: 084fa23b-7244-4f76-b461-48d1222c2e5e
18 replies
RRailway
Created by cephalization on 4/13/2023 in #✋|help
Cannot connect to supabase db from railway
I just ported my project from a planetscale db to a supabase postgresdb. Everything works fine locally and within Dockerfile using the new connection string. Added connection string to railway and suddenly my service no longer works and crash loops due to prisma disconnecting. I've only seen the prisma log once however. I triple checked that I am using the right DATABASE_URL in my railway service definition. Project ID ef7fcff6-4369-4ace-9d06-f74fd0f47a4e
109 replies
RRailway
Created by cephalization on 4/7/2023 in #✋|help
Per-service Config as Code
Is it possible to ship a railway.json for each service in my monorepo, or, a way to segment my railway.json such that I can define settings for different services? A more concrete use-case may be that I have 3 apps within a turborepo. I want to define the custom dockerfile path for each application and have railway standup a service for each dockerfile. I suspect this isn't possible based on the config schema but wondering if there are any workarounds in the meantime? Project ID: ef7fcff6-4369-4ace-9d06-f74fd0f47a4e
10 replies