matrix-org / matrix-appservice-irc

Node.js IRC bridge for Matrix
Apache License 2.0
460 stars 149 forks source link

Old irc session hangs after disconnect, double messages observed #1779

Open rvstaveren opened 9 months ago

rvstaveren commented 9 months ago

After a purported disconnect of the irc bridge with the OFTC network somewhere around 14/15 september I’m having the following issues using the OFTC bridge:

Information about the sessions. The guur[m] is the nick that is no longer reachable by the matrix irc bridge

…
17:18 [ZNCOFTC] -!-    REDACTED ruben[m]  H+  2  ~rubenverw@2001:470:1af1:101::edea [com.verweg:ruben]
…
17:18 -!- ruben[m] [~rubenverw@2001:470:1af1:101::edea]
17:18 -!-  ircname  : com.verweg:ruben
17:18 -!-  channels : REDACTED
17:18 -!-  server   : helix.oftc.net [Umeå, Sweden]
17:18 -!-  hostname : 2001:470:1af1:101::edea 
17:18 -!- End of WHOIS
17:18 [ZNCOFTC] -!-    REDACTED guur[m]   H+  2  ~rubenverw@2001:470:1af1:101::edea [com.verweg:ruben]
…
17:18 [ZNCOFTC] -!- guur[m] [~rubenverw@2001:470:1af1:101::edea]
17:18 [ZNCOFTC] -!-  ircname  : com.verweg:ruben
17:18 [ZNCOFTC] -!-  channels : REDACTED
17:18 [ZNCOFTC] -!-  server   : kinetic.oftc.net [London, United Kingdom]
17:18 [ZNCOFTC] -!-  hostname : 2001:470:1af1:101::edea 
17:18 [ZNCOFTC] -!- End of WHOIS
…

The duplicate message issue. Posting with my irssi session…

image

Seeing it in the element session

image

Tried to restart my home server (synapse) to dislodge that session was to no effect. It looks like that session is stuck in the irc bridge.

Unfortunately I’m in the dark on how the disconnect between matrix/irc happened so I’m not able to describe how to reproduce it. There might be something visible in the logs though, if any