Hi everyone, im trying to use logstash with docker but the pipeline doesn't work. I'm using the same configuration that in logstash without docker work fine.
I really need help because im stuck.
I posted the log and the error im receiving
Thank in advance
2023-10-12 14:50:39 WARNING: Failed to load native protocols db
2023-10-12 14:50:39 java.lang.RuntimeException: getprotobyname_r failed
2023-10-12 14:50:39 at jnr.netdb.NativeProtocolsDB$LinuxNativeProtocolsDB.getProtocolByName(NativeProtocolsDB.java:180)
2023-10-12 14:50:39 at jnr.netdb.NativeProtocolsDB.load(NativeProtocolsDB.java:80)
2023-10-12 14:50:39 at jnr.netdb.NativeProtocolsDB.access$000(NativeProtocolsDB.java:40)
2023-10-12 14:50:39 at jnr.netdb.NativeProtocolsDB$SingletonHolder.<clinit>(NativeProtocolsDB.java:47)
2023-10-12 14:50:39 at jnr.netdb.NativeProtocolsDB.getInstance(NativeProtocolsDB.java:43)
2023-10-12 14:50:39 at jnr.netdb.Protocol$ProtocolDBSingletonHolder.load(Protocol.java:107)
2023-10-12 14:50:39 at jnr.netdb.Protocol$ProtocolDBSingletonHolder.<clinit>(Protocol.java:103)
2023-10-12 14:50:39 at jnr.netdb.Protocol.getProtocolDB(Protocol.java:96)
2023-10-12 14:50:39 at jnr.netdb.Protocol.getProtocolByNumber(Protocol.java:59)
2023-10-12 14:50:39 at org.jruby.ext.socket.Addrinfo.<init>(Addrinfo.java:806)
2023-10-12 14:50:39 at org.jruby.ext.socket.SocketUtils$2.addrinfo(SocketUtils.java:255)
2023-10-12 14:50:39 at org.jruby.ext.socket.SocketUtils.buildAddrinfoList(SocketUtils.java:321)
2023-10-12 14:50:39 at org.jruby.ext.socket.SocketUtils.getaddrinfoList(SocketUtils.java:231)
2023-10-12 14:50:39 at org.jruby.ext.socket.Addrinfo.getaddrinfo(Addrinfo.java:307)
2023-10-12 14:50:39 at org.jruby.ext.socket.Addrinfo$INVOKER$s$0$0$getaddrinfo.call(Addrinfo$INVOKER$s$0$0$getaddrinfo.gen)
2023-10-12 14:50:39 at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN.call(JavaMethod.java:837)
2023-10-12 14:50:39 at org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:207)
2023-10-12 14:50:39 at usr.share.logstash.vendor.jruby.lib.ruby.stdlib.socket.RUBY$method$foreach$0(/usr/share/logstash/vendor/jruby/lib/ruby/stdlib/socket.rb:229)
2023-10-12 14:50:39 at org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:80)
2023-10-12 14:50:39 at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:70)
2023-10-12 14:50:39 at org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:197)
2023-10-12 14:50:39 at usr.share.logstash.vendor.jruby.lib.ruby.stdlib.socket.RUBY$method$tcp$0(/usr/share/logstash/vendor/jruby/lib/ruby/stdlib/socket.rb:638)
2023-10-12 14:50:39 at org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:80)
2023-10-12 14:50:39 at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:70)
2023-10-12 14:50:39 at org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:207)
2023-10-12 14:50:39 at usr.share.logstash.vendor.jruby.lib.ruby.stdlib.net.imap.RUBY$method$tcp_socket$0(/usr/share/logstash/vendor/jruby/lib/ruby/stdlib/net/imap.rb:1132)
2023-10-12 14:50:39 at usr.share.logstash.vendor.jruby.lib.ruby.stdlib.net.imap.RUBY$method$tcp_socket$0$__VARARGS__(/usr/share/logstash/vendor/jruby/lib/ruby/stdlib/net/imap.rb:1131)
2023-10-12 14:50:39 at org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:80)
2023-10-12 14:50:39 at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:70)
2023-10-12 14:50:39 at org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:207)
2023-10-12 14:50:39 at usr.share.logstash.vendor.jruby.lib.ruby.stdlib.net.imap.RUBY$method$initialize$0(/usr/share/logstash/vendor/jruby/lib/ruby/stdlib/net/imap.rb:1089)
2023-10-12 14:50:39 at org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:80)
2023-10-12 14:50:39 at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:70)
2023-10-12 14:50:39 at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:333)
2023-10-12 14:50:39 at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:87)
2023-10-12 14:50:39 at org.jruby.RubyClass.newInstance(RubyClass.java:939)
2023-10-12 14:50:39 at org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)
2023-10-12 14:50:39 at org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:207)
2023-10-12 14:50:39 at usr.share.logstash.vendor.bundle.jruby.$2_dot_5_dot_0.gems.logstash_minus_input_minus_imap_minus_3_dot_2_dot_0.lib.logstash.inputs.imap.RUBY$method$connect$0(/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-imap-3.2.0/lib/logstash/inputs/imap.rb:128)
2023-10-12 14:50:39 at usr.share.logstash.vendor.bundle.jruby.$2_dot_5_dot_0.gems.logstash_minus_input_minus_imap_minus_3_dot_2_dot_0.lib.logstash.inputs.imap.RUBY$method$connect$0$__VARARGS__(/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-imap-3.2.0/lib/logstash/inputs/imap.rb:123)
2023-10-12 14:50:39 at org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:80)
2023-10-12 14:50:39 at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:70)
2023-10-12 14:50:39 at org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:207)
2023-10-12 14:50:39 at usr.share.logstash.vendor.bundle.jruby.$2_dot_5_dot_0.gems.logstash_minus_input_minus_imap_minus_3_dot_2_dot_0.lib.logstash.inputs.imap.RUBY$method$check_mail$0(/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-imap-3.2.0/lib/logstash/inputs/imap.rb:143)
2023-10-12 14:50:39 at usr.share.logstash.vendor.bundle.jruby.$2_dot_5_dot_0.gems.logstash_minus_input_minus_imap_minus_3_dot_2_dot_0.lib.logstash.inputs.imap.RUBY$method$check_mail$0$__VARARGS__(/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-imap-3.2.0/lib/logstash/inputs/imap.rb:140)
2023-10-12 14:50:39 at org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:80)
2023-10-12 14:50:39 at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:70)
2023-10-12 14:50:39 at org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:207)
2023-10-12 14:50:39 at usr.share.logstash.vendor.bundle.jruby.$2_dot_5_dot_0.gems.logstash_minus_input_minus_imap_minus_3_dot_2_dot_0.lib.logstash.inputs.imap.RUBY$block$run$1(/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-imap-3.2.0/lib/logstash/inputs/imap.rb:136)
2023-10-12 14:50:39 at org.jruby.runtime.CompiledIRBlockBody.callDirect(CompiledIRBlockBody.java:138)
2023-10-12 14:50:39 at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:58)
2023-10-12 14:50:39 at org.jruby.runtime.Block.call(Block.java:143)
2023-10-12 14:50:39 at org.jruby.RubyProc.call(RubyProc.java:275)
2023-10-12 14:50:39 at org.jruby.RubyProc$INVOKER$i$call.call(RubyProc$INVOKER$i$call.gen)
2023-10-12 14:50:39 at org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:207)
2023-10-12 14:50:39 at usr.share.logstash.vendor.bundle.jruby.$2_dot_5_dot_0.gems.stud_minus_0_dot_0_dot_23.lib.stud.interval.RUBY$method$interval$0(/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/lib/stud/interval.rb:20)
2023-10-12 14:50:39 at org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:80)
2023-10-12 14:50:39 at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:70)
2023-10-12 14:50:39 at org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:197)
2023-10-12 14:50:39 at usr.share.logstash.vendor.bundle.jruby.$2_dot_5_dot_0.gems.logstash_minus_input_minus_imap_minus_3_dot_2_dot_0.lib.logstash.inputs.imap.RUBY$method$run$0(/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-imap-3.2.0/lib/logstash/inputs/imap.rb:135)
2023-10-12 14:50:39 at usr.share.logstash.vendor.bundle.jruby.$2_dot_5_dot_0.gems.logstash_minus_input_minus_imap_minus_3_dot_2_dot_0.lib.logstash.inputs.imap.RUBY$method$run$0$__VARARGS__(/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-imap-3.2.0/lib/logstash/inputs/imap.rb:133)
2023-10-12 14:50:39 at org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:80)
2023-10-12 14:50:39 at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:70)
2023-10-12 14:50:39 at org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:207)
2023-10-12 14:50:39 at usr.share.logstash.logstash_minus_core.lib.logstash.java_pipeline.RUBY$method$inputworker$0(/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:410)
2023-10-12 14:50:39 at usr.share.logstash.logstash_minus_core.lib.logstash.java_pipeline.RUBY$method$inputworker$0$__VARARGS__(/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:405)
2023-10-12 14:50:39 at org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:80)
2023-10-12 14:50:39 at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:70)
2023-10-12 14:50:39 at org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:207)
2023-10-12 14:50:39 at usr.share.logstash.logstash_minus_core.lib.logstash.java_pipeline.RUBY$block$start_input$1(/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:401)
2023-10-12 14:50:39 at org.jruby.runtime.CompiledIRBlockBody.callDirect(CompiledIRBlockBody.java:138)
2023-10-12 14:50:39 at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:58)
2023-10-12 14:50:39 at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:52)
2023-10-12 14:50:39 at org.jruby.runtime.Block.call(Block.java:139)
2023-10-12 14:50:39 at org.jruby.RubyProc.call(RubyProc.java:318)
2023-10-12 14:50:39 at org.jruby.internal.runtime.RubyRunnable.run(RubyRunnable.java:105)
2023-10-12 14:50:39 at java.base/java.lang.Thread.run(Thread.java:829)
2023-10-12 14:50:39
2023-10-12 14:50:59 [2023-10-12T12:50:59,090][ERROR][logstash.inputs.imap ][main][607b4174e99a4ef2dad679cd9ee7d6e3e8cf92dd7ac5b27f50fc360bc464a104] Encountered error OpenSSL::SSL::SSLError {:message=>"Socket closed", :backtrace=>["/usr/share/logstash/vendor/jruby/lib/ruby/stdlib/net/imap.rb:1127:in `initialize'", "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-imap-3.2.0/lib/logstash/inputs/imap.rb:128:in `connect'", "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-imap-3.2.0/lib/logstash/inputs/imap.rb:143:in `check_mail'", "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-imap-3.2.0/lib/logstash/inputs/imap.rb:136:in `block in run'", "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/lib/stud/interval.rb:20:in `interval'", "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-imap-3.2.0/lib/logstash/inputs/imap.rb:135:in `run'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:410:in `inputworker'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:401:in `block in start_input'"]}
2023-10-12 14:51:06 [2023-10-12T12:51:06,667][ERROR][logstash.licensechecker.licensereader] Unable to retrieve license information from license server {:message=>"No Available connections"}