# Cannot create service error="getting backend addresses: service port not found"

**URL:** <https://community.traefik.io/t/cannot-create-service-error-getting-backend-addresses-service-port-not-found/29699>\
**Category:** Traefik v3 (latest)\
**Tags:** kubernetes-ingress\
**Created:** [February 24, 2026, 6:16pm UTC](https://community.traefik.io/t/cannot-create-service-error-getting-backend-addresses-service-port-not-found/29699 "2026-02-24T18:16:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nnn](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/nnn/32/11110_2.png) [@nnn](https://community.traefik.io/u/nnn)\
**Post date:** [February 24, 2026, 6:16pm UTC](https://community.traefik.io/t/cannot-create-service-error-getting-backend-addresses-service-port-not-found/29699/1 "2026-02-24T18:16:30Z")

</div>

Hi all,

I was really pleased to see that traefik aims to provide such a smooth migration for users of ingress-nginx. It mostly just works by following [the official guide](https://doc.traefik.io/traefik/reference/routing-configuration/kubernetes/ingress-nginx/), which is already pretty cool.

I have some service that does not seem to get properly proxied though. The services are configured more or less like this:

```yaml
---
kind: Service
apiVersion: v1
metadata:
  name: google-storage-buckets
spec:
  type: ExternalName
  externalName: storage.googleapis.com
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: external-proxy
  labels:
    app.kubernetes.io/component: http-server
  annotations:
    nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
    nginx.ingress.kubernetes.io/upstream-vhost: "storage.googleapis.com"
    nginx.ingress.kubernetes.io/rewrite-target: /internal-prefix/$1
    nginx.ingress.kubernetes.io/use-regex: "true"
spec:
  ingressClassName: nginx
  rules:
  - host: somewhere.example.com
    http:
      paths:
      - path: /(.+)
        pathType: ImplementationSpecific
        backend:
          service:
            name: google-storage-buckets
            port:
              number: 443
---

```

This is essentially the configuration remmondended in [this GitHub issue](https://github.com/kubernetes/ingress-nginx/issues/1809#issuecomment-2303580854).  
I repeatedly see the following line in `kubectl -n traefik logs deployment/traefik | grep ingress`:

```auto
2026-02-24T15:27:58Z ERR Cannot create service error="getting backend addresses: service port not found" ingress=content-api-gcs-private namespace=some-namespace providerName=kubernetesingressnginx serviceName=external-proxy servicePort=&ServiceBackendPort{Name:,Number:443,}

```

I tried to find anything about that error in the traefik source code, but couldn't. I checked and [all the annotations seem to be supported](https://doc.traefik.io/traefik/reference/routing-configuration/kubernetes/ingress-nginx/#annotations-support).

Any idea what might be going on there?

Thanks!

---

<div class="post-metadata">

**Author:** ![nnn](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/nnn/32/11110_2.png) [@nnn](https://community.traefik.io/u/nnn)\
**Post date:** [February 26, 2026, 8:29am UTC](https://community.traefik.io/t/cannot-create-service-error-getting-backend-addresses-service-port-not-found/29699/2 "2026-02-26T08:29:17Z")

</div>

I found this fixture in the repository which at first glance looked quite similar to the snippet above:

> <https://github.com/traefik/traefik/blob/master/pkg/provider/kubernetes/ingress/fixtures/Published-Service-ExternalName.yml>

However you can see that the `ExternalName` service isn't actually referenced by any ingress. Is this intentional?

---

<div class="post-metadata">

**Author:** ![bluepuma77](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bluepuma77](https://community.traefik.io/u/bluepuma77)\
**Post date:** [February 26, 2026, 12:46pm UTC](https://community.traefik.io/t/cannot-create-service-error-getting-backend-addresses-service-port-not-found/29699/3 "2026-02-26T12:46:11Z")

</div>

This is a Traefik user-to-user community forum.

If you think this is a bug, you can submit it to the devs at [Traefik Github](https://github.com/traefik/traefik).
