-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
jenkins 1.653 ircbot 2.27
Freenode IRC (chat.freenode.net) blacklists many IPs (e.g. a lot of AWS hosts) and requires them to use SASL to authenticate.
The latest version of pircbotx supports SASL, so the ircbot plugin could be upgraded to this version and expose an option to use SASL.
https://github.com/TheLQ/pircbotx/wiki/Documentation#sasl-authentication
This is the jenkins log with the current plugin, it fails with "Notice – You need to identify via SASL to use this server":
Mar 18, 2016 8:06:26 PM hudson.plugins.ircbot.v2.IRCConnection connect INFO: Connecting to chat.freenode.net:7000 as leeeeroy using charset UTF-8 Mar 18, 2016 8:06:26 PM org.pircbotx.PircBotX connect INFO: Connected to server. Mar 18, 2016 8:06:26 PM org.pircbotx.output.OutputRaw rawLineNow INFO: NICK leeeeroy Mar 18, 2016 8:06:26 PM org.pircbotx.output.OutputRaw rawLineNow INFO: USER PircBotx 8 * :PircBotX 2.0.1, a fork of PircBot, the Java IRC bot - p ircbotx.googlecode.com Mar 18, 2016 8:06:26 PM org.pircbotx.InputParser handleLine INFO: :weber.freenode.net NOTICE * :*** Looking up your hostname... Mar 18, 2016 8:06:26 PM hudson.plugins.ircbot.v2.PircListener onNotice INFO: Notice from weber.freenode.net: '*** Looking up your hostname...' Mar 18, 2016 8:06:26 PM org.pircbotx.InputParser handleLine INFO: :weber.freenode.net NOTICE * :*** Checking Ident Mar 18, 2016 8:06:26 PM hudson.plugins.ircbot.v2.PircListener onNotice INFO: Notice from weber.freenode.net: '*** Checking Ident' Mar 18, 2016 8:06:26 PM org.pircbotx.InputParser handleLine INFO: :weber.freenode.net NOTICE * :*** Found your hostname Mar 18, 2016 8:06:26 PM hudson.plugins.ircbot.v2.PircListener onNotice INFO: Notice from weber.freenode.net: '*** Found your hostname' Mar 18, 2016 8:06:36 PM org.pircbotx.InputParser handleLine INFO: :weber.freenode.net NOTICE * :*** No Ident response Mar 18, 2016 8:06:36 PM hudson.plugins.ircbot.v2.PircListener onNotice INFO: Notice from weber.freenode.net: '*** No Ident response' Mar 18, 2016 8:06:36 PM org.pircbotx.InputParser handleLine INFO: :weber.freenode.net NOTICE leeeeroy :*** Notice -- You need to identify via SASL to use this server Mar 18, 2016 8:06:36 PM hudson.plugins.ircbot.v2.PircListener onNotice INFO: Notice from weber.freenode.net: '*** Notice -- You need to identify via SASL to use this server' Mar 18, 2016 8:06:36 PM org.pircbotx.InputParser handleLine INFO: ERROR :Closing Link: ec2-XX-XXX-XXX-XXX.us-west-2.compute.amazonaws.com (SASL access only) Mar 18, 2016 8:06:37 PM org.pircbotx.dcc.DccHandler close INFO: Terminating all transfers waiting to be accepted Mar 18, 2016 8:06:37 PM org.pircbotx.PircBotX startLineProcessing INFO: Shutdown has been called, closing InputParser