immich_machine_learning failing due to TLS error
Hey folks,
I'm trying to move my immich_machine_learning to a hosted instance in oracle cloud.
When main.py starts running it throws the following error:
requests.exceptions.SSLError:
Connecting to the docker via /bin/bash and trying to run apt update (just as an example to test https - returns the following):
The cert store on the image does seem to be populated.
I thought this might be a problem with the image, so I grabbed the nginx image and tried running apt update on it - that one completed without any issues.
My docker compose:
Any help would be appreciated π
12 Replies
If anyone has any input on this one it would be great... looking for someone that set up the ML container on a remote host ideally..
This one seems pretty related: https://github.com/huggingface/transformers/issues/17611
But I'm not super sure - I tried editing the container and adding the CURL_CA_BUNDLE env variable - but it didn't seem to have a positive effect
GitHub
SSLError: HTTPSConnectionPool(host='huggingface.co', port=443) Β· Is...
I'm trying in python: from sentence_transformers import SentenceTransformer sbert_model = SentenceTransformer('all-MiniLM-L6-v2') and I get this error: SSLError: HTTPSConnectionPool(hos...
does running
apt-get install ca-certificates
in the container work?Stack Overflow
SSL certificate verification fails inside docker container on speci...
I'm running into a strange problem with certificates that I can't figure out how to debug. When I run wget inside of a docker container on one specific server it cannot verify certificates. The sam...
I checked - it was already installed
thereβs also
update-ca-certificates
you can try. besides that itβs hard to say. is it just https, or does http not work either?(removed previous message which had incorrect info).
This is really interesting/weird. Seems to be failing on any https with this container - same error even with google.com:
What I don't understand is how come I'm the only one that's seeing this π
I'm wondering if anyone would be willing to try the following:
1.
docker exec -it immich_machine_learning bash
2. openssl s_client -connect google.com:443
For me this throws an ssl error as well
I'm wondering if the reason people aren't seeing this is because the models are already cached for themi'm wondering if it has something to do with it being hosted in oracle cloud. can you confirm that it works when running locally?
Yup, I just confirmed that it happens with the nginx container too. Itβs definitely my vm. Ill update if I am able to fix it π
Thanks for the help so far!
np! hope you can get it working
It looked like a networking issue... so I just changed the network_mode to host. Looks like it's working now π
The instance is completely non-responsive - looks like it's doing ML π
awesome, glad to hear it