Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Error starting envoyProxy in Portainer with error "[critical][main] [source/server/server.cc:93] error initializing configuration '/etc/envoy/envoy.yaml': Invalid path: /etc/envoy/envoy.yaml" #2097

Open
DavidLegacy1983 opened this issue Apr 26, 2023 · 1 comment

Comments

@DavidLegacy1983
Copy link

DavidLegacy1983 commented Apr 26, 2023

I have an eShopOnContainers project that I have successfully deployed to a portainer.io (v2.9.0) instance by creating a stack with the git Repository integration.
All of the containers/images in the stack have started and are running successfully except for the envoyproxy/envoy:v1.11.1 Images and associated containers (mobileshoppingapigw & webshoppingapigw)

The error that I am receiving in the logs is
[critical][main] [source/server/server.cc:93] error initializing configuration '/etc/envoy/envoy.yaml': Invalid path: /etc/envoy/envoy.yaml

Since the docker won't start, I did complete a detached mode, blocking the full start, from the terminal using
docker run -d --entrypoint sleep envoyproxy/envoy:v1.11.1 3600

Which then allowed me to confirm that the file path exists and the file has the appropriate permissions

  docker exec -it {ID} ls -l /etc/envoy/envoy.yaml
  -rw-r--r-- 1 root root 1430 Aug 13  2019 /etc/envoy/envoy.yaml

I have yet to figure out why this wont start since it has the appropriate read permissions to the file itself.

@erjain
Copy link
Contributor

erjain commented May 9, 2023

Hi @DavidLegacy1983, thanks for posting here. We have not tried it on portainer, but can you try with an updated version of the envoy, maybe 1.22.0?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants