envoy-filter-example
envoy-filter-example copied to clipboard
Example of consuming Envoy and adding a custom filter
I clone and compile this project well. But I do not know how to use it in envoy? can you help me?
OSX 10.15.4 bazel: stable 3.0.0 (bottled) ``` -- The C compiler identification is AppleClang 11.0.3.11030032 -- The CXX compiler identification is AppleClang 11.0.3.11030032 ``` ``` $ bazel test //:echo2_integration_test DEBUG:...
[2020-05-27 10:41:10.052][457426][debug][config] [external/envoy/source/extensions/filters/network/http_connection_manager/config.cc:446] http filter #0 [2020-05-27 10:41:10.052][457426][debug][config] [external/envoy/source/extensions/filters/network/http_connection_manager/config.cc:447] name: sample [2020-05-27 10:41:10.052][457426][debug][config] [external/envoy/source/extensions/filters/network/http_connection_manager/config.cc:454] config: {} [2020-05-27 10:41:10.052][457426][debug][misc] [external/envoy/source/common/protobuf/utility.cc:255] Proto validation error; throwing Proto constraint validation failed (DecoderValidationError.Key: ["value length...
Is there a way to get upstream host from http filter or network filter? callbacks_->streamInfo().upstreamHost() is alway nullptr. Basically, the custom filter needs to get lb-selected upstream host. Is it...
I have tried the build according to the steps mentioned in the README. The build fails with the error below /envoy-filter-example$ bazel build //:envoy Starting local Bazel server and connecting...
FYI: after envoyproxy/envoy/pull/9535 it's possible to re-use envoy's CI targets. Perhaps move to use those?
Hello!, I wrote a custom http filter for envoy (following the sample available here). I am able to build the project and generate an envoy static binary using `bazel build...
I have tried to build http-filter-example following [README.](https://github.com/envoyproxy/envoy-filter-example/blob/master/http-filter-example/README.md) The build fails with the error below ``` ERROR: /source/http-filter-example/BUILD:37:1: C++ compilation of rule '//http-filter-example:http_filter_config' failed (Exit 1) gcc failed: error executing...
I am trying to log Buffer::Instance& data, using decodeData method in http_filter.cc. It appears that only decodeHeaders in http_filter.cc file is called. decodeData and decodeTrailers are never called. Any explanation?
Following up from https://github.com/envoyproxy/envoy-filter-example/pull/62. A few systematic issues we should think about fixing in this repo: 1. I'm not seeing the .circleci/config.yaml build/test phases running as part of the GH...