-
Bug
-
Resolution: Unresolved
-
Major
-
Jenkins 2.478
Logstash Plugin 2.5.0218.v0a_ff8fefc12b_
I installed the Logstash Plugin for testing.
It works fine.
But my ELK-Stack is not running every time. In this case I disabled the plugin after testing.
And I clicked on Apply and Save. To be sure.
But than I see this
Started by user Jenkins [logstash-plugin]: Failed to send log data: nuc-mini-server:5166. [logstash-plugin]: No Further logs will be sent to nuc-mini-server:5166. java.net.NoRouteToHostException: No route to host at java.base/sun.nio.ch.Net.connect0(Native Method) at java.base/sun.nio.ch.Net.connect(Net.java:579) at java.base/sun.nio.ch.Net.connect(Net.java:568) at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:593) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) at java.base/java.net.Socket.connect(Socket.java:633) at java.base/java.net.Socket.connect(Socket.java:583) at java.base/java.net.Socket.<init>(Socket.java:507) at java.base/java.net.Socket.<init>(Socket.java:287) at PluginClassLoader for logstash//jenkins.plugins.logstash.persistence.LogstashDao.push(LogstashDao.java:17) at PluginClassLoader for logstash//jenkins.plugins.logstash.LogstashWriter.write(LogstashWriter.java:184) at PluginClassLoader for logstash//jenkins.plugins.logstash.LogstashWriter.write(LogstashWriter.java:118) at PluginClassLoader for logstash//jenkins.plugins.logstash.LogstashOutputStream.eol(LogstashOutputStream.java:64) at hudson.console.LineTransformationOutputStream.eol(LineTransformationOutputStream.java:69) at hudson.console.LineTransformationOutputStream.write(LineTransformationOutputStream.java:62) at hudson.console.LineTransformationOutputStream.write(LineTransformationOutputStream.java:84) at java.base/java.io.PrintStream.write(PrintStream.java:568) at java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:234) at java.base/sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:313) at java.base/sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:111) at java.base/java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:178) at java.base/java.io.PrintStream.writeln(PrintStream.java:723) at java.base/java.io.PrintStream.println(PrintStream.java:1028) at hudson.model.Cause$UserIdCause.print(Cause.java:470) at hudson.model.BuildListener.started(BuildListener.java:50) at PluginClassLoader for workflow-job//org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:291) at hudson.model.ResourceController.execute(ResourceController.java:101) at hudson.model.Executor.run(Executor.java:445)
Than I restarted the whole VM and the error is there.
Why the plugin is not disabled and try to send the logs to logstash?