求助:EMQX 4.2.2 编辑规则失败!!!

集群有两个节点:


关联动作:空动作

Bad Arguments: {init_action_failure,[{{init_action_failure,‘emqx@10.108.0.31’},{{emqx_rule_actions,on_action_do_nothing},{error,function_clause,[{emqx_rule_actions,on_action_do_nothing,[<<“do_nothing_1722426479390948755”>>,#{}],[{file,“emqx_rule_actions.erl”},{line,239}]},{emqx_rule_engine,‘-init_action/4-fun-0-’,4,[{file,“emqx_rule_engine.erl”},{line,643}]},{emqx_rule_engine,init_action,4,[{file,“emqx_rule_engine.erl”},{line,643}]},{erpc,execute_call,3,[{file,“erpc.erl”},{line,410}]},{rpc,execute_call,3,[{file,“rpc.erl”},{line,255}]},{rpc,‘-handle_call/3-fun-0-’,5,[{file,“rpc.erl”},{line,136}]}]}}},{{init_action_failure,‘emqx@10.108.0.30’},{{emqx_rule_actions,on_action_do_nothing},{error,function_clause,[{emqx_rule_actions,on_action_do_nothing,[<<“do_nothing_1722426479390948755”>>,#{}],[{file,“emqx_rule_actions.erl”},{line,239}]},{emqx_rule_engine,‘-init_action/4-fun-0-’,4,[{file,“emqx_rule_engine.erl”},{line,643}]},{emqx_rule_engine,init_action,4,[{file,“emqx_rule_engine.erl”},{line,643}]},{erpc,execute_call,3,[{file,“erpc.erl”},{line,410}]},{rpc,execute_call,3,[{file,“rpc.erl”},{line,255}]},{rpc,‘-handle_call/3-fun-0-’,5,[{file,“rpc.erl”},{line,136}]}]}}},{{init_action_failure,‘emqx@10.169.15.94’,emqx_rule_actions,on_action_do_nothing},{error,function_clause,[{emqx_rule_actions,on_action_do_nothing,[<<“do_nothing_1722426479390948755”>>,#{}],[{file,“emqx_rule_actions.erl”},{line,246}]},{emqx_rule_engine,‘-init_action/4-fun-0-’,4,[{file,“emqx_rule_engine.erl”},{line,737}]},{emqx_rule_engine,init_action,4,[{file,“emqx_rule_engine.erl”},{line,737}]},{erpc,execute_call,3,[{file,“erpc.erl”},{line,410}]},{rpc,execute_call,3,[{file,“rpc.erl”},{line,255}]},{rpc,‘-handle_call/3-fun-0-’,5,[{file,“rpc.erl”},{line,136}]}]}},{{init_action_failure,‘emqx@10.169.55.94’,emqx_rule_actions,on_action_do_nothing},{error,function_clause,[{emqx_rule_actions,on_action_do_nothing,[<<“do_nothing_1722426479390948755”>>,#{}],[{file,“emqx_rule_actions.erl”},{line,246}]},{emqx_rule_engine,‘-init_action/4-fun-0-’,4,[{file,“emqx_rule_engine.erl”},{line,737}]},{emqx_rule_engine,init_action,4,[{file,“emqx_rule_engine.erl”},{line,737}]},{erpc,execute_call,3,[{file,“erpc.erl”},{line,410}]},{rpc,execute_call,3,[{file,“rpc.erl”},{line,255}]},{rpc,‘-handle_call/3-fun-0-’,5,[{file,“rpc.erl”},{line,136}]}]}},{{init_action_failure,‘emqx@10.169.115.94’,emqx_rule_actions,on_action_do_nothing},{error,function_clause,[{emqx_rule_actions,on_action_do_nothing,[<<“do_nothing_1722426479390948755”>>,#{}],[{file,“emqx_rule_actions.erl”},{line,246}]},{emqx_rule_engine,‘-init_action/4-fun-0-’,4,[{file,“emqx_rule_engine.erl”},{line,737}]},{emqx_rule_engine,init_action,4,[{file,“emqx_rule_engine.erl”},{line,737}]},{erpc,execute_call,3,[{file,“erpc.erl”},{line,410}]},{rpc,execute_call,3,[{file,“rpc.erl”},{line,255}]},{rpc,‘-handle_call/3-fun-0-’,5,[{file,“rpc.erl”},{line,136}]}]}}]}

建议使用最新的 4.4.24.

这里如果把动作里的 do_nothing 删掉还会报错么?

感觉应该是集群里有版本不一致导致的,已经全部重启解决了