~emersion/soju#134: 
soju 0.2.0 on FreeBSD 13/amd64 when accessed over WireGuard (in TLS mode) with weechat/catgirl fails to connect properly

After upgrading to 0.2.0, weechat (and catgirl) IRC clients both running on GNU/Linux is failing to connect (over wireguard + TLS) to a soju instance (hosted in a VPS, ~80ms away).

Debug output on soju (172.18.10.7:6697) side:

2021/09/18 20:45:38 downstream "172.18.10.1:37642": new connection                                                                  
2021/09/18 20:45:38 downstream "172.18.10.1:37642": failed to read IRC command: read tcp 172.18.10.7:6697->172.18.10.1:37642: i/o time

out 2021/09/18 20:45:38 downstream "172.18.10.1:37642": connection closed

On weechat side:

irc: reading data on socket: error -110 The TLS connection was non-properly terminated.

Soju configuration https://paste.sr.ht/~abbe/8073a12ba083b34fdda9fd8797f9331222c3e68b

gnutls-cli output: https://paste.sr.ht/~abbe/0e9e7342eb249d268bdbf2dbea388412892d8317

It's the soju side which tears down the TCP connection (i.e. sends FIN). Accessing over direct TCP (non-wireguard in TLS mode) seems to work fine.

As mentioned on IRC channel, git revision 0f2f4de2 seems to work fine as expected, but not the git revision 8adf65ad.

Thanks!

Status
RESOLVED FIXED
Submitter
~abbe
Assigned to
No-one
Submitted
1 year, 2 months ago
Updated
1 year, 2 months ago
Labels
No labels applied.

~emersion REPORTED FIXED 1 year, 2 months ago

This patch is now merged.

Register here or Log in to comment, or comment via email.