psi-plus does not connecto to google talk

Bug #1054556 reported by Andreas Siegert
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
psi-plus (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Trying to connecto to google talk, I see a TCP connection in TCPdump, but psi-plus never shows a successful login.
Pidgin running on the same bos using the same parameters works just fine.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: psi-plus 0.15.5338-1
ProcVersionSignature: Ubuntu 3.5.0-15.22-generic 3.5.4
Uname: Linux 3.5.0-15-generic x86_64
ApportVersion: 2.5.2-0ubuntu4
Architecture: amd64
Date: Sat Sep 22 13:57:28 2012
InstallationMedia: Xubuntu 12.10 "Quantal Quetzal" - Beta amd64 (20120921)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: psi-plus
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Andreas Siegert (afx) wrote :
Revision history for this message
Tehnick (tehnick) wrote :

Psi+ prefer IPv6 instead of IPv4. There are few possible solutions:
1) Disable IPv6 completely in your system.
2) Setup IPv6 to work in your system. (Usually installing miredo is the fastest and the simplest way)
3) Set direct IPv4 address in connection settings of you XMPP account in Psi+. (Use `host google.com` to find list of Google addresses)

Changed in psi-plus (Ubuntu):
status: New → Invalid
Revision history for this message
Andreas Siegert (afx) wrote :

Setting the IPv4 address directly does not help.
Any why would PSI plus exhibit this behavior on 12.10 while it works just fine on my 12.4 box on the same net when it needs v6?

Revision history for this message
Andreas Siegert (afx) wrote :

Disabling v6 does not change the behavior at all.
As already mentioned above, it does have a v4 connection to the google server as seen in tcpdump.

Revision history for this message
Tehnick (tehnick) wrote :

Ok, could you attach screenshots with your settings?

Many people use google XMPP server in Psi+ without such problem. Psi+ has known issue with IPv6 after Google added IPv6 address in their DNS, but solutions from above list should help...

Changed in psi-plus (Ubuntu):
status: Invalid → New
Revision history for this message
Andreas Siegert (afx) wrote :
Revision history for this message
Andreas Siegert (afx) wrote :
Revision history for this message
Andreas Siegert (afx) wrote :
Revision history for this message
Tehnick (tehnick) wrote :

Hmm, I've just found in logs:
http://<email address hidden>/2012/01/31.html#07:45:55.100299

Could you try 173.194.70.125 or 74.125.135.125?

Revision history for this message
Andreas Siegert (afx) wrote :

Same result ;-(

Revision history for this message
Tehnick (tehnick) wrote :

Ok, I heard that libqca2 (cryptographic library) was recently broken in Ubuntu. Could you try plain (not encrypted) connection?

Revision history for this message
Tehnick (tehnick) wrote :

Also you can try last version of Psi+ from official PPA to check if this bug is still reproducible in your system.
See: https://launchpad.net/~psi-plus/+archive/ppa

Revision history for this message
Andreas Siegert (afx) wrote :

It seems impossible to use a plaintext connection with google talk ;-( See screenshot)

Using the version from the PPA does not give any different results.

What I do see in the terminal when trying to run any of the two versions is some signature error which seems to confirm a crypto problem:

[14:07:00] Unknown signature value: 795
[14:07:00] Unknown signature value: 668
[14:07:17] Unknown signature value: 668
[14:07:17] Unknown signature value: 668
[14:07:17] Unknown signature value: 669
[14:07:17] Unknown signature value: 795
[14:07:17] Unknown signature value: 795
[14:07:17] Unknown signature value: 795
[14:07:17] Unknown signature value: 668
[14:07:17] Unknown signature value: 668
[14:07:17] Unknown signature value: 668

Revision history for this message
Tehnick (tehnick) wrote :

Have you tried to connect on port 5223? (SSL encryption is used there)

Revision history for this message
Andreas Siegert (afx) wrote :

Same result with 5223. Same sig errors inthe terminal.

Revision history for this message
Tehnick (tehnick) wrote :

I saw new thread (in Russian) about problems with connect to gtalk:
http://<email address hidden>/2012/09/29.html#12:52:34.259078

In short: user uses two step authentication in google and this causes the problem.
This can be fixed here: https://accounts.google.com/b/0/IssuedAuthSubTokens

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in psi-plus (Ubuntu):
status: New → Confirmed
Revision history for this message
Bigblacklazycat (bigblacklazycat) wrote :

i don't use two step authentication in google, but can't connect to google talk

Revision history for this message
Andreas Siegert (afx) wrote :

@Tehnick:
I already stated above it works fine on 12.4. So the two factor thing is irrelevant.

Revision history for this message
Tehnick (tehnick) wrote :

Ok. Could you downgrade the version of libqca2 library in your system and test the connection again?

For example, fast way:
wget -c https://launchpad.net/ubuntu/+archive/primary/+files/libqca2_2.0.3-2_amd64.deb
sudo dpkg -i libqca2_2.0.3-2_amd64.deb
Restart Psi+.

Revision history for this message
Andreas Siegert (afx) wrote :

Sorry, can't test anything the next two weeks, travelling with my 12.4 box.

Revision history for this message
Tehnick (tehnick) wrote :

Update packages with ssl libraries:
  libssl1.0.0:i386 1.0.1c-3ubuntu1 -> 1.0.1c-3ubuntu2
  openssl:i386 1.0.1c-3ubuntu1 -> 1.0.1c-3ubuntu2

It should solve your problem.

Revision history for this message
Tehnick (tehnick) wrote :

Of course it will be libssl1.0.0:amd64 and openssl:amd64 in your case.

Revision history for this message
Chaskiel Grundman (cg2v) wrote :

You probably need to downgrade libqca2-plugin-ossl instead of or in addition to libqca2. I have a 12.4 system with a rebuilt/updated libqca2-plugin-ossl and I had this problem (with psi+ but not psi). Installing miredo worked around it.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package psi-plus - 1.2.105-1

---------------
psi-plus (1.2.105-1) unstable; urgency=medium

  * New upstream release.
  * Bump Standards-Version to 4.1.1 (was 4.1.0): no changes required.

 -- Boris Pek <email address hidden> Thu, 26 Oct 2017 00:41:55 +0300

Changed in psi-plus (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.