• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • ircbot-plugin
    • None

      IRC bot try to join chans before auth
      In case of restricted chan, bot can't join

      7 janv. 2011 23:13:16 hudson.plugins.ircbot.v2.PircConnection onServerResponse
      ATTENTION: IRC server responded error 473 Message:
      Hudson #dev :Cannot join channel (Invite only)
      7 janv. 2011 23:13:16 hudson.plugins.ircbot.v2.PircConnection onNotice
      INFO: Notice from NickServ: 'Password accepted - you are now recognized.'

          [JENKINS-8451] Join chans before auth

          kutzi added a comment -

          AFAI understand this, it seems to be the same issue as JENKINS-6600.

          The problem, if I remember correctly, is that there no standard way to recognize if one has been authentified.

          kutzi added a comment - AFAI understand this, it seems to be the same issue as JENKINS-6600 . The problem, if I remember correctly, is that there no standard way to recognize if one has been authentified.

          aeris22 added a comment -

          Yes, seems same problem
          I don't know if it is possible with this irc library and if this is an IRC stardard or not, but with a whois on an authenticated user, you can see if the user is authenticated or not
          The bot could send auth request and regularly made a whois on itself until real auth

          • [Aeris] (Aeris@Aeris.NetAdmin.UniversNet.org): Aeris
            [Aeris] #help
            [Aeris] *.UniversNet.org :UniversNet
            [Aeris] is a NetAdmin on UniversNet
            [Aeris] is using a secure connection
            [Aeris] is a registered nick
            [Aeris] Fin de la liste WHOIS.

          aeris22 added a comment - Yes, seems same problem I don't know if it is possible with this irc library and if this is an IRC stardard or not, but with a whois on an authenticated user, you can see if the user is authenticated or not The bot could send auth request and regularly made a whois on itself until real auth [Aeris] (Aeris@Aeris.NetAdmin.UniversNet.org): Aeris [Aeris] #help [Aeris] *.UniversNet.org :UniversNet [Aeris] is a NetAdmin on UniversNet [Aeris] is using a secure connection [Aeris] is a registered nick [Aeris] Fin de la liste WHOIS.

          kutzi added a comment -

          Still the same problem: if I wait for some signal which is non-standard, then users on IRC server which use a different signal that a user has been authentified will have their IRCBot never have join the channels.

          So, I still the prefer the solution from JENKINS-6600 - invite the bot to your channel.

          Let me think about some idle time after sending the NickServ command before joining the channels. Probably that would solve the problem for most of the users

          kutzi added a comment - Still the same problem: if I wait for some signal which is non-standard, then users on IRC server which use a different signal that a user has been authentified will have their IRCBot never have join the channels. So, I still the prefer the solution from JENKINS-6600 - invite the bot to your channel. Let me think about some idle time after sending the NickServ command before joining the channels. Probably that would solve the problem for most of the users

          kutzi added a comment -

          BTW: the whois trick doesn't seem to work on freenode.org I can see no clue in the reply if the user is authenticated or not.

          kutzi added a comment - BTW: the whois trick doesn't seem to work on freenode.org I can see no clue in the reply if the user is authenticated or not.

          kutzi added a comment -

          Please try the attached snapshot. It will sleep for 5 seconds before trying to join the channels.

          kutzi added a comment - Please try the attached snapshot. It will sleep for 5 seconds before trying to join the channels.

          aeris22 added a comment -

          Fix with your attachment

          aeris22 added a comment - Fix with your attachment

          kutzi added a comment -

          Fixed in ircbot v2.9

          kutzi added a comment - Fixed in ircbot v2.9

            kutzi kutzi
            aeris22 aeris22
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: