Cannot connect to web interface 500connect ECONNREFUSED 172.18.0.8:3001

Hi All Been using Immich for about a week now and its all been working great. However today I can no longer access the webui, i get the error above. When i check the logs on my immich_server container im getting: Request to Node 0 failed due to "undefined Request failed with HTTP code 503 | Server said: Not Ready or Lagging" Request #1689688854030: Sleeping for 4s and then retrying request... Does anyone have any suggestions?
41 Replies
Alex Tran
Alex Tran2y ago
do you still have this error? Try bring down and bring up and all the containers
karmacop81
karmacop81OP2y ago
yeah i have restarted all containers, and even restarted my unraid system, still the same
Alex Tran
Alex Tran2y ago
this indicate typesense has issue, I saw a similar report today, I am not sure what is going on with the container yet since we pinned the version which installation method do you use?
karmacop81
karmacop81OP2y ago
ive been getting Nest] 1 - 07/18/2023, 2:29:17 PM ERROR [JobService] Unable to run job handler: Error: connect ECONNREFUSED 172.18.0.8:3003 [Nest] 1 - 07/18/2023, 2:29:17 PM ERROR [JobService] Error: connect ECONNREFUSED 172.18.0.8:3003 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) [Nest] 1 - 07/18/2023, 2:29:17 PM ERROR [JobService] Object: { "id": "7e3132bf-70f0-49e6-92f6-b5df1f4c4053", "source": "upload" } in micro container service log
Alex Tran
Alex Tran2y ago
which installation method do you use?
karmacop81
karmacop81OP2y ago
ive been using the repository in the unraid appstore imagegenius repository
Alex Tran
Alex Tran2y ago
Can you reach out to the maintainer of that image, to see if somethings has changed in their build? We don't maintain that image
karmacop81
karmacop81OP2y ago
yeah sure do you reckon its worth burning all the containers and bringing it up again with compose?
Alex Tran
Alex Tran2y ago
Depends on your use case, with the recommended method, you will get better support because we control the process
karmacop81
karmacop81OP2y ago
actually i cant remember if i used the official version or not now.. i need to check my history on ym computer at home....🤔 right sorry, i DID use the official version to install
karmacop81
karmacop81OP2y ago
Unraid | Immich
Immich can easily be installed and updated on Unraid via:
Alex Tran
Alex Tran2y ago
via docker-compose?
karmacop81
karmacop81OP2y ago
yeah i installed docker compose on unraid exactly as per that link
Alex Tran
Alex Tran2y ago
Great, you can now try this. Use this image for Typesense image: typesense/typesense:0.24.0
karmacop81
karmacop81OP2y ago
just delete the other one and install that manually via docker?
Alex Tran
Alex Tran2y ago
you change the image name in docker-compose file, the bring down the stack with docker-compose down and then docker-compose pull to pull new images and finally docker-compose up
karmacop81
karmacop81OP2y ago
right ok, sorry im fairly new to containerization
Alex Tran
Alex Tran2y ago
No problem man, we can help
karmacop81
karmacop81OP2y ago
this is a fantastic project by the way, people like you are heros 😄
Alex Tran
Alex Tran2y ago
Thank you 🙂
karmacop81
karmacop81OP2y ago
so thats effectivly knocking it back to the previous version?
Alex Tran
Alex Tran2y ago
There are reported issue with 0.24.1 version of Typesense on some systems so it is good to try the previous version of Typesense, it shouldn't intefere with how Immich works
karmacop81
karmacop81OP2y ago
yeah no i get that, i work in IT so I deal with crap like that all the time 🙄 takes a while to start on my machine.. hmm, still getting: Request to Node 0 failed due to "undefined Request failed with HTTP code 503 | Server said: Not Ready or Lagging" Request #1689692050032: Sleeping for 4s and then retrying request... Request #1689692050032: Request to Node 0 failed due to "undefined Request failed with HTTP code 503 | Server said: Not Ready or Lagging" in the immich_server log
Alex Tran
Alex Tran2y ago
let it sit there for a bit, typesense might be indexing how many assets do you have on the instance?
karmacop81
karmacop81OP2y ago
yeah...well...quite alot 67k
Alex Tran
Alex Tran2y ago
yeah it might take maybe a minute before the reindexing is done
karmacop81
karmacop81OP2y ago
bearing in mind my hardware is fairly old
Alex Tran
Alex Tran2y ago
that would add some more times one top
karmacop81
karmacop81OP2y ago
once its up and going its been running surprisingly quickly
Alex Tran
Alex Tran2y ago
No description
Alex Tran
Alex Tran2y ago
my instance with about 30k assets also get that message when it is indexing so you should be set once it is done
Alex Tran
Alex Tran2y ago
No description
karmacop81
karmacop81OP2y ago
i think the immich_server instance is restarting
Alex Tran
Alex Tran2y ago
Can you please capture the entire logs of immich_server please?
Alex Tran
Alex Tran2y ago
Can you wait for a few more minutes and check the log to see if the server eventually starts?
karmacop81
karmacop81OP2y ago
yeah im just finishing work now anyway so will drive home and see what happens is it usual that the typesense instance doesnt provide logs?
Alex Tran
Alex Tran2y ago
we disable logs of Typesense instance because we don't normally use those messages You can reanable it by remove the line
logging:
driver: none
logging:
driver: none
of typesense in docker-compose file
karmacop81
karmacop81OP2y ago
ok thats ok then wasnt sure if it might be useful.. Hey Alex, thanks so much for your help earlier, seems to be working again now!
Alex Tran
Alex Tran2y ago
No problem, so it might just be whenever you restart/update the stack, it might take a bit of time to get the indexing done
karmacop81
karmacop81OP2y ago
Yeah possibly, but I think rolling back typesense fixed the main issue. I was just impatient after that. 😁

Did you find this page helpful?