Simple-WebSocket-Server icon indicating copy to clipboard operation
Simple-WebSocket-Server copied to clipboard

Can't use wss client

Open CrackerHax opened this issue 7 years ago • 5 comments

Got this error testing wss client

terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
  what():  context: asio.ssl error
Aborted

$ ssh -V OpenSSH_7.2p2 Ubuntu-4ubuntu2.4, OpenSSL 1.0.2g 1 Mar 2016

$ dpkg -s libboost-dev | grep 'Version' Version: 1.58.0.1ubuntu1

CrackerHax avatar Feb 16 '18 03:02 CrackerHax

I'm having the same issue. Did you manage to fix it?

fatduckling avatar Mar 19 '18 03:03 fatduckling

Nope I ended up using something else.

CrackerHax avatar Mar 19 '18 05:03 CrackerHax

What system are you on @fatduckling ?

A backtrace would be useful as well, and maybe a minimal example that results in this exception.

eidheim avatar Mar 19 '18 08:03 eidheim

I could not reproduce this error on an upgraded Ubuntu 16.04.01.

eidheim avatar Mar 29 '18 09:03 eidheim

Hi @eidheim I think the problem was with the cURL library. I removed package "libcurl4-openssl-dev" and installed "libcurl4-gnutls-dev" and now it works. I'm not sure whether this is the root cause of the issue, but switching the cURL packages to use gnutls for SSL seems to work.

apt-get install libcurl4-gnutls-dev

fatduckling avatar Apr 04 '18 04:04 fatduckling