When I had this issue it was due to quickfix setting SocketUseSSL=Y being enabled - I removed it and the issue was resolved.