I'm working on a WebSocket proxy microservice in Java, built using the org.java_websocket.* library. It connects to a remote server that streams VNC data. The goal is to allow clients—like noVNC—to communicate with this proxy through our API Gateway.
Issue: The proxy works perfectly when connected to directly. However, attempts to route communication through the API Gateway fail. I came across a Reference with a solution that works, but I can’t apply it in my setup.
Why not? I also have a reactive GraphQL WebSocket running behind the same gateway. The referenced solution is incompatible with it—implementing it would break the reactive GraphQL WebSocket functionality.
At this point, I’m stuck and unsure how to proceed. If anyone has experience with handling multiple WebSocket protocols through an API Gateway, especially with reactive stacks, your guidance would be incredibly helpful.