{"record":{"id":"43c0e2eb6ec37adc","repo":"fluent/fluentd","slug":"invalid-rpc-endpoint-endpoint","errorCode":null,"errorMessage":"Invalid rpc_endpoint: #{endpoint}","messagePattern":"Invalid rpc_endpoint: #(.+?)","errorType":"exception","errorClass":"Fluent::ConfigError","httpStatus":null,"severity":"error","filePath":"lib/fluent/rpc.rb","lineNumber":24,"sourceCode":"#    You may obtain a copy of the License at\n#\n#        http://www.apache.org/licenses/LICENSE-2.0\n#\n#    Unless required by applicable law or agreed to in writing, software\n#    distributed under the License is distributed on an \"AS IS\" BASIS,\n#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n#    See the License for the specific language governing permissions and\n#    limitations under the License.\n#\n\nrequire 'webrick'\n\nmodule Fluent\n  module RPC\n    class Server\n      def initialize(endpoint, log)\n        m = endpoint.match(/^\\[?(?<host>[0-9a-zA-Z:\\-\\.]+)\\]?:(?<port>[0-9]+)$/)\n        raise Fluent::ConfigError, \"Invalid rpc_endpoint: #{endpoint}\" unless m\n        @bind = m[:host]\n        @port = m[:port]\n        @log = log\n\n        @server = WEBrick::HTTPServer.new(\n          BindAddress: @bind,\n          Port: @port,\n          Logger: WEBrick::Log.new(STDERR, WEBrick::Log::FATAL),\n          AccessLog: [],\n        )\n      end\n\n      def mount(path, servlet, *args)\n        @server.mount(path, servlet, *args)\n        @log.debug \"register #{path} RPC servlet\"\n      end\n\n      def mount_proc(path, &block)","sourceCodeStart":6,"sourceCodeEnd":42,"githubUrl":"https://github.com/fluent/fluentd/blob/dd45c6e18dc7be33b5e5a0f0767bf46307ff5626/lib/fluent/rpc.rb#L6-L42","documentation":"Error \"Invalid rpc_endpoint: #{endpoint}\" thrown in fluent/fluentd.","triggerScenarios":"Thrown at lib/fluent/rpc.rb:24 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"dd45c6e18dc7be33b5e5a0f0767bf46307ff5626","analyzedAt":"2026-08-21T16:22:07.332Z","schemaVersion":2},"datasetVersion":"2026-08-21T18:17:14.833Z"}