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

偶尔出现https读取报错 #1656

Open
zhuilang opened this issue Sep 27, 2022 · 4 comments
Open

偶尔出现https读取报错 #1656

zhuilang opened this issue Sep 27, 2022 · 4 comments

Comments

@zhuilang
Copy link
Contributor

2022-09-27 10:44:02.957961 SKYNET - [:00000012] lua call [0 to :12 : 0 msgsz = 24] error : ./3rd/skynet/lualib/skynet.lua:859: ./3rd/skynet/lualib/skynet.lua:330: ./3rd/skynet/lualib/http/httpc.lua:118: ./3rd/skynet/lualib/http/tlshelper.lua:56: SSL_read error:1

@zhuilang
Copy link
Contributor Author

拉的是master上最新的提交

@cloudwu
Copy link
Owner

cloudwu commented Sep 27, 2022

SSL_read error:1 ( SSL_ERROR_SSL )

@lvzixun 是否和这个问题类似: https://stackoverflow.com/questions/23888517/ssl-read-fails-with-ssl-error-ssl ?不过它是做 server ,调用 accept 次序的问题;这里做 client 是否有类似的次序问题?

@cloudwu
Copy link
Owner

cloudwu commented Sep 27, 2022

SSL_ERROR_SSL
A non-recoverable, fatal error in the SSL library occurred, usually a protocol error. The OpenSSL error queue contains more information on the error. If this error occurs then no further I/O operations should be performed on the connection and SSL_shutdown() must not be called.

我认为此处应该进一步的输出 OpenSSL error queue 的详细信息,供排查问题。

https://www.openssl.org/docs/manmaster/man3/ERR_get_error.htmlERR_get_error 查询到错误编码,然后 https://www.openssl.org/docs/manmaster/man3/ERR_error_string.htmlERR_error_string_n 获取可阅读的 log 输出。

@lragon
Copy link

lragon commented Jul 31, 2024

解决了吗,我这也出现这个错误,master分支最新版本
补充: 实际上https请求已经发送成功

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