How to setup XMPP?
Question asked by CCWH - November 8, 2014 at 9:49 AM
Unanswered
Hello all,
 
We are trying to configure XMPP within SM12.4 Enterprise.  The internal Web Chat is fine, however we cannot find enough information on setting this feature up with third parties.
 
We have found how to configure the XMPP third party client (here: https://portal.smartertools.com/kb/search.aspx?search=xmpp)
 
We have found how to enable the feature which as mentioned is working within the browser.  However even though we have found the port (5222) we can't find any other information.
 
I am assuming we need to create an A record (??) for XMPP and allow port 5222 on the server and bind to that FQDN.   Is this correct?  If so, what happens from there?

11 Replies

Reply to Thread
0
CCWH Replied
Just to add to this....

I have added port 5222 to the firewall and also added it (Bind) to IIS under the mailserver IP address.

I have tried a number of different third party XMPP / Jabber applications and nothing is working. All just cannot connect to the server. If I try telnet to port 5222 it allows the connection so either it's not getting to SM or some config is incorrect from the client end....as there is no full documentation of the setup of this it really shouldn't be shown as a feature.....
0
Steve Reid Replied
You do not need to bind port 5222 in IIS. You may need to check binding in smartermails ports and ip addresses.
0
CCWH Replied
Thanks. I tried by simply making sure that the Smartmail IP had the port 5222 bound to it, however still the same.

Also, I received an email saying someone else from SmarterTools had responded to this thread explaining that there is an issue with XMPP and a patch will be released this week....however after looking at the thread it seems to have been removed....
0
Mark DeLore Replied
Any change / update?  I've exhausted the XMPP clients available from Google Store and none will connect properly.  I can see the connection attempts in the log but 5:39:55 CLIENT FAILED TO CONNECT: con_4923 is common failure.
 
13.3
0
Matt Petty Replied
Employee Post
Do you have more information in the XMPP logs above that error?
Matt Petty
Software Developer
SmarterTools Inc.
(877) 357-6278
www.smartertools.com
0
Bruce Barnes Replied
We're running IP Plus Pro on our Android devices and have no problems.
 
SmarterMail 13.3 Enterprise (you must be running Enterprise for SMPP), under IIS and SSL.
Bruce Barnes
ChicagoNetTech Inc
brucecnt@comcast.net

Phonr: (773) 491-9019
Phone: (224) 444-0169

E-Mail and DNS Security Specialist
Network Security Specialist

Customer Service Portal: https://portal.chicagonettech.com
Website: https://www.ChicagoNetTech.com
Security Blog: http://networkbastion.blogspot.com/

Web and E-Mail Hosting, E-Mail Security and Consulting
0
Dan Dickson Replied
What is everyone using for desktop client? I haven't found anything as good as Pandion and it is buggy and no longer under active development now.
0
Matt Petty Replied
Employee Post
Dan, many of us use Pidgin. PSI is another good alternative that I have used in the past.
Matt Petty
Software Developer
SmarterTools Inc.
(877) 357-6278
www.smartertools.com
0
Mark DeLore Replied
I can't add comment, so I'll add as reply
 
12:08:13 RECV: <stream:stream to="hummelsop.com" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams"; version="1.0">
12:08:13 SENT: <?xml version='1.0'?><stream:stream from='hummelsop.com' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' xml:lang='en' id='xmpp_854993' version='1.0'>
12:08:13 SENT: <stream:features><auth xmlns='http://jabber.org/features/iq-auth'/><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism></mechanisms></stream:features>
12:08:13 RECV: <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
12:08:13 SENT: <proceed xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
12:08:13 [208.105.243.202][46381189] Exception negotiating SSL certificate: System.NullReferenceException: Object reference not set to an instance of an object.
   at MailService.TcpServerLib.Common.PooledTcpItem.ConvertToSSL(IPBindingPort setting, Log log, String sessionId)
   at MailService.TcpServerLib.XMPP.XMPPServer.#M5(Socket , PooledTcpItem , IPBindingPort , String )
12:08:13 ERROR: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'.
   at System.Net.Sockets.Socket.get_LocalEndPoint()
   at MailService.TcpServerLib.XMPP.XMPPServer.OnSSLConnection(XmppServerConnectionBase con, String sessId)
   at XMPP.OnSSLConnection.Invoke(XmppServerConnectionBase con, String sessId)
   at XMPP.XmppServerConnectionBase.streamParser_OnStreamElement(Object sender, Node e)
12:08:13 ERROR: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'.
   at System.Net.Sockets.Socket.BeginReceive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, SocketError& errorCode, AsyncCallback callback, Object state)
   at System.Net.Sockets.Socket.BeginReceive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, AsyncCallback callback, Object state)
   at XMPP.XmppSocketConnection.ReadCallback(IAsyncResult ar)
12:08:13 CLIENT FAILED TO CONNECT: con_7128
0
Matt Petty Replied
Employee Post
Mark, what client are you using. I will try and replicate your problem.
Matt Petty
Software Developer
SmarterTools Inc.
(877) 357-6278
www.smartertools.com
0
Mark DeLore Replied
Currently Xabber

Reply to Thread