-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
forwarding in the envoy doesn't deal with https
correctly
#159
Comments
@GKilm Thanks for raising this issue. Can you provide logs where bridge is failing to forward when protocol is https? That would be helpful for us to triage further. |
What logs are needed? It is clear that |
@GKilm Thanks for your response. Logs would be in your |
@GKilm, sorry for the late response, trying to catch up to all issues. I believe this file is where all the envoy configurations are placed. It seems like your comment is that when isolation is on, http is supported but https is not. Your request would be to add https support to bridge. I also understand from the issue you have tried adding transport_socket configuration and with this configuration it works for you. Can you confirm my understanding of the ask is correct? Once you do, we will add this ask to our planning. Please note we are small team. I also always like to mention we welcome contributions in case you would be interested :) |
@elenavillamil You are right.The restatement of the question is fantastic. |
@GKilm Thanks for the confirmation. are you using this service with ingress controller or just a load balancer with https ? I am looking at the your initial request, seems like you are using |
Yes,the service protocol as |
Are there any news on this? We have a similar issue. We are running a WebSocket Service (using Socket.IO) on an AKS cluster with Bridge to Kubernetes installed. We are using the NGINX Ingress Controller for our services. Whenever we are running the debugger with isolation mode enabled, any attempt to connect to said service returns a 403: If we turn isolation mode off, we get the proper 101 (Switching Protocols): This has to do with the fact that in isolation mode, the request is being made to the Envoy pod instead of the original pod. We thought about adding this config in the Envoy config under HttpConnectionManager in order to enable WebSocket connections: upgrade_configs:
upgrade_type: "websocket" However, the Envoy config resets itself, as @GKilm mentioned. |
Describe the bug
When the protocol in the debugged pod is
https
, forwarding is not handled correctly withhttps
.Mention the platform you are using
To Reproduce
Steps to reproduce the behavior:
https
Additional context
I has tried to edit the config about
envoy
which is/etc/envoy/envoy.yaml
,it works.But I cann't revise the
envoy
depoyment and theenvoy
configmap in the cluster,they are always restored right away.How are they controlled?Here are some of my attempts that might be helpful.
envoy.yaml
The file mentioned in
tls_certificates
is added manually.With the
transport_socket
added, forwarding is ok.reference
The text was updated successfully, but these errors were encountered: