Closed kpramesh2212 closed 2 months ago
Please do a bit more debugging. I.e. enable and collect Envoy logs to see if it is receiving connections.
Please do a bit more debugging. I.e. enable and collect Envoy logs to see if it is receiving connections.
@yanavlasov Thank you for your quick response
I have enabled debug logging and access logging in Envoy. I can confirm that connections are reaching Envoy, as indicated by the access logs. However, I am having difficulty interpreting the debug logs to understand what might be going wrong.
I have tried to connect to another url
Please find the attached logs envoy.log tcp_access.log
Any assistance would be of great help
Thank you once again for taking the time to review this
I am also attaching the trace logs here [Uploading envoy-trace.log…]() tcp_access.log
@yanavlasov
Thank you for taking the time to review my issue. I’ve added additional details and logs that might help in diagnosing the problem: If there are any specific details or configurations you need, please let me know. I’m happy to provide any additional information or tests that could help resolve this.
I do not see anything wrong with the Envoy. I'm sorry I can not provide more insight into this. You may also want to ask on the envoy-users Slack channel.
@yanavlasov Thank you for your support I finally figured out the root cause
The problem was with the iptables rules
Basically the rule iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDIRECT --to-port 9000
was also redirecting the envoy traffic to envoy itself causing the traffic to go in a loop.
The fix was to not redirect traffic originating from envoy
Hello Envoy Team,
I am attempting to configure Envoy to route all outbound connections through an Envoy proxy using the original_dst cluster type. Despite following the available documentation and various examples, I am unable to get this configuration to work as expected.
Envoy version: v1.30.4
Envoy configuration
Docker Compose file
Dockerfile
iptables rule
Output (Before running iptables rule)
docker exec -it sleep bash
Output (after running iptables rule)
I am literally following the instructions in this document: https://venilnoronha.medium.com/introduction-to-original-destination-in-envoy-d8a8aa184bb6
My Primary goal is to route all tcp outbound traffic through envoy
Request for Assistance
I kindly request your help in identifying any issues or missing configurations that could be preventing the original_dst routing from functioning correctly. Are there any additional steps or configurations required to achieve the desired routing behavior?
Thank you very much for your time and assistance. I look forward to your guidance.
Regards Ramesh