{"record":{"id":"4eb98921e5b07be9","repo":"fluent/fluentd","slug":"bug-tls-transport-specified-but-certification-op","errorCode":null,"errorMessage":"BUG: TLS transport specified, but certification options are not specified","messagePattern":"BUG: TLS transport specified, but certification options are not specified","errorType":"exception","errorClass":"ArgumentError","httpStatus":null,"severity":"error","filePath":"lib/fluent/plugin_helper/server.rb","lineNumber":101,"sourceCode":"        if proto == :tcp || proto == :tls\n          socket_options[:linger_timeout] ||= @transport_config&.linger_timeout || 0\n        end\n\n        socket_options[:receive_buffer_size] ||= @transport_config&.receive_buffer_size\n\n        socket_option_validate!(proto, **socket_options)\n        socket_option_setter = ->(sock){ socket_option_set(sock, **socket_options) }\n\n        case proto\n        when :tcp\n          server = server_create_for_tcp_connection(shared, bind, port, backlog, socket_option_setter, &block)\n        when :tls\n          transport_config = if tls_options\n                               server_create_transport_section_object(tls_options)\n                             elsif @transport_config && @transport_config.protocol == :tls\n                               @transport_config\n                             else\n                               raise ArgumentError, \"BUG: TLS transport specified, but certification options are not specified\"\n                             end\n          server = server_create_for_tls_connection(shared, bind, port, transport_config, backlog, socket_option_setter, &block)\n        when :unix\n          raise \"not implemented yet\"\n        else\n          raise \"unknown protocol #{proto}\"\n        end\n\n        server_attach(title, proto, port, bind, shared, server)\n      end\n\n      # server_create(:title, @port) do |data|\n      #   # ...\n      # end\n      # server_create(:title, @port) do |data, conn|\n      #   # ...\n      # end\n      # server_create(:title, @port, proto: :udp, max_bytes: 2048) do |data, sock|","sourceCodeStart":83,"sourceCodeEnd":119,"githubUrl":"https://github.com/fluent/fluentd/blob/dd45c6e18dc7be33b5e5a0f0767bf46307ff5626/lib/fluent/plugin_helper/server.rb#L83-L119","documentation":"Error \"BUG: TLS transport specified, but certification options are not specified\" thrown in fluent/fluentd.","triggerScenarios":"Thrown at lib/fluent/plugin_helper/server.rb:101 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"}