最近把emqx从5.0.4更新到5.8.3,在Http客户端认证中,原来的认证地址一直提示连接断开。认证地址是https的,emqx日志一直报一个错误:
tag: AUTHN/WEBHOOK, msg: start_resource_failed, reason:
{tls_alert,{unexpected_message,“TLS client: In state hello_retry_middlebox_assert at ssl_gen_statem.erl:803 generated CLIENT ALERT:
Fatal - Unexpected Message\n {unexpected_msg,\n
{internal,\n
{server_hello,\n {3,3},\n
<<165,6,102,36,206,234,175,189,121,2,240,134,…>>,\n
<<235,124,102,51,92,245,223,146,215,253,194,…>>,\n
<<19,2>>,\n 0,\n
#{server_hello_selected_version =>\n
{server_hello_selected_version,{3,4}},\n
key_share =>\n
{key_share_server_hello,\n
{key_share_entry,secp256r1,<<4,130,…>>}},\n
pre_shared_key => undefined}}}}”}},
resource_id: <<“emqx_authn_http:32”>>
但是我把这个认证地址从https改成http,却提示已连接。但是这个http地址实际上是不通的。