envoyproxy / envoyproxy/gateway

Disable listener hot reload updates on standalone macOS

Ouverte
#5,477 5 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
stale triage
Langage dominant
Go
Étoiles
3k
Forks
864
Merge moyen
2 j 2 h
PR mergées (30 j)
140

Description

*Description*:

On macOS, the OS cannot reuse the port hence the following error keeps appearing as error message. IMO, EG can simply stop listener updates on macOS.

The limitation is documented on `enable_reuse_port` field on the official doc: https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/listener/v3/listener.proto


```
[2025-03-11 19:23:21.324][20530622][warning][config] [source/extensions/config_subscription/grpc/grpc_subscription_impl.cc:138] gRPC config for type.googleapis.com/envoy.config.listener.v3.Listener rejected: Error adding/updating listener(s) envoy-gateway-proxy-ready-0.0.0.0-19003: cannot bind '0.0.0.0:19003': Address already in use
envoy-gateway-system/aigw-run/http: cannot bind '0.0.0.0:8888': Address already in use

2025-03-11T19:23:21.325-0700 ERROR xds-server cache/snapshotcache.go:344 Envoy rejected the last update with code 13 and message Error adding/updating listener(s) envoy-gateway-proxy-ready-0.0.0.0-19003: cannot bind '0.0.0.0:19003': Address already in use
envoy-gateway-system/aigw-run/http: cannot bind '0.0.0.0:8888': Address already in use

discovered admin address: 127.0.0.1:60271
2025-03-11T19:23:22.279-0700 ERROR xds-server cache/snapshotcache.go:344 Envoy rejected the last update with code 13 and message Error adding/updating listener(s) envoy-gateway-proxy-ready-0.0.0.0-19003: cannot bind '0.0.0.0:19003': Address already in use
envoy-gateway-system/aigw-run/http: cannot bind '0.0.0.0:8888': Address already in use

2025-03-11T19:23:27.112-0700 ERROR xds-server cache/snapshotcache.go:344 Envoy rejected the last update with code 13 and message Error adding/updating listener(s) envoy-gateway-proxy-ready-0.0.0.0-19003: cannot bind '0.0.0.0:19003': Address already in use
envoy-gateway-system/aigw-run/http: cannot bind '0.0.0.0:8888': Address already in use

```

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.