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. v5.1.3 Android Client

v5.1.3 Android Client

Scheduled Pinned Locked Moved Support
40 Posts 9 Posters 321.6k 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.
  • A
    A
    Alex Kirhenshtein
    wrote on last edited by
    #10

    what's in the logs? Also ",Y" is not required anymore, it's default now.
    Which version of the server you are using?

    1 Reply Last reply
    0
    • C
      C
      cserzs
      wrote on last edited by
      #11

      Hi Alex, I use the latest 5.2.3 version. I will check the logs ASAP. 
      Best regards, Zsolt

      1 Reply Last reply
      0
      • C
        C
        cserzs
        wrote on last edited by
        #12

        Hi Alex,

        The following information about the failed NetXMS core startup is in the netxmsd.log:

        2025.07.09 19:56:22.642 *I* [logger            ] Log file opened (rotation policy 2, max size 16777216)
        2025.07.09 19:56:22.642 *I* [startup            ] Starting NetXMS server version 5.2.3 build tag 5.2-345-g0ca84eba5b
        2025.07.09 19:56:22.642 *I* [startup            ] System time zone is KXX+02KXX
        2025.07.09 19:56:22.642 *I* [logger            ] Debug level set to 0
        2025.07.09 19:56:22.642 *I* [config            ] Main configuration file: C:\NetXMS\etc\netxmsd.conf
        2025.07.09 19:56:22.642 *I* [config            ] Configuration tree:
        2025.07.09 19:56:22.642 *I* [config            ] config
        2025.07.09 19:56:22.642 *I* [config            ]  +- server
        2025.07.09 19:56:22.642 *I* [config            ]      +- DBDriver
        2025.07.09 19:56:22.642 *I* [config            ]      |    value: pgsql.ddr
        2025.07.09 19:56:22.642 *I* [config            ]      +- DBServer
        2025.07.09 19:56:22.642 *I* [config            ]      |    value: localhost
        2025.07.09 19:56:22.642 *I* [config            ]      +- DBName
        2025.07.09 19:56:22.642 *I* [config            ]      |    value: netxms_db
        2025.07.09 19:56:22.642 *I* [config            ]      +- DBLogin
        2025.07.09 19:56:22.642 *I* [config            ]      |    value: netxms
        2025.07.09 19:56:22.642 *I* [config            ]      +- DBPassword
        2025.07.09 19:56:22.642 *I* [config            ]      |    value: ********
        2025.07.09 19:56:22.642 *I* [config            ]      +- LogFile
        2025.07.09 19:56:22.642 *I* [config            ]      |    value: C:\NetXMS\log\netxmsd.log
        2025.07.09 19:56:22.642 *I* [config            ]      +- Module
        2025.07.09 19:56:22.642 *I* [config            ]      |    value: webapi,Y
        2025.07.09 19:56:22.642 *I* [config            ]      +- ListenerPort
        2025.07.09 19:56:22.642 *I* [config            ]          value: 8000
        2025.07.09 19:56:22.644 *I* [startup            ] System hardware ID 29BD12835A0F6AC5ECC19D4AF52693A9320DC403
        2025.07.09 19:56:22.650 *I* [db.drv            ] Database driver "pgsql.ddr" loaded and initialized successfully
        2025.07.09 19:56:22.651 *I* [comm.listener      ] SocketListener/LocalAdmin: listening on 127.0.0.1:21784
        2025.07.09 19:56:22.651 *I* [comm.listener      ] SocketListener/LocalAdmin: listening on [127.0.0.1]:21784
        2025.07.09 19:56:23.308 *I* [startup            ] Server ID 33C6C28F00000029
        2025.07.09 19:56:23.331 *I* [db.writer          ] DBWriter/Housekeeper interlock is OFF
        2025.07.09 19:56:23.334 *I* [crypto            ] Crypto library initialized (OpenSSL 3.0.15 3 Sep 2024)
        2025.07.09 19:56:23.334 *I* [crypto.cert        ] Server certificate not set
        2025.07.09 19:56:23.334 *I* [crypto.cert        ] Internal CA certificate not set
        2025.07.09 19:56:23.423 *I* [macdb              ] OUI-24 database loaded (32548 entries)
        2025.07.09 19:56:23.430 *I* [macdb              ] OUI-28 database loaded (4403 entries)
        2025.07.09 19:56:23.437 *I* [macdb              ] OUI-36 database loaded (5046 entries)
        2025.07.09 19:56:23.443 *E* [modules            ] Unable to load module "webapi" (The specified module cannot be found.)

        Without the ",Y" the result is the same.

        best regards, Zsolt

        1 Reply Last reply
        0
        • A
          A
          Alex Kirhenshtein
          wrote on last edited by
          #13

          Looks like webapi module was not packaged in 5.1. I recommend you to upgrade to latest (5.2.4 at the moment) version.

          1 Reply Last reply
          0
          • C
            C
            cserzs
            wrote on last edited by
            #14

            I upgraded my server from v5.2.3 to v5.2.4, but unfortunately the situation has not changed.
            If I add the line "Module = webapi" to the netxmsd.conf file, the NetXMS core service will no longer start.

            1 Reply Last reply
            0
            • A
              A
              Alex Kirhenshtein
              wrote on last edited by
              #15

              Do you install from packages or build from source?

              1 Reply Last reply
              0
              • C
                C
                cserzs
                wrote on last edited by
                #16

                Hi Alex,

                I used the netxms-server-5.2.4-x64.exe file for the upgrade, as my system has less than 250 nodes.
                Another experience is that the netxms-webui-5.2.4-x64.exe cannot be downloaded from the https://netxms.com/downloads page.

                Best regard, Zsolt

                1 Reply Last reply
                0
                • F
                  F
                  Filipp Sudanov
                  wrote on last edited by
                  #17

                  Yes, looks that there's still a bug with webapi packaging, will check with developers. 
                  Webui should now be available for download (but, just in case, you can use any 5.2 webui or desktop ui with 5.2.4)

                  1 Reply Last reply
                  0
                  • C
                    C
                    cserzs
                    wrote on last edited by
                    #18

                    Hi Filipp,

                    Thank you in advance. Is there a chance that the problem will be fixed in the next version?

                    BR, Zsolt

                    1 Reply Last reply
                    0
                    • A
                      A
                      Alex Kirhenshtein
                      wrote on last edited by
                      #19

                      It's fixed in upcoming 5.2.5

                      1 Reply Last reply
                      0
                      • C
                        C
                        cserzs
                        wrote on last edited by
                        #20

                        Hi Alex,

                        I upgraded to version 5.2.5. Then, when I added the line "Module=webapi" to the \\NetXMS\etc\netxmsd.conf file, the core NetXMS service
                        started without any problem (it always stopped with the previous version).
                        Despite this, unfortunately, the mobile app still does not connect to the server (error code: 404).
                        I access the server from my mobile phone via a VPN connection.
                        What is the syntax of the "Hostname or IP" parameter in the mobile app?

                        BR, Zsolt

                        1 Reply Last reply
                        0
                        • F
                          F
                          Filipp Sudanov
                          wrote on last edited by
                          #21

                          The syntax is URL-like
                          http://hostname:port or http://IP:port

                          It's adviced to put e.g. nginx as reverse proxy to add ssl (then url would obviously by https://), but if you use VPN you are good with just http

                          1 Reply Last reply
                          0
                          • A
                            A
                            Alex Kirhenshtein
                            wrote on last edited by
                            #22

                            @cserzs said in v5.1.3 Android Client:

                            What is the syntax of the "Hostname or IP" parameter in the mobile app?

                            You can check if endpoint is correct - it should return information about the API itself, something like:

                            {"description": "NetXMS web service API", "version": "5.2.3.21", "build": "5.2-366-g15daea330f", "apiVersion": 1}⏎
                            
                            1 Reply Last reply
                            0
                            • C
                              C
                              cserzs
                              wrote on last edited by
                              #23

                              Hi,

                              Thank you for your support.
                              Can this webapi test be performed in a browser, e.g. with the URL "http://ipaddress:port/webapi"?
                              I tried this, but unfortunately I didn't get any results.

                              If I enter the Hostname or IP parameter in the format http://ipaddress:port in the Android app, I get an error code 500.

                              1 Reply Last reply
                              0
                              • W
                                W
                                WSallade
                                wrote on last edited by
                                #24

                                Have exact same issue. v5.2.6 on Debian, getting error 500 with Android app. 

                                Have webapi module loaded and get http://<server ip>:8000 returns "{"description": "NetXMS web service API", "version": "5.2.6", "build": "5.2-443-ge9a696f0c2", "apiVersion": 1}", so this looks good.

                                1 Reply Last reply
                                0
                                • F
                                  F
                                  Filipp Sudanov
                                  wrote on last edited by
                                  #25

                                  Can you capture network traffic on server's 8000 port using tcpdump (tcpdump -s 0 -w snmp.pcap port 8000) or Wireshark if you are on Windows.
                                  You can send resulting file to me via private message.

                                  Also check netxmsd log, may be there are some error messages there.

                                  1 Reply Last reply
                                  0
                                  • T
                                    T
                                    tolimanjo
                                    wrote on last edited by
                                    #26

                                    I was getting the '500' error from the client when using HTTP, and a packet capture showed HTTPS style connection attempts to the server. Perhaps Android was trying to be helpful?
                                    Anyway, putting an HTTPS-HTTP proxy in front of the server (and specifying https:// on the client) fixed the problem.

                                    1 Reply Last reply
                                    0
                                    • A
                                      A
                                      Alex Kirhenshtein
                                      wrote on last edited by
                                      #27

                                      @tolimanjo said in v5.1.3 Android Client:

                                      I was getting the '500' error from the client when using HTTP, and a packet capture showed HTTPS style connection attempts to the server. Perhaps Android was trying to be helpful?
                                      Anyway, putting an HTTPS-HTTP proxy in front of the server (and specifying https:// on the client) fixed the problem.

                                      if protocol is not specified in the connection string, https:// is added.

                                      1 Reply Last reply
                                      0
                                      • C
                                        C
                                        cwl
                                        wrote on last edited by
                                        #28

                                        @tolimanjo said in v5.1.3 Android Client:

                                        Anyway, putting an HTTPS-HTTP proxy in front of the server (and specifying https:// on the client) fixed the problem.

                                        Indeed, with nginx and a few lines in config it works via https.

                                        As for now it doen't look like offering much - no information on nodes, dashboard not working; will be implemented one day, I hope.
                                        Thq question is: the application does not notify about alarms as I can see. Is that correct?

                                        1 Reply Last reply
                                        0
                                        • N
                                          N
                                          NosekTomas
                                          wrote on last edited by
                                          #29

                                          Hi,
                                          I'm starting to play around with NetXMS and I can't seem to connect the new application. Or rather, I can't get the WebAPI to work/open.

                                          I used NetXMS a long time ago, and now I'm coming back to it. Back then, there was still the old Android application, which communicated via its mgmt port.

                                          Unfortunately, I couldn't find any documentation on how to get this new application up and running; the documentation refers to the old version.

                                          If I understand this thread correctly, the application requires the new WebAPI – the one that is set up as a module in netxmsd.conf (not the old one that was installed via a war file and tomcat).

                                          I added the following section to netxmsd.conf:

                                          Module = webapi
                                          
                                          [WEBAPI]
                                          ListenerPort = 8000
                                          

                                          According to the logs, it looks like the module has loaded, but is it only accessible from the localhost address?  I haven't been able to change this in any way. Port 8000 is not available when trying to connect to the netxms server.

                                          root@netxms-testing:/etc# ss -tulpn | grep 8000
                                          tcp   LISTEN 0      4096       127.0.0.1:8000       0.0.0.0:*    users:(("netxmsd",pid=8114,fd=21))
                                          

                                          Can anyone please help me or send me a link to existing documentation?

                                          Thank you very much.

                                          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