skynet
skynet copied to clipboard
偶尔出现https读取报错
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
拉的是master上最新的提交
SSL_read error:1 ( SSL_ERROR_SSL )
@lvzixun 是否和这个问题类似: https://stackoverflow.com/questions/23888517/ssl-read-fails-with-ssl-error-ssl ?不过它是做 server ,调用 accept 次序的问题;这里做 client 是否有类似的次序问题?
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.html 用 ERR_get_error
查询到错误编码,然后 https://www.openssl.org/docs/manmaster/man3/ERR_error_string.html 用 ERR_error_string_n
获取可阅读的 log 输出。
解决了吗,我这也出现这个错误,master分支最新版本 补充: 实际上https请求已经发送成功