portable icon indicating copy to clipboard operation
portable copied to clipboard

LibreSSL SSL_connect: SSL_ERROR_SYSCALL to any host

Open Jorricks opened this issue 7 years ago • 18 comments

Dear people,

I have a problem with the LibreSSL package on my Macbook. This problem occurs when I put my Macbook Pro into sleep mode and continue where I left off. get it with a bunch of hosts, github, brew but also whatsapp desktop app can't connect anymore. The errors are as following:

:$ openssl version
LibreSSL 2.8.3
:$ /usr/local/opt/libressl/bin/openssl s_client -connect github.com:443 -msg
CONNECTED(00000006)
>>> TLS 1.2 Handshake [length 00bf], ClientHello
    01 00 00 bb 03 03 f6 4e 6b 42 67 c6 5f b5 88 87
    72 b0 9c a5 a2 28 31 ea a5 fe 55 21 77 aa 18 4f
    30 bb 30 4a 5c ca 00 00 5c c0 30 c0 2c c0 28 c0
    24 c0 14 c0 0a 00 9f 00 6b 00 39 cc a9 cc a8 cc
    aa ff 85 00 c4 00 88 00 81 00 9d 00 3d 00 35 00
    c0 00 84 c0 2f c0 2b c0 27 c0 23 c0 13 c0 09 00
    9e 00 67 00 33 00 be 00 45 00 9c 00 3c 00 2f 00
    ba 00 41 c0 11 c0 07 00 05 00 04 c0 12 c0 08 00
    16 00 0a 00 ff 01 00 00 36 00 0b 00 02 01 00 00
    0a 00 08 00 06 00 1d 00 17 00 18 00 23 00 00 00
    0d 00 1c 00 1a 06 01 06 03 ef ef 05 01 05 03 04
    01 04 03 ee ee ed ed 03 01 03 03 02 01 02 03
write:errno=54
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 0 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : 0000
    Session-ID: 
    Session-ID-ctx: 
    Master-Key: 
    Start Time: 1554305653
    Timeout   : 7200 (sec)
    Verify return code: 0 (ok)
---

I tried turning of IPv6, but it was already off. I tried switching networks, also didn't work. I tried updating the LibreSSL package after turning of system protection and even that didn't work... This makes me think it is a problem deeper into my computer but I just wanted to be sure and ask this community for help.

Jorricks avatar Apr 03 '19 15:04 Jorricks

Alright.. This is weird. People always told me you don't need an anti-virus on mac.. Well I don't want one anymore xD My Kaspersky Internet security was blocking the SSL handshake..

Jorricks avatar Apr 03 '19 15:04 Jorricks

@JorricksTU can you close this issue ?

kinichiro avatar May 03 '19 13:05 kinichiro

Alright.. This is weird. People always told me you don't need an anti-virus on mac.. Well I don't want one anymore xD My Kaspersky Internet security was blocking the SSL handshake..

OMG, same issue here, same anti virus. Kaspersky should mention this blocking, right? Week after week rebooting my pc to do some pull or push on git. So frustrating.

gdinn avatar Nov 03 '19 22:11 gdinn

How to uninstall Kaspersky? I have deleted the Kaspersky app from the Application folder. unbale to pull code from Git

manishnahar avatar Nov 05 '19 11:11 manishnahar

How to uninstall Kaspersky? I have deleted the Kaspersky app from the Application folder. unbale to pull code from Git

You have to stop it from running first. There is a option to stop de antivirus when you right click it. You will be prompted to type your pass and after this you clic on exit by right clicking it as well.

If you try again pull or push you will not have this problem again.

gdinn avatar Nov 05 '19 12:11 gdinn

@gdinn thanks for answering. As of now, I rebooted my mac book pro and able to pull from Git. I do not see Kaspersky running in Activity monitor. As I before mentioned that I had deleted the complete App from the application folder. but all my problems started after instaling Kaspersky.

manishnahar avatar Nov 06 '19 07:11 manishnahar

Same problem, same antivirus. Thank you!

rjanjic avatar May 03 '20 10:05 rjanjic

same problem. thanks @Jorricks

boiindo avatar May 30 '20 04:05 boiindo

Any solution other than uninstalling Kasperksy?

emamut avatar Jun 02 '20 22:06 emamut

I honestly have no idea. Did anyone contact Kaspersky for a reply?

Update:

  • I send them a Tech support message. Maybe you should as well.

Jorricks avatar Jun 03 '20 08:06 Jorricks

I also wrote to them. Waiting for a reply.

boiindo avatar Jun 03 '20 08:06 boiindo

I also wrote to them. Waiting for a reply.

Yes let's see what they reply. I think loads of people have this issue, especially with Chrome. Just few people realise it's due to Kaspersky and hence not many requests come in at their place to fix it.

Jorricks avatar Jun 03 '20 08:06 Jorricks

I meet the same question :)

fireairforce avatar Jun 04 '20 07:06 fireairforce

The problem was effectively this. You must stop protection and close the Karpesky Antivirus

martosfre avatar Nov 05 '20 17:11 martosfre

Any response from Kaspersky tech support?

By the way, I was able to get around this by temporarily disabling protection when necessary, and re-enabling it afterwards.

skzv avatar Apr 08 '21 00:04 skzv

No. I preferred to uninstall and move on.

On Wed, Apr 7, 2021 at 9:15 PM Sasha Kuznetsov @.***> wrote:

Any response from Kaspersky tech support?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/libressl-portable/portable/issues/515#issuecomment-815354725, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEX4QM7QORHS6W2H4GA23Q3THTYTLANCNFSM4HDLMYLA .

-- Att. Igor Debastiani

gdinn avatar Apr 08 '21 00:04 gdinn

FWIW, this seems to be caused by the "Check Secure Connections (HTTPS) for Safe Money and Private Browsing” option under Preferences > Protection > General. Unchecking that option resolves my issue.

I've forwarded that info to support, hopefully they'll clarify if it's intended behaviour or fix it.

skzv avatar Apr 15 '21 04:04 skzv

FWIW, this seems to be caused by the "Check Secure Connections (HTTPS) for Safe Money and Private Browsing” option under Preferences > Protection > General. Unchecking that option resolves my issue.

I've forwarded that info to support, hopefully they'll clarify if it's intended behaviour or fix it.

Thanks, that fixed it! (who uses Safe Money anyways)

Shqrp avatar Apr 30 '21 08:04 Shqrp