Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Michael Sievers <michael <at> hamburg.de>
Subject: Re: XMPP integration
Newsgroups: gmane.network.opennms.general
Date: Thursday 11th November 2010 07:41:47 UTC (over 7 years ago)
Hello,

Please make sure that none of the recipients of the messages has an empty
xmpp address. This seems to put the connection into an inconsistent state. 

Bye,
Michael




"Klaus Steden"  schrieb:

>
>Hi there,
>
>I started playing with OpenNMS XMPP integration, initially for a laugh
>but
>now that it didn't work out of the box it's become something of a
>mission to
>make it work properly. I've got the following in my
>xmpp-configuration.properties file:
>
>-- cut --
>xmpp.server = 
>xmpp.port = 5222 
>xmpp.TLSEnabled = false
>xmpp.SASLEnabled = false
>xmpp.selfSignedCertificateEnabled = true
>xmpp.debuggerEnabled = true
>xmpp.user   = opennms
>xmpp.pass   = opennms
>-- cut --
>
>When an XMPP notification gets generated, I see traffic between OpenNMS
>and
>the Jabber server, but no message is generated and I get errors like
>this in
>the notifd.log:
>
>-- cut --
>2010-11-08 18:10:16,006 FATAL [Thread-6562] Notifd: XMPP Manager unable
>to
>connect
>java.lang.IllegalStateException: Not connected to server.
>        at 
>org.jivesoftware.smack.XMPPConnection.addConnectionListener(XMPPConnection.j
>ava:770) ...
>    [more stuff left out]
>2010-11-08 18:10:21,012 FATAL [Thread-6562] Notifd: XMPP Manager unable
>to
>login: 
>No response from the server.:
>        at 
>org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthenticat
>ion.java:58) ...
>    [more stuff left out]
>2010-11-08 18:26:56,224 ERROR [Thread-10364] XMPPNotificationStrategy:
>Not
>connected to server.
>2010-11-08 18:26:56,376 WARN  [Smack Packet Reader (0)] Notifd: XMPP
>connection closed
>stream:error (host-unknown)
>        at 
>org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:306)
>...
>    [more stuff left out]
>-- cut --
>
>I did have a packet sniffer running on the Jabber server watching the
>traffic come in, and from the looks of it, the text transmitted looked
>mangled -- but it definitely tried to get in touch.
>
>The only thing I can think that might be a problem is the certificate
>the
>server issues needs to be confirmed by a client (e.g., iChat, Adium,
>etc.)
>when you first connect -- but I'm guessing that the
>xmpp.selfSignedCertificatEnabled configuration setting is there to deal
>with
>(ignore?) that cert and connect anyway?
>
>Any insight would be very helpful -- from what I found in Google, it
>looks
>pretty straightforward so I'm puzzled that our setup isn't working.
>
>thanks,
>Klaus
>
>
>------------------------------------------------------------------------------
>Centralized Desktop Delivery: Dell and VMware Reference Architecture
>Simplifying enterprise desktop deployment and management using
>Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
>client virtualization framework. Read more!
>http://p.sf.net/sfu/dell-eql-dev2dev
>_______________________________________________
>Please read the OpenNMS Mailing List FAQ:
>http://www.opennms.org/index.php/Mailing_List_FAQ
>
>opennms-discuss mailing list
>
>To *unsubscribe* or change your subscription options, see the bottom of
>this page:
>https://lists.sourceforge.net/lists/listinfo/opennms-discuss


------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of
this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
 
CD: 15ms