envoyproxy / envoyproxy/gateway

Disable listener hot reload updates on standalone macOS

Abierto
#5,477 5 comentarios 0 reacciones 0 asignados Ver en GitHub
stale triage
Lenguaje dominante
Go
Estrellas
3k
Forks
864
Merge medio
2 d 2 h
PR fusionados (30 d)
140

Descripción

*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

```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.