Page MenuHomeDevCentral

Can't end network registration on Freenode
Closed, ResolvedPublic

Description

When the darkbot connects to IRC, it hangs after having sent USER and NICK.

Debug messages don't print full IRC output. For example, we receive the ** init messages, but not the CAP answers, or the 900 or 903 confirmation for SASL.

Timers work, for example every minute, it sends a ping.

This behavior has been confirmed on the following networks:

NetworkIRC server
Liberasolanum-1.0-dev
OFTCHybrid IRCd

It worked fine on Freenode in 2017 while darkbot source code hasn't changed, so it's something added those last years.

This issue means we can't use Odderon anymore.

Revisions and Commits

Event Timeline

dereckson triaged this task as High priority.May 14 2023, 18:36
dereckson created this task.

I can repro while connecting to Libera through znc.

Hypothesis: it hangs when it receives a message it doesn't know how to handle.

Back to version 6f6, I can't repro the issue, it connects correctly:

IN ::sodium.libera.chat NOTICE odderon1 :*** Notice -- SASL authentication to a NickServ account with a verified email address is required to connect from your current network. Please see https://libera.chat/guides/sasl for configuration assistance.

IN :ERROR :Closing Link: windriver.nasqueron.org (SASL authentication to a NickServ account with a verified email address is required to connect from your current network. Please see https://libera.chat/guides/sasl for configuration assistance.)

OUT: QUIT :Caught ERROR from irc.ipv4.libera.chat :(

SASL patch tested in T1739 works fine:

Connecting to irc.ipv4.libera.chat:6667 ...
odderon has connected to erbium.libera.chat! [2627 pid]