Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OPENSSL_internal:UNSUPPORTED_PROTOCOL #373

Closed
xcodebuild opened this issue Dec 25, 2019 · 6 comments
Closed

OPENSSL_internal:UNSUPPORTED_PROTOCOL #373

xcodebuild opened this issue Dec 25, 2019 · 6 comments

Comments

@xcodebuild
Copy link

From: whistle@2.4.2
Node: v12.8.1
Date: 2019/12/25 下午4:58:59
Error: write EPROTO 140683778838504:error:100000f0:SSL routines:OPENSSL_internal:UNSUPPORTED_PROTOCOL:../../third_party/boringssl/src/ssl/handshake_client.cc:569:

    at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:83:16)

访问 https://pbdw.ebank.cmbchina.com/cbmresource/8/cemxzm/bg1.png 时出现

@avwo
Copy link
Owner

avwo commented Dec 25, 2019

升级下node看看

@xcodebuild
Copy link
Author

实际上是 electron,升级 electron8.0.0-beta3node 12.13.0)仍然存在这个问题

不过看起来是 electron 使用 boringssl 造成的特定问题,和 node 无关

cypress-io/cypress#5446

@xcodebuild
Copy link
Author

然而 node 升级到 LTS 同样存在这个问题:

From: whistle@2.4.6
Node: v12.14.1
Date: 2020-1-14 21:25:53
Error: write EPROTO 4393782720:error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol:../deps/openssl/openssl/ssl/statem/statem_lib.c:1929:

    at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:87:16)

只是报错不太一样

@xcodebuild
Copy link
Author

related to nodejs/node#27384

加上 --tls-v1.0 即可,因为我是 require('whistle') 使用的所以漏了这个参数

@panzhangguo
Copy link

related to nodejs/node#27384

加上 --tls-v1.0 即可,因为我是 require('whistle') 使用的所以漏了这个参数

兄弟,怎么弄啊?加在哪里呢?完整的可以看下吗

@avwo
Copy link
Owner

avwo commented Jul 22, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants