Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

irssi-xmpp 0.54 fails to connect to jabber server with irssi-1.2.0 #43

Closed
mjsaarin opened this issue Mar 7, 2019 · 5 comments
Closed

Comments

@mjsaarin
Copy link

mjsaarin commented Mar 7, 2019

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.

@ailin-nemui
Copy link
Contributor

try #40

@mjsaarin
Copy link
Author

mjsaarin commented Mar 8, 2019

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

@ailin-nemui
Copy link
Contributor

can you double check that you have loaded the compiled, patched, irssi-xmpp?

@MalakymR
Copy link

FYI - Patch works for me.

@mjsaarin
Copy link
Author

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.

@cdidier cdidier closed this as completed Oct 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants