Ssl connection closed and websocket getting discoonected

I have used the code posted by you on the above link.Can i somehow bypass ssl while running the code