Closed zd9KgA closed 2 years ago
@zd9KgA with the latest version, I'm not sure the envoy binary installed by func-e has the postgres extension, since the postgres extension is only available in "contrib" images: https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/network/postgres_proxy/v3alpha/postgres_proxy.proto.
As you can see from the log above:
[2022-05-07 21:16:23.925][2470383][info][main] [source/server/server.cc:383] statically linked extensions:
...
There are no postgres there.
I suggest opening a feature request to func-e, to distribute the contrib binary as well.
@dio Thanks for pointing that out to me. My understanding of the Envoy ecosystem is just gradually developing.
When I start the example as described, the proxy container terminates with exit code 132
, and I tried to fathom the reason using func-e
. Apparently not the best choice. I don't get logs from the container either.
Any suggestion on how I might unravel this?
I tried to trace the problem within the container (docker-compose run proxy
) with the following outcome:
envoy@cfc327c492a8:/$ /usr/local/bin/envoy -c /etc/envoy.yaml
Illegal instruction (core dumped)
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted" or "no stalebot". Thank you for your contributions.
i also meet the same problem in docker, the docker image is envoyproxy/envoy-alpine:v1.21-latest
Unable to parse JSON as proto (INVALID_ARGUMENT: could not find @type 'type.googleapis.com/envoy.extensions.filters.network.postgres_proxy.v3alpha.PostgresProxy'
this issue with me Please help me to resolve this i tried lots but not able to resolve
Title: PostgresProxy filter cannot be configured
Description: Envoy refuses configuration using
envoy.yaml
from https://www.envoyproxy.io/docs/envoy/latest/start/sandboxes/postgres.html. The expected behavior is that the example works as described in the documentation.Repro steps: Follow steps as described in https://www.envoyproxy.io/docs/envoy/latest/start/sandboxes/postgres.html. Step 1 will fail. Check cause using
func-e run -c envoy.yaml
.Admin and Stats Output: None available as Envoy refuses to start.
Config: https://github.com/envoyproxy/envoy/blob/release/v1.21/examples/postgres/envoy.yaml
Logs: