Closed YellowOnion closed 5 years ago
I get this runtime error, no clue why, no clue where it's coming from, the WS client is getting connection refused.
I'm running on Windows, so perhaps some edge case?
(\chan -> forkIO . WS.runServer ("127.0.0.1") 9160 $ \pending -> do conn <- WS.acceptRequest pending forever $ do msg <- atomically $ readTChan chan WS.sendTextData conn $ msg )
I figured it out, I was using wss, thus the connection was encrypted, perhaps make this error more obvious?
I get this runtime error, no clue why, no clue where it's coming from, the WS client is getting connection refused.
I'm running on Windows, so perhaps some edge case?