envoyproxy / envoyproxy/gateway

Disable listener hot reload updates on standalone macOS

未关闭
#5,477 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
stale triage
主要语言
Go
星标
3k
派生
864
平均合并
2 天 2 小时
30 天内合并 PR
140

描述

*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

```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。