Project

General

Profile

Actions

Bug #723

closed

Can't connect to irc.libera.chat

Added by Antonio Terceiro over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Target version:
Start date:
2021-05-28
Due date:
% Done:

100%

Estimated time:
Patch Available:
No
Found in Versions:
Confirmed:
No
Branch:
Security:
No
Help Needed:
No

Description

Hi,

I'm setting up my presence on libera.chat, but I can't connect with bip. I use the very same settings as for the other networks, but the connection fails and I keep seeing the following message in bip.log:

28-05-2021 10:13:54 ERROR: [*connecting*] Error in protocol, closing...

Using the same settings, I can connect directly using Hexchat just fine.

Actions #1

Updated by Antonio Terceiro over 3 years ago

I'm using 0.9.0~rc3-1 from debian stable

my configuration:

network {
    name = "libera";
    ssl = true;
    server { host = "irc.libera.chat"; port = 6697; };
};

then

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"] %>";
    };
    # ...
}
Actions #2

Updated by Antonio Terceiro over 3 years ago

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.

Actions #3

Updated by Pierre-Louis Bonicoli over 3 years ago

  • Status changed from New to Resolved
  • Assignee set to Pierre-Louis Bonicoli
  • % Done changed from 0 to 100
  • Patch Available set to No
  • Security set to No
  • Help Needed set to No

The related bip log:

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...

The realname and the nickname were swapped in the IRC client configuration: the log mentions:

28-05-2021 11:30:40 DEBUG: "USER Antonio Terceiro 0 * :terceiro__"

while the IRC RFC mentions:
USER guest 0 * :Ronnie Reagan # (<user> <mode> <unused> <realname>)

Actions

Also available in: Atom PDF