antogonza1
Problem with NATS server from Docker image
At the beginning. It does not even start. Here is the complete log: [Nest] 7 - 05/18/2024, 4:08:39 PM LOG [NestFactory] Starting Nest application...
[Nest] 7 - 05/18/2024, 4:08:39 PM LOG [InstanceLoader] AppModule dependencies initialized +18ms
[Nest] 7 - 05/18/2024, 4:08:39 PM LOG [InstanceLoader] NatsModule dependencies initialized +0ms
[Nest] 7 - 05/18/2024, 4:08:39 PM LOG [InstanceLoader] ClientsModule dependencies initialized +1ms
[Nest] 7 - 05/18/2024, 4:08:39 PM LOG [InstanceLoader] OrdersModule dependencies initialized +1ms
[Nest] 7 - 05/18/2024, 4:08:39 PM DEBUG [OrdersService] Connected Database
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^
Error: getaddrinfo ENOTFOUND nats.railway.internal
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'nats.railway.internal'
}
Node.js v21.7.3 It should show a debug log with “Microservice started on port “ when it’s finally started
22 replies
Problem with NATS server from Docker image
Yes it is. I used http://nats.railway.internal:4222
22 replies
Problem with NATS server from Docker image
It doesn’t work… now I have this error:
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^
Error: getaddrinfo ENOTFOUND nats.railway.internal
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'nats.railway.internal'
}
Node.js v21.7.3
22 replies
Problem with NATS server from Docker image
The private domain is nats.railway.internal. How should it be? https://nats.railway.internal:443 ? But how can I specify the port for client connections, monitor…?
22 replies
Problem with NATS server from Docker image
Don’t have them right now, but are something like:
nats://publicUrl:4222
nats://privateUrl:4222
nats://publicUrl https://publicUrl:4222
22 replies
Docker deployed but have no answer from postman
That works. Thank you very much! Another question, do you know if it’s possible to automate docker deploys? I mean, when you push to a gh repo it automatically deploys to railway. Is there any way to do the same when I create a new tag of my docker image?
13 replies