PyTorch model evaluation fails due to SSL certificate expiration

a purple and black background with a purple and black logo

Problem – Model Evaluation Fails with SSL Certificate Expiration During a distributed evaluation run, PyTorch attempts to download model checkpoints, dataset shards, or auxiliary assets from remote HTTPS endpoints (e.g., torch.hub, torch.utils.model_zoo, torchvision.datasets, or torch.distributed RPC). When the TLS certificate presented by the server has expired, the download aborts and the entire evaluation job terminates. … Read more

Hugging Face Transformers SSL/TLS handshake failure in Kubernetes

Transformer robot

Hugging Face Transformers SSL/TLS Handshake Failure in a Canary Deployment on Kubernetes Problem Description During a staged rollout of a model‑inference service that uses Hugging Face Transformers, a subset of pods (the canary) repeatedly fail to load pretrained models from https://huggingface.co. The failure manifests as: Log entry from the Transformers library: urllib3.exceptions.SSLError: HTTPSConnectionPool(host=’huggingface.co’, port=443): Max … Read more

Haystack SSL/TLS handshake failure with self-signed certificates

a close up of hay bales stacked on top of each other

Problem – Haystack TLS Handshake Fails in a Local Development Sandbox When running a multi‑service Haystack stack with Docker Compose, the inter‑node RPC layer aborts with TLS errors such as: SSLHandshakeException: certificate verify failed (self signed certificate in certificate chain) javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated OpenSSL error: verify error:num=20:unable to get local issuer certificate HaystackNodeError: TLS … Read more