Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

duplicate listener 0.0.0.0_8081 found #171

Open
amybachir opened this issue Jul 12, 2021 · 2 comments
Open

duplicate listener 0.0.0.0_8081 found #171

amybachir opened this issue Jul 12, 2021 · 2 comments

Comments

@amybachir
Copy link

I pulled in changes to my fork repo yesterday and I no longer have ingress working (I'm up-to-date with master now). I get the following error in istio-ingressgateway:

warn	ads	ADS:LDS: ACK ERROR router~10.40.54.203~istio-ingressgateway-6968d58d88-rp9xc.istio-system~istio-system.svc.cluster.local-1 Internal:Error adding/updating listener(s) 0.0.0.0_8081: duplicate listener 0.0.0.0_8081 found

And I no longer see a listener on 8080:

istioctl proxy-config listener istio-ingressgateway-6968d58d88-rp9xc -n istio-system
ADDRESS PORT  MATCH DESTINATION
0.0.0.0 8081  ALL   Route: http.8081
0.0.0.0 8443  ALL   Route: http.443
0.0.0.0 15021 ALL   Inline Route: /healthz/ready*
0.0.0.0 15090 ALL   Inline Route: /stats/prometheus*

I suspect this is related to knative/serving#10160
However, the github issue suggests that it was fixed in istio 1.9.something

@amybachir
Copy link
Author

I confirm that removing knative-local-gateway gateway and service restores ingress:

istioctl proxy-config listener istio-ingressgateway-6968d58d88-gnfcv -n istio-system
ADDRESS PORT  MATCH DESTINATION
0.0.0.0 8080  ALL   Route: http.80
0.0.0.0 8443  ALL   Route: http.443
0.0.0.0 15021 ALL   Inline Route: /healthz/ready*
0.0.0.0 15090 ALL   Inline Route: /stats/prometheus*

@amybachir
Copy link
Author

I was mistaken, the fix for this issue has not made it to master yet. Some poeple suggested to work around this by installing istio, wait for istio resources to be up and running before installing knative. It was mentioned in the issue description that it is not deterministic and it appears to be a timing issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant