v5.1.3 Android Client

Started by cserzs, February 20, 2025, 09:30:19 PM

Previous topic - Next topic

cserzs

Hi,

Is there Android client for the v5.1.3 release?
If not yet, will it be later?

Thank you in advance and best regards,
Zsolt

Filipp Sudanov

Hi,

Android client is being reworked - new API was added as server module and Android app is in development. We plan to release it when NetXMS 5.2 is out. If you want to test it before that, you can PM me your Google ID and we will add you to the group of test users.

cserzs

Hi,

Thank you very much for the previous feedback. Any information on when the ANDROID client will be available again? I cannot find the apk installer in the v5.2 and v5.2.1 files.

Thank you in advance and best regards, Zsolt

Alex Kirhenshtein

I'll try to push it into public beta (in the play store) next week

cserzs

Hi Alex,

Thank you very much for your feedback, but unfortunately I can't find the app in the play store.

BR, Zsolt


cserzs

Hi Filipp,

Thank you for information. I have downloaded and installed the mobile client from google play.
I have successfully updated the server and WEBUI to the latest version 5.2.3.
I connect my phone to the server via VPN (I use the WireGuard app). From the phone I can ping the IP address of the server and access the NetXMS WEB UI from a browser. However, I cannot access the server from the mobile app, I always get an Error: 404 message. In the Hostname or IP text box, I type the IP address of the server (which responds to a ping) and the corresponding username and password, but the mobile app won't connect to the server. What could be the problem?

Thank you in advance and best regards,
Zsolt

Filipp Sudanov

New Android client uses new WEB API that is a server module. 

Quick setup guide:
- add "Module=webapi,Y" to netxmsd.conf, module listens on port 8000 by default. You can change it:
[WEBAPI]
ListenerPort=12345

Please note, it's unencrypted HTTP!
- add nginx, reproxy, traefic - or any other ssl offloading app in front of it.
- connect to the APi endpoint.

But for testing you can skip this and just use HTTP

cserzs

Thank you Filipp,

If I add the "Module=webapi,Y" line to the \\NetXMS\etc\netxmsd.conf file, the NetXMS core service always stops and cannot be run.

best regards, Zsolt

Alex Kirhenshtein

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

cserzs

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

cserzs

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

Alex Kirhenshtein

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

cserzs

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.

Alex Kirhenshtein

Do you install from packages or build from source?