failed: WebSocket is closed before the connection is established.

Author: MarwaAbuEssaCreated Nov 6, 2023Updated Nov 6, 2023

Hi,

I'm using sockjs with rxStomp to open a WebSocket and download some Realtime files. in an unexpected behavior ,some times I'm getting failed: WebSocket is closed before the connection is established cause of transport time out . after some investigation i found out that the failed connection have a long stalled/blocking time for about 6 hours which causing transport timeout .

image

any help please why there is a long connection start causing this issue ? Thanks, Marwa