niconico6710
What are recommended tools for backend API logging (we're running a Fastify server)
We're trying to debug some issues happening in production on Railway, and the Deploy logs from Railway are a bit hard to parse.
Does anyone have any recommendations on tools they've found helpful for debugging / logging? Is Datadog the go to here?
10 replies
Deploy is hitting Typescript Errors, but Yarn Run build and yarn run lint don't produce these errors
I'm trying to debug an issue where I can
yarn build
, and yarn lint
locally and all is fine, but when I deploy it hits a Typescript error in one of the NodeJS Packages. Error is the following:
globalThis.Headers is not a constructor
I'm not super familiar with Nixpacks but I did what was written in the docs to make sure I have a similar Node Version:
Specifying the engines.node field in package.json
I changed that to:
Anyone have any ideas what might be going on here? It's still erroring out when I deploy to Railway8 replies
How can I deploy a Github Service to only a single environment, rather than all of them?
I want to have a Github service deployed just to one of my Railway environments (e.g.
staging
), but when I go to +New add service, the service gets added to every environment I have. Is there a way to indicate I want a service to only exist in a given environment when creating?
Deleting the service similarly deletes it in all environments.12 replies
BullMQ (with Redis) on Railway keeps getting ECONNREFUSED errors when running locally
I used the BullMQ Template that is offered by Railway, which spun up a node codebase for BullMQ and a redis server. I created a local version of the environment as well.
When I had a lot of jobs queued (maybe 100s), if I start the bullmq service locally it processes a few and then starts to get the following error message over and over - I also can't load the BullMQ UI.
[[ IP ADDRESS REMOVED BELOW]]
Any idea what's going on here? I would guess that Railway is stopping my connections from the local service, or redis is actually going down for some reason?
44 replies