Closed zackzhangkai closed 2 years ago
This is due to https://www.envoyproxy.io/docs/envoy/latest/version_history/v1.22.0#minor-behavior-changes
config: type URL is used to lookup extensions regardless of the name field. This may cause problems for empty filter configurations or mis-matched protobuf as the typed configurations. This behavioral change can be temporarily reverted by setting runtime guard envoy.reloadable_features.no_extension_lookup_by_name to false.
You should write router filter as below:
http_filters:
- name: envoy.filters.http.router
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
or set envoy.reloadable_features.no_extension_lookup_by_name
as false
Thanks for your replying. It works.
@soulxu, @zackzhangkai had same issue with version 1.23.1. with
http_filters:
- name: envoy.filters.http.router
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
it's not working. how we suppose to set envoy.reloadable_features.no_extension_lookup_by_name as false. I'm running as docker container
im wondering where the confusion is coming from here - checking the docs and it seems they are correct
@iheng you would be better to just get the typed_config
working - the example config in examples/fault-injection/envoy.yaml
should work i believe
@soulxu, @zackzhangkai had same issue with version 1.23.1. with
http_filters: - name: envoy.filters.http.router typed_config: "@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
it's not working. how we suppose to set envoy.reloadable_features.no_extension_lookup_by_name as false. I'm running as docker container
I'm also using 1.23.1 and needed all 3 of the type_configs in this comment.
Also consider running your envoy.yaml
through this.
are there any current Envoy docs that suggest running without the typed_config
?
perhaps the source of confusion is from 3rd party sites showing old config - if not i would like to update our docs
Refer this DOC :
https://www.envoyproxy.io/docs/envoy/latest/start/sandboxes/fault_injection.html
envoy pod crash, errors :
Complete logs: