Jabber connection fails (NS_ERROR_XPC_JS_THREW_JS_OBJECT)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SamePlace |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I tried to use Sameplace from inside Thunderbird. But trying to connect to a jabber service fails with the exceptions listed below.
System information:
SamePlace: 0.9.2.2008040512
xmpp4moz: 0.6.2.2008042012
OS: Linux
Application: Thunderbird 2.0.0.14 (2008050517)
Latest relevant errors from console:
[JavaScript Error: "[Exception... "'Error: Unhandled case.' when calling method: [nsIXMPPCacheSe
[JavaScript Error: "[Exception... "'Error: Unhandled case.' when calling method: [nsIXMPPCacheSe
[JavaScript Error: "[Exception... "'Error: Unhandled case.' when calling method: [nsIXMPPCacheSe
Changed in sameplace: | |
status: | New → Confirmed |
Following up from chatroom conversation, where you mentioned the server is swissjabber.eu, the issue is probably that it does not send the <bind> feature we are relying on during the authentication procedure:
DATA <<< <stream:features xmlns:stream="http:// etherx. jabber. org/streams"><register xmlns="http:// jabber. org/features/ iq-register"/><auth xmlns="http:// jabber. org/features/ iq-auth"/><starttls xmlns=" urn:ietf: params: xml:ns: xmpp-tls" /></stream: features>
For comparison, this is what sameplace.cc sends:
DATA <<< <stream:features xmlns:stream="http:// etherx. jabber. org/streams"><bind xmlns=" urn:ietf: params: xml:ns: xmpp-bind" /><session xmlns=" urn:ietf: params: xml:ns: xmpp-session" /></stream: features>
I'll check if I can support that without too much messing in the code...