Closed mjsaarin closed 5 years ago
try #40
Thanks for the suggestion. I cloned the current source tree, compiled irssi-xmpp and tried using it but the result was the same.
The irssi reports the behaviour like this:
08:06 -!- Irssi: Looking up jabberserver 08:06 -!- Irssi: Connecting to jabberserver [n.n.n.n] port 5222 08:06 -!- Irssi: Using STARTTLS encryption. XMPP Password: 08:06 -!- Irssi: Unable to connect server jabberserver port 5222 [Timeout]
And according to the network traffic the client closes the connection immediately:
08:06:18.313765 IP client.17438 > jabberserver.xmpp-client: Flags [S], seq 1770764839, win 65535, options [mss 1460,nop,wscale 6,sackOK,TS val 3553212350 ecr 0], length 0 08:06:18.318766 IP jabberserver.xmpp-client > client.17438: Flags [S.], seq 1472136705, ack 1770764840, win 65535, options [mss 1460], length 0 08:06:18.318796 IP client.17438 > jabberserver.xmpp-client: Flags [.], ack 1, win 65535, length 0 08:06:18.319019 IP client.17438 > jabberserver.xmpp-client: Flags [P.], seq 1:39, ack 1, win 65535, length 38 08:06:18.319489 IP jabberserver.xmpp-client > client.17438: Flags [.], ack 39, win 65535, length 0 08:06:18.319508 IP client.17438 > jabberserver.xmpp-client: Flags [P.], seq 39:160, ack 1, win 65535, length 121 08:06:18.319723 IP jabberserver.xmpp-client > client.17438: Flags [.], ack 160, win 65535, length 0 08:06:18.324060 IP jabberserver.xmpp-client > client.17438: Flags [P.], seq 1:191, ack 160, win 65535, length 190 08:06:18.368393 IP jabberserver.xmpp-client > client.17438: Flags [P.], seq 191:392, ack 160, win 65535, length 201 08:06:18.368414 IP client.17438 > jabberserver.xmpp-client: Flags [.], ack 392, win 65499, length 0 08:06:23.118930 IP client.17438 > jabberserver.xmpp-client: Flags [P.], seq 160:176, ack 392, win 65499, length 16 [authentication attempt took place here] 08:06:23.119044 IP client.17438 > jabberserver.xmpp-client: Flags [F.], seq 176, ack 392, win 65535, length 0 08:06:23.119214 IP jabberserver.xmpp-client > client.17438: Flags [.], ack 176, win 65535, length 0 08:06:23.119222 IP jabberserver.xmpp-client > client.17438: Flags [.], ack 177, win 65535, length 0 08:06:23.122050 IP jabberserver.xmpp-client > client.17438: Flags [F.], seq 392, ack 177, win 65535, length 0 08:06:23.122077 IP client.17438 > jabberserver.xmpp-client: Flags [.], ack 393, win 65535, length 0
can you double check that you have loaded the compiled, patched, irssi-xmpp?
FYI - Patch works for me.
Sorry for the long delay. And it seems I have been careless. I though git pull would have downloaded me the patched version but I was wrong. When I applied the patch from #40 XMPP connections work again.
I upgraded irssi to 1.2.0. After the upgrade irssi-xmpp fails to connect to jabber server. The client appears to do the STARTTLS phase and it prompts for password. After entering the password the connection is terminated with message like "Unable to connect server ... timeout". The host OS is FreeBSD 12.