cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Please note that Remote Expert Mobile announced end-of-life and support will end on February 28, 2022.
2125
Views
1
Helpful
6
Replies
Highlighted
Beginner

Problems connecting other desktop XMPP clients to CUP server

Hi,

We are developing a custom desktop XMPP client application. The client is currently working using an OpenFire server. We are investigating the use of the CUP server instead in order to integrate voice functionality with the Cisco phones. We already have a CUP server operational, and some employees use Cisco's Jabber desktop client with no issues. However, when attempting to connect to the CUP server using our custom XMPP client or when using Spark Instant Messenger, I receive a bind conflict error (even though the user is logged out everywhere else). The XMPP traffic is shown below. Do I have to authenticate with the CUCM server as well as the CUP server?

Thank you,

Matt

XMPP Traffic:

SEND: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="cucmimpvm01.elliottelectric.com" version="1.0" >

RECV: <stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' xml:lang='en-US.UTF-8' id='53F79685AED' from='cucmimpvm01.elliottelectric.com' version='1.0'>

RECV: <stream:features><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'><required/></starttls></stream:features>

SEND: <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" />

RECV: <proceed xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>

SEND: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="cucmimpvm01.elliottelectric.com" version="1.0" >

RECV: <stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' xml:lang='en-US.UTF-8' id='53F79685AED' from='cucmimpvm01.elliottelectric.com' version='1.0'>

RECV: <stream:features><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>PLAIN</mechanism><mechanism>CISCO-VTG-TOKEN</mechanism></mechanisms></stream:features>

SEND: <auth mechanism="PLAIN" xmlns="urn:ietf:params:xml:ns:xmpp-sasl">AG1hdHR0ZXN0AHN1cGR1ZGU3</auth>

RECV: <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>

SEND: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="cucmimpvm01.elliottelectric.com" version="1.0" >

RECV: <stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' xml:lang='en-US.UTF-8' id='53F79685AED' from='cucmimpvm01.elliottelectric.com' version='1.0'>

RECV: <stream:features><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/><session xmlns='urn:ietf:params:xml:ns:xmpp-session'/></stream:features>

SEND: <iq id="MX_1" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource>Matrix</resource></bind></iq>

RECV: <iq id='MX_1' type='error'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/><error code='409' type='cancel'><conflict xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>

RECV: </stream:stream>

SEND: </stream:stream>

6 REPLIES 6
Highlighted
Cisco Employee

I have some questions:

1. What browser are you using (if you're using a browser - you don't say)?

2. What does your BOSH URL look like?  Sanitize it if you need to.

3. What are the security settings on the CUP server?  Is it set to secure web connection or is that option unchecked?

Highlighted

Hi Nicholas,

I’m not using a browser because it’s a desktop client, not a web-based client. I am also not using BOSH since it’s a desktop client. The server is setup for secure mode, both for XMPP and web clients.

Thanks for your help,

Matt

Highlighted

In that case, what library and language are you using?  Smack and Java? 

Also, have you tried connecting with another client, like Jitsi or Pidgin?  Those work fine for me.  If those clients connect for you okay, then it's probably something in your XMPP library or your code, and that's not something I can help you with. 

Highlighted

I am using Matrix XMPP library for VB.NET.

I have not tried Jitsi or Pidgin, but I have tried Spark Instant Messenger.

Highlighted

Are you able to login with Spark?  Spark works fine with our Cisco IM&P server. 

I recommend Jitsi for debugging things like this.  It creates unencrypted Wireshark PCAP files in a log directory, which you can examine to see what's going on during the login process. 

Highlighted

Spark is not successfully logging in.

I receive the error message: "Unable to login due to account already signed in."

We have needed to move forward with OpenFire server for now and may have time to revisit this issue later.

This widget could not be displayed.