{"record":{"id":"8185729347eca3a6","repo":"netbirdio/netbird","slug":"skipping-firewall-rule-s","errorCode":null,"errorMessage":"skipping firewall rule: %s","messagePattern":"skipping firewall rule: (.+?)","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"client/internal/acl/manager.go","lineNumber":289,"sourceCode":"\tif err != nil {\n\t\treturn \"\", fmt.Errorf(\"add route rule: %w\", err)\n\t}\n\n\treturn id.RuleID(addedRule.ID()), nil\n}\n\nfunc (d *DefaultManager) protoRuleToFirewallRule(\n\tr *mgmProto.FirewallRule,\n\tipsetName string,\n) (id.RuleID, []firewall.Rule, error) {\n\tip, err := extractRuleIP(r)\n\tif err != nil {\n\t\treturn \"\", nil, err\n\t}\n\n\tprotocol, err := convertToFirewallProtocol(r.Protocol)\n\tif err != nil {\n\t\treturn \"\", nil, fmt.Errorf(\"skipping firewall rule: %s\", err)\n\t}\n\n\taction, err := convertFirewallAction(r.Action)\n\tif err != nil {\n\t\treturn \"\", nil, fmt.Errorf(\"skipping firewall rule: %s\", err)\n\t}\n\n\tvar port *firewall.Port\n\tif !portInfoEmpty(r.PortInfo) {\n\t\tport = convertPortInfo(r.PortInfo)\n\t} else if r.Port != \"\" {\n\t\t// old version of management, single port\n\t\tvalue, err := strconv.Atoi(r.Port)\n\t\tif err != nil {\n\t\t\treturn \"\", nil, fmt.Errorf(\"invalid port: %w\", err)\n\t\t}\n\t\tport = &firewall.Port{\n\t\t\tValues: []uint16{uint16(value)},","sourceCodeStart":271,"sourceCodeEnd":307,"githubUrl":"https://github.com/netbirdio/netbird/blob/93e97f4bf1ad715072dcb3fb6cdb1763431b5a9c/client/internal/acl/manager.go#L271-L307","documentation":"A firewall rule was skipped because its protocol or action could not be converted from the management proto enum. The message marks an intentional skip of an unconvertible field, keeping the rest of the ACL set installable.","triggerScenarios":"Thrown at client/internal/acl/manager.go:289 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Identify which rule field is unconvertible via the wrapped error","Align management and client protocol versions","Log and skip incompatible rules rather than failing the whole policy"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"93e97f4bf1ad715072dcb3fb6cdb1763431b5a9c","analyzedAt":"2026-08-16T03:09:19.136Z","contentChangedAt":"2026-08-16T03:09:19.136Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}