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. Feature Requests
  3. [Android client] Keepalive

[Android client] Keepalive

Scheduled Pinned Locked Moved Feature Requests
8 Posts 2 Posters 21.2k 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.
  • O
    O
    ofca
    wrote on last edited by
    #1

    Android client is losing connection to the server (even on wifi), and carries on as nothing happened. I think it should expect a keepalive packet from the server every [$configurable_interval] seconds and should it miss [$configurable_amount] packets, it should attempt reconnect. This might also possibly affect desktop client; happened to me at least once, but it's not as big a of a problem, since desktop connections tend to be more stable.

    1 Reply Last reply
    0
    • J
      J
      Marco Incalcaterra
      wrote on last edited by
      #2

      @ofca said in [Android client] Keepalive:

      Android client is losing connection to the server (even on wifi), and carries on as nothing happened. I think it should expect a keepalive packet from the server every [$configurable_interval] seconds and should it miss [$configurable_amount] packets, it should attempt reconnect. This might also possibly affect desktop client; happened to me at least once, but it's not as big a of a problem, since desktop connections tend to be more stable.

      Android client receives broadcast notification from OS, so when the connection drops or is re-established the app should disconnect and reconnect according to that behaviour (unless something is changed in recent versions of OS) .
      Did you notice a specific situation when this doesn't happens?

      Best regards,
      Marco.

      1 Reply Last reply
      0
      • O
        O
        ofca
        wrote on last edited by
        #3

        No pattern, except maybe for moving through some poor-coverage areas. It just reliably becomes quiet after some time, no alerts, no nothing -- only reconnect helps. And it's not only my problem -- it happens on totally different phone with stock os too. Sending keepalives and reacting to lack of them should be bulletproof.

        1 Reply Last reply
        0
        • J
          J
          Marco Incalcaterra
          wrote on last edited by
          #4

          @ofca said in [Android client] Keepalive:

          Sending keepalives and reacting to lack of them should be bulletproof.

          In theory, receiving properly the connection notification from Android should have the same result. I have the impression that the poor coverage can be the culprit: in that case I guess that the app isn't able to properly handshake with the server going in timeout without retrying properly... I'll try to investigate.

          I've opened an issue:

          https://dev.raden.solutions/issues/1198

          Regards,
          Marco

          1 Reply Last reply
          0
          • O
            O
            ofca
            wrote on last edited by
            #5

            Actually it isn't the culprit. Or at least is one of many: same thing happens overnight on my home wifi, and there were no outages.

            1 Reply Last reply
            0
            • J
              J
              Marco Incalcaterra
              wrote on last edited by
              #6

              @ofca said in [Android client] Keepalive:

              Actually it isn't the culprit. Or at least is one of many: same thing happens overnight on my home wifi, and there were no outages.

              Thank you for adding info, the problem needs a deeper investigation. I'll post news when available.

              Regards,
              Marco

              1 Reply Last reply
              0
              • O
                O
                ofca
                wrote on last edited by
                #7

                I recently upgraded netxms and android client to 2.0.4 and unfortunately this is still unresolved. Client locks in some magic state, where not only it doesn't supply any notifications about alarms, but after bringing it to foreground and taping 'alarms' it keeps 'gathering data...' for few moments and then shows 'No items to show...'. Main menu shows 'Connected to server x.x.x.x'. Selecting reconnect fixes this.

                On a side note, alert filtering works flawlessly - thank you πŸ™‚

                1 Reply Last reply
                0
                • J
                  J
                  Marco Incalcaterra
                  wrote on last edited by
                  #8

                  @ofca said in [Android client] Keepalive:

                  I recently upgraded netxms and android client to 2.0.4 and unfortunately this is still unresolved. Client locks in some magic state, where not only it doesn't supply any notifications about alarms, but after bringing it to foreground and taping 'alarms' it keeps 'gathering data...' for few moments and then shows 'No items to show...'. Main menu shows 'Connected to server x.x.x.x'. Selecting reconnect fixes this.

                  On a side note, alert filtering works flawlessly - thank you πŸ™‚

                  Hi!,

                  it is still unresolved (as per issue https://dev.raden.solutions/issues/1198 not yet closed) because I did not find time to investigate, I'm sorry  😞

                  Regards,
                  Marco

                  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