Hi,
I have tried the configuration you kindly provided, and maybe I do use it badly or maybe I was not clear about my issue correctly :-)
1. used your config (in envoy version 1.17.1) - configured the listener to
127.0.0.1:100003. obtained response 503 - service unavailable (upstream connect error or disconnect/reset before headers. reset reason: local reset)..
Please let me validate the solution i seek:
Summary:
Reach the
google.com service via envoy exposed url, envoy accepts classic http request to specific path, and sends it to
google.com via b2b corporate proxy.
Highlights:
- I would be running only one Envoy instance as "api gateway" (high level description..) in openshift (one pod..)
- Envoy pod is containing environment variables;
FLOW: curl -k
https://www.google.com/translate... -> it gets recognized to be routed via b2b proxy thanks to environment proxy variables -> b2b proxy -> google service
- I would then "insert" between the curl and b2b proxy the envoy.
The envoy would contain configuration for /translate path to be routed to target service via b2b proxy.
Running the curl command against locally running envoy would be reaching the envoy directly
The envoy then recognize the request to be routed via b2b proxy to target service.
Expected response is the same (301) response as in previous case.
FLOW: curl http://localhost:envoyport/translate -> gets routed to envoy -> envoy accept the http request and send the request to
google.com via b2b proxy -> b2b proxy -> google service
==> I need help with the "
envoy accept the http request and send the request to
google.com via b2b proxy ". Is it possible?
Thank you very much, really!
Josef