Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Unstable XMPP

Unstable XMPP

Scheduled Pinned Locked Moved Support
6 Posts 2 Posters 47.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    M
    MarcusH
    wrote on last edited by
    #1

    Hi,

    I have setup our events so they use XMPP since that is by far the best way for me now, especially now with server and clients that support carbon so the events pop up with history on all my connected devices that way i will not miss the events.

    The problem though is that XMPP from netxms seems very unstable, any reason why it does not send the message as soon as the event is triggered?
    It can be anything from a few minutes to the latest i had now was 44min before the msg was sent.

    Running version 2.0.5

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Hi,

      please increase debug level to 6 and check server log for messages with XMPP prefix - maybe there will be some hints.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • M
        M
        MarcusH
        wrote on last edited by
        #3

        Enabled mail action to the same events for some reference in the log and when action are triggered the smtp action is directly after so no delay at all there, the xmpp on the other hand is sent minutes later with no error or other xmpp related line in between in the log.

        [16-Aug-2016 20:06:06.741] [DEBUG] *actions* Executing action 1 (XMPP Marcus) of type XMPP MESSAGE
        [16-Aug-2016 20:06:06.741] [DEBUG] *actions* Sending XMPP message to
        [16-Aug-2016 20:06:06.741] [DEBUG] *actions* Executing action 2 (Mail Marcus) of type SEND EMAIL
        [16-Aug-2016 20:06:06.741] [DEBUG] *actions* Sending mail to
        [16-Aug-2016 20:06:06.741] [DEBUG] SMTP(0000000018D41A10): new envelope, rcpt
        [16-Aug-2016 20:06:06.910] [DEBUG] SMTP(0000000018D41A10): mail sent successfully
        ...
        [16-Aug-2016 20:08:55.799] [DEBUG] XMPP: SENT: <message to=

        1 Reply Last reply
        0
        • M
          M
          MarcusH
          wrote on last edited by
          #4

          Got one now with longer delay and is has some problems in the log, still same around 2min delay before first try though.
          From what i can see it delays 30min after reconnect to send the message.

          [17-Aug-2016 09:52:03.780] [DEBUG] *actions* Sending XMPP message to
          ...
          [17-Aug-2016 09:54:39.081] [DEBUG] XMPP: SENT: <message to="" type="chat"><body>
          [17-Aug-2016 09:54:39.081] [DEBUG] XMPP: Unrecoverable TLS error, 5.
          [17-Aug-2016 09:54:39.081] [DEBUG] XMPP: Closing socket.
          [17-Aug-2016 09:54:39.081] [DEBUG] XMPP: disconnected
          [17-Aug-2016 09:54:39.081] [DEBUG] XMPP: Stopping event loop.
          [17-Aug-2016 09:54:39.081] [DEBUG] XMPPMessageSender: XMPP connection unavailable, will retry in 30 seconds
          ...
          [17-Aug-2016 09:55:09.157] [DEBUG] XMPP: sock_connect to
          [17-Aug-2016 09:55:09.157] [DEBUG] XMPP: attempting to connect to
          [17-Aug-2016 09:55:09.191] [DEBUG] XMPP: connection successful
          ...
          [17-Aug-2016 09:55:09.702] [DEBUG] XMPP: Session establishment successful.
          [17-Aug-2016 09:55:09.702] [DEBUG] XMPP: connected
          ...
          [17-Aug-2016 10:25:26.610] [DEBUG] XMPP: SENT: <message to=

          1 Reply Last reply
          0
          • V
            V
            Victor Kirhenshtein
            wrote on last edited by
            #5

            So, it seems that disconnects cause those delays. Probably we need to add some sort of keepalive on XMPP connection to prevent it from timing out. I'll check that.

            Best regards,
            Victor

            1 Reply Last reply
            0
            • M
              M
              MarcusH
              wrote on last edited by
              #6

              Now the connection has failed completely without it even trying to reconnect only thing in the log is:

              XMPPMessageSender: XMPP connection unavailable, will retry in 30 seconds

              No other xmpp connection entries at all
              been like this since yesterday

              1 Reply Last reply
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              Powered by NodeBB Contributors
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups