antogonza1
antogonza1
RRailway
Created by antogonza1 on 5/18/2024 in #✋|help
Problem with NATS server from Docker image
It worked @Brody , you're the best!
22 replies
RRailway
Created by antogonza1 on 5/18/2024 in #✋|help
Problem with NATS server from Docker image
Yes, I already read it. I’ll try asap. Thank you very much!
22 replies
RRailway
Created by antogonza1 on 5/18/2024 in #✋|help
Problem with NATS server from Docker image
But I have my NATS server running, I’m just trying to launch different services. Should I also add the initialization time?
22 replies
RRailway
Created by antogonza1 on 5/18/2024 in #✋|help
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
RRailway
Created by antogonza1 on 5/18/2024 in #✋|help
Problem with NATS server from Docker image
22 replies
RRailway
Created by antogonza1 on 5/18/2024 in #✋|help
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
RRailway
Created by antogonza1 on 5/18/2024 in #✋|help
Problem with NATS server from Docker image
So it would be http://nats.railway.internal:443 , right?
22 replies
RRailway
Created by antogonza1 on 5/18/2024 in #✋|help
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
RRailway
Created by antogonza1 on 5/18/2024 in #✋|help
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
RRailway
Created by antogonza1 on 5/17/2024 in #✋|help
Docker deployed but have no answer from postman
Do I need to specify with :latest in the image name or it is not necessary?
13 replies
RRailway
Created by antogonza1 on 5/17/2024 in #✋|help
Docker deployed but have no answer from postman
I tried, but it redeployed the previous tag. Maybe I did something wrong. I’ll try tomorrow again and will let you know. Thanks for everything, Brody!
13 replies
RRailway
Created by antogonza1 on 5/17/2024 in #✋|help
Docker deployed but have no answer from postman
I do it, but doing it manually is annoying while I’m on a develop environment where I have different pushes. Btw if there is no other option I’ll do it manually. Thank you!
13 replies
RRailway
Created by antogonza1 on 5/17/2024 in #✋|help
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
RRailway
Created by antogonza1 on 3/1/2023 in #✋|help
Every request is received as GET request
That worked! Thank you!
10 replies
RRailway
Created by antogonza1 on 3/1/2023 in #✋|help
Every request is received as GET request
b46047f6-ceef-4216-a429-8a7e88e1a3ba
10 replies