dmikushin / binance-cxx-api

Binance Bincoin Exchange C++ API
MIT License
67 stars 42 forks source link

Certificate error? #3

Closed woutervanh closed 4 years ago

woutervanh commented 5 years ago

I get following error while trying to run the example:

[2019/04/01 20:23:07:5422] NOTICE: lws_protocol_init [2019/04/01 20:23:07:8858] ERR: SSL connect error 337047686: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed 2019-04-01 20:23:07 885877 : LWS_CALLBACK_CLIENT_CONNECTION_ERROR

Any idea?

paranoja888 commented 5 years ago

Hello Wouter, I have the same issue. Do you have any solution? If you fixed this problem could you please share information. Thanks in advance.

ghost commented 5 years ago

Did anyone ever solve this

dmikushin commented 5 years ago

The easiest is you should try Ubuntu 16.04 instead of 18.04, where SSL libraries versions are different, which introduces this problem.

сб, 18 мая 2019 г. в 07:04, Hudson Hughes notifications@github.com:

Did anyone ever solve this

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dmikushin/binance-cxx-api/issues/3?email_source=notifications&email_token=ABLI7KQAH4NG2UB4GWQBITTPV6E6XA5CNFSM4HCZNVQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVWHXYI#issuecomment-493648865, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLI7KUCYPHYK5Z7QO2EY7TPV6E6XANCNFSM4HCZNVQA .

dmikushin commented 4 years ago

@woutervanh @paranoja888 @HudsonHughes Dear all, please try 108d2edef6bfd1f61bbec33a998d78be821f04d0 The idea is that the project now incorporates the proper LWS as a source code and compiles it in, regardless of what LWS is available within the host system. For me this unbreaks Ubuntu 18.04, could you please check?