matrix-org / matrix-ircd

An IRCd implementation backed by Matrix.
Apache License 2.0
224 stars 41 forks source link

No longer connects #39

Closed madduck closed 7 years ago

madduck commented 7 years ago

Since upgrading from 8f4fee15bfebcbab80be08172f0d29f08b1c99b6 to 79487fe415a4287a139aa44ca1ae1387584e824d, I cannot connect to the IRCd from Irssi anymore. Here's what Irssi says:

[matrix] Irssi: Looking up matrix.madduck.net
[matrix] Irssi: Connecting to matrix.madduck.net [2001:a60:902f::bcae:fdab] port 6697
[matrix] Irssi: Certificate Chain:
[matrix] Irssi:   Subject: CN: cymbaline.madduck.net
[matrix] Irssi:   Issuer:  O: CAcert Inc., OU: http://www.CAcert.org, CN: CAcert Class 3 Root
[matrix] Irssi: Protocol: TLSv1.2 (128 bit, ECDHE-RSA-AES128-GCM-SHA256)
[matrix] Irssi: EDH Key: N/A
[matrix] Irssi: Public Key: 4096 bit RSA, valid from Oct 27 13:21:11 2016 GMT to Oct 27 13:21:11 2018 GMT
[matrix] Irssi: Public Key Fingerprint:  2F:08:39:3C:67:D1:4D:31:67:DB:E9:ED:CC:2B:4E:7E:D4:F5:7C:06:F1:78:DC:A8:E9:EC:B4:65:E9:72:2F:E9 (SHA256)
[matrix] Irssi: Certificate Fingerprint: 85:D9:11:5C:9B:4C:B5:06:5E:2B:5B:57:31:35:98:2C:B3:2A:C4:A9:33:22:5C:84:0F:5E:B6:5F:6C:B6:B5:E5 (SHA256)
[matrix] Irssi: Connection to matrix.madduck.net established

but there are no autojoins and if I try to /join, I am told that the server is not connected:

Irssi: Not connected to server

There is nothing in the logs that suggest anything, as they just end right after the following:

matrix-ircd[2162]:   ip: 2001:a60:902f::bcae:fda5, port: 35128
matrix-ircd[2162]:     Feb 22 02:24:53.391 WARN Invalid IRC line, line: CAP LS
matrix-ircd[2162]:     Feb 22 02:24:53.433 INFO Got nick and user
madduck commented 7 years ago

After 5 minutes, the connection will be dropped (and a reconnect happens to restart the cycle):

[matrix] Irssi: Connection lost to matrix.madduck.net

Nothing happens within these 5 minutes, neither.

From the Irssi rawlog it seems that after it sends NICK and USER (which the IRCd logs), nothing else is sent.

madduck commented 7 years ago

I seem to have found the issue. If I compile from source and cargo run, then it works. I had tried to use the binary from a cargo install before and that does not work… weird.

madduck commented 7 years ago

This is actually the same as #35 and thus I am closing…