envoyproxy / envoyproxy/gateway

Disable listener hot reload updates on standalone macOS

Open
#5,477 5 comments 0 reactions 0 assignees View on GitHub
stale triage
Dominant language
Go
Stars
3k
Forks
864
Avg merge
2d 2h
Merged PRs (30d)
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

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.