错误报告
[error] supervisor: ‘esockd_connection_sup - <0.2229.0>’, errorContext: connection_shutdown,
reason: {ssl_error,{options,{cacertfile,“etc/certs/rootCA.crt”,{error,enoent}}}},
offender: [{pid,<0.2799.0>},{name,connection},{mfargs,{emqx_connection,start_link,
[#{enable_authn => true,limiter => #{bytes_in => #{capacity => 1099511627776,initial => 0,rate => infinity},client =>
#{bytes_in => #{capacity => 1099511627776,divisible => false,failure_strategy => force,initial => 0,low_watermark => 0,
max_retry_time => 10000,rate => infinity},connection => #{capacity => 1099511627776,divisible => false,failure_strategy => force,initial => 0,
low_watermark => 0,max_retry_time => 10000,rate => infinity},
message_in => #{capacity => 1099511627776,divisible => false,failure_strategy => force,initial => 0,
low_watermark => 0,max_retry_time => 10000,rate => infinity},
message_routing => #{capacity => 1099511627776,divisible => false,failure_strategy => force,initial => 0,
low_watermark => 0,max_retry_time => 10000,rate => infinity}},connection => #{capacity => 1000,initial => 0,
rate => 100.0},message_in => #{capacity => 1099511627776,initial => 0,rate => infinity},
message_routing => #{capacity => 1099511627776,initial => 0,rate => infinity}},listener => {ssl,default},zone => default}]}}]
2023-02-21T13:46:57.797562+08:00 [error] supervisor: ‘esockd_connection_sup - <0.2229.0>’, errorContext: connection_shutdown, reason: {ssl_error,{options,{cacertfile,“etc/certs/rootCA.crt”,{error,enoent}}}}, offender: [{pid,<0.2799.0>},{name,connection},{mfargs,{emqx_connection,start_link,[#{enable_authn => true,limiter => #{bytes_in => #{capacity => 1099511627776,initial => 0,rate => infinity},client => #{bytes_in => #{capacity => 1099511627776,divisible => false,failure_strategy => force,initial => 0,low_watermark => 0,max_retry_time => 10000,rate => infinity},connection => #{capacity => 1099511627776,divisible => false,failure_strategy => force,initial => 0,low_watermark => 0,max_retry_time => 10000,rate => infinity},message_in => #{capacity => 1099511627776,divisible => false,failure_strategy => force,initial => 0,low_watermark => 0,max_retry_time => 10000,rate => infinity},message_routing => #{capacity => 1099511627776,divisible => false,failure_strategy => force,initial => 0,low_watermark => 0,max_retry_time => 10000,rate => infinity}},connection => #{capacity => 1000,initial => 0,rate => 100.0},message_in => #{capacity => 1099511627776,initial => 0,rate => infinity},message_routing => #{capacity => 1099511627776,initial => 0,rate => infinity}},listener => {ssl,default},zone => default}]}}]
环境
- EMQX 版本:v5
- 操作系统版本:ubuntu
安装官网openssl 例子操作
重启了emqx 服务 wss 始终连接不上