Press "Enter" to skip to content

How to configure newly created filter in envoy proxy [closed]

        I'm trying to create my own filter of envoy proxy and work on the base of this <a href="https://github.com/envoyproxy/envoy-filter-example" rel="nofollow noreferrer">repo</a>.
It builds okay in Mac OS, but not in Ubuntu. Anyway, I'm just trying to run the built envoy binary with the default config file. But it doesn't work. Following is what it shows as error.
Didn't find a registered implementation for 'echo2' with type URL: ''
I just followed their build guide and tried to run with the config file, I am not sure what I'm wrong now. This is default config file.
admin:
  access_log_path: /dev/null
  address:
    socket_address:
      address: 127.0.0.1
      port_value: 0
static_resources:
  clusters:
    name: cluster_0
    connect_timeout: 0.25s
    load_assignment:
      cluster_name: cluster_0
      endpoints:
        - lb_endpoints:
            - endpoint:
                address:
                  socket_address:
                    address: 127.0.0.1
                    port_value: 0
  listeners:
    name: listener_0
    address:
      socket_address:
        address: 127.0.0.1
        port_value: 0
    filter_chains:
    - filters:
      - name: echo2
        typed_config:
The above error seems due to empty typed_config filed in the config file, but they didn't write about it at all, and it also makes me confused. Could you please give me advice? Thanks.

Be First to Comment

Leave a Reply