{"record":{"id":"12517ac23791b8df","repo":"fatedier/frp","slug":"invalid-transport-maxpoolcount-must-be-non-negati","errorCode":null,"errorMessage":"invalid transport.maxPoolCount, must be non-negative","messagePattern":"invalid transport\\.maxPoolCount, must be non-negative","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/config/v1/validation/server.go","lineNumber":55,"sourceCode":"\n\terrs = AppendError(errs, v.validateAuthTokenSource(c.Auth.Token, c.Auth.TokenSource))\n\n\tif err := validateLogConfig(&c.Log); err != nil {\n\t\terrs = AppendError(errs, err)\n\t}\n\n\tif err := validateWebServerConfig(&c.WebServer); err != nil {\n\t\terrs = AppendError(errs, err)\n\t}\n\n\terrs = AppendError(errs, ValidatePort(c.BindPort, \"bindPort\"))\n\terrs = AppendError(errs, ValidatePort(c.KCPBindPort, \"kcpBindPort\"))\n\terrs = AppendError(errs, ValidatePort(c.QUICBindPort, \"quicBindPort\"))\n\terrs = AppendError(errs, ValidatePort(c.VhostHTTPPort, \"vhostHTTPPort\"))\n\terrs = AppendError(errs, ValidatePort(c.VhostHTTPSPort, \"vhostHTTPSPort\"))\n\terrs = AppendError(errs, ValidatePort(c.TCPMuxHTTPConnectPort, \"tcpMuxHTTPConnectPort\"))\n\tif c.Transport.MaxPoolCount < 0 {\n\t\terrs = AppendError(errs, fmt.Errorf(\"invalid transport.maxPoolCount, must be non-negative\"))\n\t}\n\n\tfor _, p := range c.HTTPPlugins {\n\t\tif !lo.Every(SupportedHTTPPluginOps, p.Ops) {\n\t\t\terrs = AppendError(errs, fmt.Errorf(\"invalid http plugin ops, optional values are %v\", SupportedHTTPPluginOps))\n\t\t}\n\t}\n\treturn warnings, errs\n}\n","sourceCodeStart":37,"sourceCodeEnd":65,"githubUrl":"https://github.com/fatedier/frp/blob/6c8a8d0a97d03b44e9528d30b30c70cb9d61b405/pkg/config/v1/validation/server.go#L37-L65","documentation":"Error \"invalid transport.maxPoolCount, must be non-negative\" thrown in fatedier/frp.","triggerScenarios":"Raised by ValidateServerConfig in pkg/config/v1/validation/server.go when transport.maxPoolCount is set to a negative number.","commonSituations":"A negative transport.maxPoolCount in the server config. Fix by setting it to 0 or a positive integer.","solutions":["Set transport.maxPoolCount to 0 or a positive number.","Remove transport.maxPoolCount to use the default value."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6c8a8d0a97d03b44e9528d30b30c70cb9d61b405","analyzedAt":"2026-08-15T06:53:27.215Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}