问题描述
同样的webhook在以前的版本用的没问题,今天升级了4.3.1,新建资源时测试连接可用,新建后状态也是可用,在emqx的服务器上测试curl地址也正常,浏览器访问地址也正常,可设为响应动作后就是不管用,规则可以命中,但统计里全是失败,而且打开规则引擎后,连接MQ和收发消息也变慢了,基本上就是webhook资源里设定的超时时间之后才能响应,日志里报HTTP request error: timeout(还有一段不知道啥意思),搞了一下午加一晚上没搞定……
环境信息
- EMQ X 版本:4.3.1
- 操作系统及版本:centos7.9
- 其他
配置文件及日志
2021-05-26T22:47:30.375803+08:00 [error] paho-790916849940700@客户端IP隐藏了:27807 [WebHook Action] HTTP request error: timeout
2021-05-26T22:47:30.376126+08:00 [info] paho-790916849940700@客户端IP隐藏了:27807 line: 478, mfa: {emqx_connection,terminate,2}, msg: terminate, pid: <0.7575.2>, reason: {shutdown,normal}
2021-05-26T22:47:30.412281+08:00 [error] paho-790916849940700@客户端IP隐藏了:27821 [WebHook Action] HTTP request error: {shutdown,{options,{socket_options,[{ssl_opts,[{verify,verify_none},{server_name_indication,<<>>},{versions,['tlsv1.2','tlsv1.1',tlsv1]},{ciphers,["ECDHE-ECDSA-AES256-GCM-SHA384","ECDHE-RSA-AES256-GCM-SHA384","ECDHE-ECDSA-AES256-CCM",[...]|...]}]},{ssl,true},{ipv6_probe,true},{packet_size,0},{packet,0},{header,0},{active,false},{mode,binary}]}}}