to check websocket connection error
check websocket connection error