I
Immich2y ago
Jack

Can't connect, econnrefused?

I'm trying to offload the machine learning to my main pc, and I have it set up to where they can ping each other (the firewall was blocking all imcp requests before). They can clearly see each other with pings but when I try to get the machine learning job running, I get
2023-07-17 02:17:19 immich_microservices | [Nest] 1 - 07/17/2023, 7:17:19 AM ERROR [JobService] Unable to run job handler: Error: connect ECONNREFUSED 192.168.1.111:3003
2023-07-17 02:17:19 immich_microservices | [Nest] 1 - 07/17/2023, 7:17:19 AM ERROR [JobService] Error: connect ECONNREFUSED 192.168.1.111:3003
2023-07-17 02:17:19 immich_microservices | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16)
2023-07-17 02:17:19 immich_microservices | [Nest] 1 - 07/17/2023, 7:17:19 AM ERROR [JobService] Object:
2023-07-17 02:17:19 immich_microservices | {
2023-07-17 02:17:19 immich_microservices | "id": "03c1c0fe-b7d9-473f-ba3b-ae64e93c8bcb"
2023-07-17 02:17:19 immich_microservices | }
2023-07-17 02:17:19 immich_microservices |
2023-07-17 02:17:19 immich_microservices | [Nest] 1 - 07/17/2023, 7:17:19 AM ERROR [JobService] Unable to run job handler: Error: connect ECONNREFUSED 192.168.1.111:3003
2023-07-17 02:17:19 immich_microservices | [Nest] 1 - 07/17/2023, 7:17:19 AM ERROR [JobService] Error: connect ECONNREFUSED 192.168.1.111:3003
2023-07-17 02:17:19 immich_microservices | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16)
2023-07-17 02:17:19 immich_microservices | [Nest] 1 - 07/17/2023, 7:17:19 AM ERROR [JobService] Object:
2023-07-17 02:17:19 immich_microservices | {
2023-07-17 02:17:19 immich_microservices | "id": "03c1c0fe-b7d9-473f-ba3b-ae64e93c8bcb"
2023-07-17 02:17:19 immich_microservices | }
2023-07-17 02:17:19 immich_microservices |
in my main immich setup console. I've also opened port 3003 on the pc that's hosting the machine learning docker but it didn't seem to fix it. Any ideas on how to fix this? Thank ya!
4 Replies
bo0tzz
bo0tzz2y ago
What OS is your main pc?
Jack
JackOP2y ago
they’re both running win 11 with the latest win docker
bo0tzz
bo0tzz2y ago
Docker on Windows has some weirdness with port opening iirc, there might be something extra you need to do
Strider
Strider2y ago
Hi, i have the same setup, well, docker on win 11. You have to enable wsl 2, install linux distro like ubuntu 22 and enable support for that distro in linux. Now, try composing immich stack from your linux distro instead of docker desktop.

Did you find this page helpful?