-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Blocker
-
Component/s: instant-messaging-plugin, ircbot-plugin
-
None
-
Environment:Jenkins 1.501, IRC Plugin 2.21, IM PLugin 1.25
I'm seeing the error below. Unfortunately, there is no recovery here, and the trhead is stuck. I have to restart jenkins to run anew try with changed IRC settings.
hudson.plugins.im.IMConnectionProvider$ConnectorRunnable run
INFO: Trying to reconnect
hudson.plugins.ircbot.v2.IRCConnection connect
INFO: Connecting to xxxx:6667 as xxxx using charset UTF-8
Exception in thread "IM-Reconnector-Thread" java.lang.RuntimeException: Exception encountered when writng to socket
at org.pircbotx.OutputThread.sendRawLineNow(OutputThread.java:71)
at org.pircbotx.PircBotX.connect(PircBotX.java:340)
at hudson.plugins.ircbot.v2.IRCConnection.connect(IRCConnection.java:118)
at hudson.plugins.ircbot.v2.IRCConnectionProvider.createConnection(IRCConnectionProvider.java:37)
at hudson.plugins.im.IMConnectionProvider.create(IMConnectionProvider.java:65)
at hudson.plugins.im.IMConnectionProvider.access$600(IMConnectionProvider.java:22)
at hudson.plugins.im.IMConnectionProvider$ConnectorRunnable.run(IMConnectionProvider.java:183)
at java.lang.Thread.run(Thread.java:679)
Caused by: java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:220)
at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:290)
at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:294)
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:140)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
at java.io.BufferedWriter.flush(BufferedWriter.java:253)
at org.pircbotx.OutputThread.sendRawLineNow(OutputThread.java:67)
... 7 more