Internal error occurred: failed calling webhook "x": ... connection refused / context deadline exceeded
The API server couldn’t reach an admission webhook’s service, so it rejected the request (failurePolicy: Fail).
failed calling webhookInternal error occurred: failed calling webhookno endpoints available for servicex509: certificate signed by unknown authority Meaning
Webhooks run as pods (cert-manager, ingress-nginx, Istio, Kyverno). If those pods are down, uninstalled without removing the webhook configuration, blocked by a firewall from the control plane (common on private GKE/EKS), or have an expired CA bundle, every matching create/update fails.
Common causes
- Webhook pods not running
- Operator uninstalled but its webhook configuration left behind
- Control plane can’t reach the webhook port (firewall/NetworkPolicy)
- Expired or mismatched caBundle (x509 errors)
⚡ Quick fix
- Check the webhook service’s pods
- Delete orphaned Validating/MutatingWebhookConfiguration objects
- Open the control-plane → node firewall port (e.g. 8443/9443)
Detailed fix by platform
Kubernetes
- bash
kubectl get validatingwebhookconfigurations,mutatingwebhookconfigurations kubectl get endpoints -n cert-manager cert-manager-webhook kubectl delete validatingwebhookconfiguration old-operator-webhook # only if the operator is gone
How to diagnose
- Webhook — Name and service in the error
- Pods — Running and ready?
- Network — Reachable from control plane?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
Most viewed in Kubernetes
- cannot re-use a name that is still in use Error: INSTALLATION FAILED: cannot re-use a name that is still in use
- error converting YAML to JSON error converting YAML to JSON: yaml: line 12: did not find expected key
- FailedCreatePodSandBox Failed to create pod sandbox: plugin type="calico" failed (add): ... (FailedCreatePodSandBox)
Other ways to find it
Where this error sits
Origin: Platform & cloud. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 13 Oct 2026