Http-Conduit frequent connection failures
I am writing application which will download some files by HTTP. Up to some point I was using following code snippet to download page body: import network.HTTP simpleHTTP (getRequest "http://www.haskell.org/") >>= getResponseBody It was working fine but it could not establish connection by HTTPS protocol. So to fix this I have switched to HTTP-Conduit and now I am using following code: simpleHttp' :: Manager -> String -> IO (C.Response LBS.ByteString) simpleHttp' manager url = do request <- parseUrl url runResourceT $ httpLbs request manager It can connect to HTTPS but new frustrating problem