报错信息

白名单规则配置出错

  • [WhiteListRuleParser Component] Invalid rule: ${ruleContent}
  • [WhiteListRuleParser Component] Parsing failed, raw rule: ${ruleContent}, parser: ${parser}.

TPS 限流规则配置出错

  • [TPSRule Component] Invalid rule: ${ruleContent}
  • [TPSRule Component] Parsing failed, raw rule: ${ruleContent}, parser: ${parser}.

解决方案

规则如果解析正确,会在 hsf-config.log 中打印 [TPSRule Component] Parsing OK: ${rule},请检查配置的规则格式是否正确