https://projects.duckcorp.org/https://projects.duckcorp.org/favicon.ico?16699090422021-05-28T14:25:29ZDuckCorp ProjectsBip - Bug #723: Can't connect to irc.libera.chathttps://projects.duckcorp.org/issues/723?journal_id=22242021-05-28T14:25:29ZAntonio Terceiro
<ul></ul><p>I'm using 0.9.0~rc3-1 from debian stable</p>
<p>my configuration:</p>
<pre>
network {
name = "libera";
ssl = true;
server { host = "irc.libera.chat"; port = 6697; };
};
</pre>
<p>then</p>
<pre>
user {
name = "terceiro";
# ...
connection {
name = "libera"; # used by bip only
network = "libera"; # which ircnet to connect to
follow_nick = true;
ignore_first_nick = true;
no_client_away_msg = "currently disconnected";
on_connect_send = "PRIVMSG NickServ :IDENTIFY <%= $irc_passwd["libera"] %>";
};
# ...
}
</pre> Bip - Bug #723: Can't connect to irc.libera.chathttps://projects.duckcorp.org/issues/723?journal_id=22262021-05-28T17:37:39ZAntonio Terceiro
<ul></ul><p>sorry for the noise, the problem was a client configuration error (I had nick and real name swapped). please close this issue as I can't do it on my own.</p> Bip - Bug #723: Can't connect to irc.libera.chathttps://projects.duckcorp.org/issues/723?journal_id=22272021-05-28T17:44:24ZPierre-Louis Bonicolipierre-louis.bonicoli@ir5.eu
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li><li><strong>Assignee</strong> set to <i>Pierre-Louis Bonicoli</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li><li><strong>Patch Available</strong> set to <i>No</i></li><li><strong>Security</strong> set to <i>No</i></li><li><strong>Help Needed</strong> set to <i>No</i></li></ul><p>The related bip log:<br /><pre>
28-05-2021 11:30:32 DEBUG: ":tungsten.libera.chat PONG tungsten.libera.chat :BIPPING"
28-05-2021 11:30:39 DEBUG: Trying to accept new client on 0
28-05-2021 11:30:39 DEBUG: New client on socket 5 !
28-05-2021 11:30:40 DEBUG: Negociated ciphers: TLS_AES_256_GCM_SHA384 TLSv1.3 Kx=any Au=any Enc=AESGCM(256) Mac=AEAD
28-05-2021 11:30:40 DEBUG: "CAP LS 302"
28-05-2021 11:30:40 DEBUG: "PASS terceiro:xxxxxxxxxxxxxxxxxxxxxxxxx:libera"
28-05-2021 11:30:40 DEBUG: "NICK terceiro"
28-05-2021 11:30:40 DEBUG: "USER Antonio Terceiro 0 * :terceiro__"
28-05-2021 11:30:40 ERROR: [*connecting*] Error in protocol, closing...
28-05-2021 11:30:40 DEBUG: Connection close asked. FD:5
28-05-2021 11:30:50 DEBUG: Trying to accept new client on 0
28-05-2021 11:30:50 DEBUG: New client on socket 5 !
28-05-2021 11:30:51 DEBUG: Negociated ciphers: TLS_AES_256_GCM_SHA384 TLSv1.3 Kx=any Au=any Enc=AESGCM(256) Mac=AEAD
28-05-2021 11:30:51 DEBUG: "CAP LS 302"
28-05-2021 11:30:51 DEBUG: "PASS terceiro:xxxxxxxxxxxxxxxxxxxxxxxxx:libera"
28-05-2021 11:30:51 DEBUG: "NICK terceiro"
28-05-2021 11:30:51 DEBUG: "USER Antonio Terceiro 0 * :terceiro__"
28-05-2021 11:30:51 ERROR: [*connecting*] Error in protocol, closing...
</pre></p>
<p>The realname and the nickname were swapped in the IRC client configuration: the log mentions:<br /><pre>28-05-2021 11:30:40 DEBUG: "USER Antonio Terceiro 0 * :terceiro__"</pre><br />while the <a href="https://datatracker.ietf.org/doc/html/rfc2812#section-3.1.3" class="external">IRC RFC mentions</a>:<br /><pre>USER guest 0 * :Ronnie Reagan # (<user> <mode> <unused> <realname>)</pre></p>