I wanted to provide more context about our specific setup.
We have multiple tiered iframes with 2 WebSocket connections in different iframes where one WebSocket connection is successful while the other fails. Both WebSocket connections are to the same domain.