[kopete-bugs] [Bug 181481] New: Kopete cannot login to gmx-Jabber servers (and probably many other servers)
Robert Wohlrab
robert.wohlrab at gmx.de
Wed Jan 21 10:44:18 CET 2009
http://bugs.kde.org/show_bug.cgi?id=181481
Summary: Kopete cannot login to gmx-Jabber servers (and probably
many other servers)
Product: kopete
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: Jabber Plugin
AssignedTo: kopete-bugs at kde.org
ReportedBy: robert.wohlrab at gmx.de
Version: (using Devel)
OS: Linux
Installed from: Compiled sources
I tried to connect to GMX's jabber server and got the information that this is
a unknown host. A quick check with PSI showed me that the server works fine and
only kopete isn't able to connect.
My current version of kopete is Version 0.60.82
Further investigations showed that the first packet send to the server differs
between kopete and PSI
PSI:
<?xml version="1.0"?>
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" version="1.0"
xmlns="jabber:client" to="gmx.de" xml:lang="en"
xmlns:xml="http://www.w3.org/XML/1998/namespace" >
Kopete:
<?xml version="1.0"?>
<stream:stream xmlns:stream="http://etherx.jabber.org/streams"
xmlns="jabber:client" to="gmx.de" >
I tested it with `cat bad|nc jabber.gmx.net 5222` but both versions showed the
same behavior and the server send only
<?xml version='1.0'?><stream:stream xmlns='jabber:client'
xmlns:stream='http://etherx.jabber.org/streams' id='1839397057'
from='dummyhost' xml:lang='en'><stream:error><host-unknown
xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error></stream:stream>
The next one was to check which server I connect to... and this seems to be the
problem. Kopete connects to gmx.de (213.165.65.50) and PSI to xmpp-gmx.gmx.net
A quick check which DNS packets were send showed the really difference. Kopete
asks for the ip of gmx.de and PSI asks about `host -t SRV -c IN
_xmpp-client._tcp.gmx.de` (and maybe falls back if to kopetes behaviour when it
fails).
See http://xmpp.org/rfcs/rfc3920.html#rfc.section.14.3 for more information
about that.
--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the kopete-bugs
mailing list