failed calling webhook Kubernetes Origin: Platform & cloud OSI layer 7 · Application Last updated 13 Oct 2026

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).

Exact message you may see failed calling webhookInternal error occurred: failed calling webhookno endpoints available for servicex509: certificate signed by unknown authority
Seen on: Kubernetes

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

  1. Check the webhook service’s pods
  2. Delete orphaned Validating/MutatingWebhookConfiguration objects
  3. Open the control-plane → node firewall port (e.g. 8443/9443)

Detailed fix by platform

Kubernetes

  1. 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

  1. Webhook — Name and service in the error
  2. Pods — Running and ready?
  3. 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:

Where this error sits

Origin: Platform & cloud. Errors that are often confused with or caused by this one (click to open):

admission webhook — GKE private cluster: failed calling admission webhook — context deadline exceeded (control plane can't reach webhook port) (Google Cloud / Firebase)admission webhookadmission webhook denied the request — Error from server: admission webhook "validate.nginx.ingress.kubernetes.io" denied the request (Kubernetes)admission webhook den…Autopilot — GKE Autopilot rejected the workload: resources adjusted / violates Autopilot constraints (Google Cloud / Firebase)AutopilotCrashLoopBackOff — Kubernetes: CrashLoopBackOff (Kubernetes)CrashLoopBackOffis waiting to start — Error from server (BadRequest): container "x" in pod "y" is waiting to start: ContainerCreating (Kubernetes)is waiting to startissuer — cert-manager: Issuer or ClusterIssuer not ready — ACME account registration failed / referenced issuer not found (SSL / TLS)issuernamespace Terminating — Namespace stuck in Terminating (Kubernetes)namespace Terminatingviolates PodSecurity — Error creating: pods is forbidden: violates PodSecurity "restricted:latest": allowPrivilegeEscalation != false ... (Kubernetes)violates PodSecurityfailed ca…

Explore the map of this error Full error map →

🧠 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.