arhammusheer
HOBBY
a year ago
Is this an internal DNS problem? Private url isn't resolving but works with DATABASE_URL
npm WARN config production Use `--omit=dev` instead.
> tasmota-mqtt-subscriber@1.0.0 start
> node dist/index.js
Failed to connect to PostgreSQL Error: getaddrinfo ENOTFOUND postgres.railway.internal
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'postgres.railway.internal'
}
npm WARN config production Use `--omit=dev` instead.
> tasmota-mqtt-subscriber@1.0.0 start
> node dist/index.js
0 Replies
a year ago
are you on the v2 runtime?
a year ago
Legacy runtime is no fun, V2 is where it's at
I'm not sure why it carried over when I changed V2 to legacy on a different project. This expected?
a year ago
it's a per service change, nothing would be carried anywhere
Interesting.
The config defaulted to legacy I believe
I started a project yesterday and switched the deploy to legacy.
Later I deleted the project
Today I started a new project which is this but it started as legacy.
a year ago
no problem