First and foremost, thank you for taking the time to read my question.
I'm encountering a
net::ERR_CONNECTION_TIMED_OUT error
with a Janus SSL WebSocket connection and would greatly appreciate any insights to resolve it.
My current architecture includes:
- Two VMs running HAProxy as a load balancer. An OpenShift platform hosting several pods.
- A Route configured for https://miwebsite.com.
- A Service exposing NodePorts outside the cluster.
- A container image with NoVNC installed inside the pod.
- SSL certificates configured within the NoVNC container (located at /etc/SSL/certs/) for secure connections.
The Issue:
When I access https://miwebsite.com, the NoVNC connection and my application appear to be working correctly. However, upon inspecting Chrome's Developer Tools, I observe the following error for the Janus SSL WebSocket connection:
net::ERR_CONNECTION_TIMED_OUT
Troubleshooting Steps & Additional Details:
- I've confirmed that the port exported by the Service is correct.
- HAProxy is configured for TCP passthrough mode.
- (HAProxy configuration: https://jumpshare.com/share/Kaurz2WGQHyRo6asxYoW
- From a Bastion host, I've successfully tested the direct connection to the port. (Bastion connection test: https://jumpshare.com/share/9TAzDElNTYjv9N9gWTuc
- My Janus.websocket.transport indicates that port 11131 is being set up.
- The port is exposed outside the cluster via NodePort 32315.
Any suggestions on the potential cause of this timeout or how I might further diagnose it would be greatly appreciated!
