Bug 305857 - XMPP connection errors
Summary: XMPP connection errors
Status: RESOLVED NOT A BUG
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: git-latest
Platform: openSUSE Linux
: NOR normal
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-27 08:38 UTC by Matthias Mailänder
Modified: 2013-04-10 16:42 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Tried to connect to Facebook Chat. (67.06 KB, text/x-log)
2012-09-12 23:36 UTC, Matthias Mailänder
Details
Still the same meaningless error: "connection reset by peer" (21.13 KB, text/x-log)
2012-09-18 12:18 UTC, Matthias Mailänder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Mailänder 2012-08-27 08:38:00 UTC
I started ktp-contactlist in the Terminal to get some logs:

QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
ktp-contactlist(6823) KPixmapSequence::Private::loadSequence: Invalid framesize. 
ktp-contactlist(6823) KTp::GlobalPresence::setPresence: Requested presence change on empty accounts set 
Object::disconnect: Unexpected null parameter
matthias@mPad-X61s:~/Dokumente> tp-qt 0.9.3.1 WARN: Error parsing config file for connection manager "haze" - introspecting  
tp-qt 0.9.3.1 WARN: Error parsing config file for connection manager "haze" - introspecting  
ktp-contactlist(6823) KPixmapSequence::Private::loadSequence: Invalid framesize. 
ktp-contactlist(6823) KPixmapSequence::Private::loadSequence: Invalid framesize. 
ktp-contactlist(6823) KPixmapSequence::Private::loadSequence: Invalid framesize. 
ktp-contactlist(6823) KPixmapSequence::Private::loadSequence: Invalid framesize. 
tp-qt 0.9.3.1 WARN: Error parsing config file for connection manager "haze" - introspecting  
tp-qt 0.9.3.1 WARN: Error parsing config file for connection manager "haze" - introspecting  
ktp-contactlist(6823) KPixmapSequence::Private::loadSequence: Invalid framesize. 
ktp-contactlist(6823) KPixmapSequence::Private::loadSequence: Invalid framesize. 
QDBusSignature: invalid signature ""
QDBusSignature: invalid signature ""
QDBusSignature: invalid signature ""
QDBusSignature: invalid signature ""
QDBusSignature: invalid signature ""
QDBusSignature: invalid signature ""
QDBusSignature: invalid signature ""
QDBusSignature: invalid signature ""
QDBusSignature: invalid signature ""
QDBusSignature: invalid signature ""
QDBusSignature: invalid signature ""
QDBusSignature: invalid signature ""
QDBusSignature: invalid signature ""
QDBusSignature: invalid signature ""
QDBusSignature: invalid signature ""
QDBusSignature: invalid signature ""
QDBusSignature: invalid signature ""
QDBusSignature: invalid signature ""
QDBusSignature: invalid signature ""
QDBusSignature: invalid signature ""
QDBusSignature: invalid signature ""
QDBusSignature: invalid signature ""
QDBusSignature: invalid signature ""
QDBusSignature: invalid signature ""
QDBusSignature: invalid signature ""
ktp-contactlist(6823) KPixmapSequence::Private::loadSequence: Invalid framesize. 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
ktp-contactlist(6823) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets!

Everything else works just fine and looks really nice.

Reproducible: Always

Steps to Reproduce:
1. Create a Facebook or XMPP account
2. Try to connect
Actual Results:  
The GUI just pops up with "connection error".

Expected Results:  
Establish connection or tell me exactly what's wrong so I can fix my account settings if it's my fault.

I am using https://build.opensuse.org/project/show?project=KDE%3AUnstable%3APlayground%3ATelepathy with

ktp version 0.5.60 git revision 1345674274
libtelepathy-qt4 0.9.40 git revision 1342204833
telepathy-gabble 0.16.2 (but 0.16.1 won't work either)
telepathy-mission-control 5.12.1
Comment 1 squan 2012-08-28 13:00:09 UTC
Same problem for me:
Attempts to connect with ktp-contactlist to my jaber.org account time out after about 2 minutes (network error).
Connecting to another XMPP account on an inhouse server works just fine.
With kopete both accounts work fine (connection settings are the same (port 5222, no SSL encryption)).

Telepathy packages from 
http://download.opensuse.org/repositories/KDE:/Unstable:/Playground:/Telepathy/openSUSE_12.2
with KDE packages from 
http://download.opensuse.org/repositories/KDE:/Release:/49/openSUSE_12.2/
Comment 2 Martin Klapetek 2012-09-12 19:59:59 UTC
Thanks for the report and sorry for the late reply.

The contact list logs are only GUI logs, you can safely ignore those. To get a connection debug, please follow http://community.kde.org/Real-Time_Communication_and_Collaboration/FAQ#Providing_debug and post the Gabble logs.

Thanks.
Comment 3 Matthias Mailänder 2012-09-12 23:36:37 UTC
Created attachment 73876 [details]
Tried to connect to Facebook Chat.
Comment 4 Martin Klapetek 2012-09-13 15:18:37 UTC
Thanks a lot. Unfortunately as you can see in the log, it says "Connection reset by peer", so there's nothing we can do. Just to be sure we tried logging into facebook with two different accounts on two different computers and works ok. 

Maybe you have a firewall set up?

Closing as invalid then, sorry.
Comment 5 Matthias Mailänder 2012-09-13 16:16:03 UTC
Opening up Port 5222-5223 TCP on my router does not help. I will use Psi or QutIM for now and update to openSUSE 12.2 so I can build newer versions of Telepathy.
Comment 6 Matthias Mailänder 2012-09-14 12:07:28 UTC
It works with KDE-Telepathy 0.5 and with telepathy-gabble 0.16.0 and telepathy-glib 0.18.1 using the http://en.opensuse.org/KDE_repositories#Upstream_release_aka._KR49_.28KDE_SC_4.9.29 repositories (not Unstable:Playground).
Comment 7 Martin Klapetek 2012-09-14 15:44:36 UTC
Have you tried installing back the newer gabble version (0.16.2) and/or tp-glib to verify that's indeed the issue?

Either way, thanks a lot for reporting back.
Comment 8 Matthias Mailänder 2012-09-14 19:18:40 UTC
I updated to the latest released telepathy I could find pre-packaged:

telepathy-glib: 0.19.6
mission control 5.13.1
telepathy-gabble 0.16.2
libtelepathy-qt4 0.9.3

It is still connecting properly to Facebook via XMPP. I also checked while updating each package individually.

Maybe something from openSUSE 12.1 and this unstable repository broke something or the import from Empathy was not properly done (although I deleted and recreated it several times). Sorry for bothering you. Keep up the good work!
Comment 9 Martin Klapetek 2012-09-14 19:25:54 UTC
Not bothering at all, we're here to help :)
Comment 10 Matthias Mailänder 2012-09-17 14:50:46 UTC
After a reboot it now shows the connection error again. Downgrading did not help either. This might also have something to do with me migrating my old home folder to a new computer. Is there a way to purge my configuration?
Comment 11 Martin Klapetek 2012-09-18 09:30:58 UTC
There's ~/.mission-control/accounts/accounts.cfg and friends around and then there is  ~/.cache/.mc_connections and finally ~/.cache/telepathy/ but I might have missed something. Try playing with these and report back any time.
Comment 12 Matthias Mailänder 2012-09-18 11:48:34 UTC
Deleting the cache and reinstalling telepathy did not help.
Comment 13 Matthias Mailänder 2012-09-18 12:00:13 UTC
I just tried Pidgin 2.10.6 (libpurple 2.10.6) and it worked. Then I installed Empathy 3.4.2.3 which imported the connections known to work from pidgin and got me the same network error for all Jabber connections. So at least it seems it is not the fault of KTP.
Comment 14 Martin Klapetek 2012-09-18 12:07:04 UTC
KTp and Empathy share the same backend, it's telepathy-gabble for xmpp (gtalk and facebook too) and telepathy-haze for the rest. Haze then uses libpurple in the backend, which in turn is the lib Pidgin is built around.

I'm sorry to hear you still have troubles connecting. Just out of curiosity, can you do the log-thing once again and see if you're still getting the same error?
Comment 15 Daniele E. Domenichelli 2012-09-18 12:16:43 UTC
Please report this bug upstream at https://bugs.freedesktop.org/ product telepathy, component gabble
Comment 16 Matthias Mailänder 2012-09-18 12:18:04 UTC
Created attachment 73998 [details]
Still the same meaningless error: "connection reset by peer"

I disabled any proxy auto-detection now which I read in a bug report on FreeDesktop. Did not help at all.
Comment 17 Matthias Mailänder 2012-09-18 12:46:27 UTC
https://bugs.freedesktop.org/show_bug.cgi?id=55050
Comment 18 Matthias Mailänder 2013-04-10 16:42:11 UTC
This is more a usability problem than a real bug. KDE Telepathy uses the GNOME proxy settings for the gabble plugin. I switched from GNOME to KDE >2 years ago, but there were some left-over .gconf files and gsettings I purged to get this working: http://forum.kde.org/viewtopic.php?f=230&t=110776&p=262890#p262890