envoy-xds-example-from-file's People
envoy-xds-example-from-file's Issues
Recovered GetListeners from interface conversion: interface {} is nil, not bool: goroutine 27 [running]:
Hi,
We are trying to publish below LDS.yaml to envoy, However we are getting below error and the pilot is crashing. COuld you please help to fix this
- name: listener_0
address:
socket_address: { address: 0.0.0.0, port_value: 80 }
filter_chains:- filters:
- name: envoy.http_connection_manager
config:
upgrade_configs:- upgrade_type: websocket
stat_prefix: ingress_http
codec_type: auto
route_config:
name: local_route
virtual_hosts:- name: app_public_service
domains: ["*"]
routes:- match: { prefix: "/" }
route: { cluster: app_public_service } - match: { prefix: "/rtm" }
route: { cluster: app_public_service }
- match: { prefix: "/" }
- name: keys_service
domains: ["keys.local"]
routes:- match: { prefix: "/" }
route: { cluster: keys_service }
- match: { prefix: "/" }
- name: faq_service
domains: ["faq.local"]
routes:- match: { prefix: "/" }
route: { cluster: faq_service }
- match: { prefix: "/" }
- name: ml_service
domains: ["ml.local"]
routes:- match: { prefix: "/" }
route: { cluster: ml_service }
- match: { prefix: "/" }
- name: sandbox_service
domains: ["sandbox.local:80"]
routes:- match: { prefix: "/" }
route: { cluster: sandbox_service }
- match: { prefix: "/" }
- name: es_service
domains: ["es.local"]
routes:- match: { prefix: "/" }
route: { cluster: es_service }
- match: { prefix: "/" }
- name: rmq_admin_service
domains: ["rmq.local:80"]
routes:- match: { prefix: "/" }
route: { cluster: rmq_admin_service }
http_filters:
- match: { prefix: "/" }
- name: app_public_service
- name: envoy.gzip
config:
compression_level: BEST - name: envoy.router
config: {} - name: envoy.buffer
config:
max_request_bytes: 100000
max_request_time: 36s
- upgrade_type: websocket
- name: envoy.http_connection_manager
- filters:
- name: listener_1
address:
socket_address: { address: 0.0.0.0, port_value: 1024 }
filter_chains:- filters:
- name: envoy.tcp_proxy
config:
stat_prefix: nlp
cluster: nlp_service
- name: envoy.tcp_proxy
- filters:
- name: listener_2
address:
socket_address: { address: 0.0.0.0, port_value: 5672 }
filter_chains:- filters:
- name: envoy.tcp_proxy
config:
stat_prefix: rmq
cluster: rmq_service
- name: envoy.tcp_proxy
- filters:
Error:
2019/03/29 11:44:45 /go/src/Envoy-Pilot/cmd/server/service/dispatchService.go:107: Received ACK 0c258afe-957f-4bc7-a534-949fb955fc03 from adstest-cluster/CDS/bif0ab8faihp9uj6n1vg
2019/03/29 11:44:45 /go/src/Envoy-Pilot/cmd/server/mapper/listenerMapper.go:420: *********************************
2019/03/29 11:44:45 /go/src/Envoy-Pilot/cmd/server/mapper/listenerMapper.go:421: Recovered GetListeners from interface conversion: interface {} is nil, not bool: goroutine 27 [running]:
runtime/debug.Stack(0xc4202e7150, 0x1, 0x1)
/usr/local/go/src/runtime/debug/stack.go:24 +0xa7
Envoy-Pilot/cmd/server/mapper.(*ListenerMapper).GetListeners.func1(0xc4202e7c10)
/go/src/Envoy-Pilot/cmd/server/mapper/listenerMapper.go:421 +0xb1
panic(0xb82b40, 0xc4201c5600)
/usr/local/go/src/runtime/panic.go:502 +0x229
Envoy-Pilot/cmd/server/mapper.getBoolean(...)
/go/src/Envoy-Pilot/cmd/server/mapper/common.go:51
Envoy-Pilot/cmd/server/mapper.buildHttpFilter(0xb2aea0, 0xc420317ca0, 0xc70322, 0xc, 0xc42032bb98)
/go/src/Envoy-Pilot/cmd/server/mapper/listenerMapper.go:251 +0x586
Envoy-Pilot/cmd/server/mapper.buildHttpConnectionManager(0xc420329d70, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/go/src/Envoy-Pilot/cmd/server/mapper/listenerMapper.go:289 +0x1ef
Envoy-Pilot/cmd/server/mapper.buildFilterChains(0xc42032ea50, 0x1, 0x1, 0xd, 0xc42032ba78, 0xc420338000, 0x200, 0x1f8)
/go/src/Envoy-Pilot/cmd/server/mapper/listenerMapper.go:380 +0x1c5
Envoy-Pilot/cmd/server/mapper.(*ListenerMapper).GetListener(0x1142a28, 0xb75620, 0xc420329c80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/go/src/Envoy-Pilot/cmd/server/mapper/listenerMapper.go:412 +0x1e5
Envoy-Pilot/cmd/server/mapper.(*ListenerMapper).GetListeners(0x1142a28, 0xc420310000, 0x942, 0x0, 0x0, 0x0, 0x0, 0x0)
/go/src/Envoy-Pilot/cmd/server/mapper/listenerMapper.go:435 +0x192
Envoy-Pilot/cmd/server/mapper.(*ListenerMapper).GetResources(0x1142a28, 0xc420310000, 0x942, 0x942, 0xc4201c0660, 0x14, 0x401c0d, 0xc7254f)
/go/src/Envoy-Pilot/cmd/server/mapper/listenerMapper.go:447 +0x5d
Envoy-Pilot/cmd/server/service.(*DispatchService).buildDiscoveryResponseFor(0xc4201aeca0, 0xc420260090, 0xc694f6, 0x3, 0xc42025ebf0)
/go/src/Envoy-Pilot/cmd/server/service/dispatchService.go:48 +0xcf
Envoy-Pilot/cmd/server/service.(*DispatchService).dispatchData(0xc4201aeca0, 0xd00a40, 0xc4201c7140, 0x7f49250091e0, 0xc4202a14e0, 0xc4201c8720)
/go/src/Envoy-Pilot/cmd/server/service/dispatchService.go:81 +0x183
created by Envoy-Pilot/cmd/server/service.(*RegisterService).RegisterEnvoy
/go/src/Envoy-Pilot/cmd/server/service/registerService.go:47 +0x111
2019/03/29 11:44:45 /go/src/Envoy-Pilot/cmd/server/mapper/listenerMapper.go:422: *********************************
2019/03/29 11:44:45 /go/src/Envoy-Pilot/cmd/server/mapper/listenerMapper.go:449: Error parsing listener config
2019/03/29 11:44:45 /go/src/Envoy-Pilot/cmd/server/service/dispatchService.go:51: Unable to build discovery response for adstest-cluster/LDS/bif0ab8faihp9uj6n20g
2019/03/29 11:44:45 /go/src/Envoy-Pilot/cmd/server/service/dispatchService.go:52: interface conversion: interface {} is nil, not bool
2019/03/29 11:44:45 /go/src/Envoy-Pilot/cmd/server/service/dispatchService.go:83: Unable to dispatch for adstest-cluster/LDS/bif0ab8faihp9uj6n20g
panic: Unable to dispatch for adstest-cluster/LDS/bif0ab8faihp9uj6n20g
goroutine 27 [running]:
log.Panicf(0xc7ac46, 0x1a, 0xc4202e7f30, 0x1, 0x1)
/usr/local/go/src/log/log.go:333 +0xda
Envoy-Pilot/cmd/server/service.(*DispatchService).dispatchData(0xc4201aeca0, 0xd00a40, 0xc4201c7140, 0x7f49250091e0, 0xc4202a14e0, 0xc4201c8720)
/go/src/Envoy-Pilot/cmd/server/service/dispatchService.go:83 +0x238
created by Envoy-Pilot/cmd/server/service.(*RegisterService).RegisterEnvoy
/go/src/Envoy-Pilot/cmd/server/service/registerService.go:47 +0x111
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.