mRemoteNG Disconnection and 404 Error in LibreNMS Dashboard

Hello everyone,

I am currently facing an issue with my LibreNMS server. Initially, everything was working perfectly, but recently, the server has been disconnecting intermittently. I access the server via mRemoteNG, and every 2-5 minutes, I experience disconnections, along with a “404 Not Found” error message appearing on the LibreNMS dashboard at the same time.

However, when I access the server directly through Hyper-V Manager, everything seems to be running fine without any disconnections. This issue only occurs when using mRemoteNG.

Here’s a summary of the troubleshooting steps I’ve already tried:

  • Checked and verified that the server disk space and memory usage are not overloaded.
  • Reviewed the MariaDB logs, and there doesn’t seem to be any obvious error related to the disconnections.
  • Checked MySQL and MariaDB configurations (timeouts, connections, etc.), but the issue persists.
  • Attempted to optimize and repair the LibreNMS database, which didn’t resolve the issue.
  • Ensured all required services (MariaDB, Apache, etc.) are running smoothly and have not been crashing.

Despite these efforts, the disconnections and 404 errors continue. Can anyone suggest further steps or configurations I might be missing to resolve this issue?

Steps to Reproduce:

  1. Use mRemoteNG to access the LibreNMS server.
  2. Wait for 2-5 minutes.
  3. Observe the disconnection and 404 error on the LibreNMS dashboard.

Output of ./validate.php:

librenms@shsc-nms04:~$ ./validate.php

Component Version
LibreNMS 25.1.0 (2025-01-17T16:28:40+11:00)
DB Schema 2024_11_22_135845_alert_log_refactor_indexes (310)
PHP 8.3.17
Python 3.10.12
Database MariaDB 10.6.18-MariaDB-0ubuntu0.22.04.1-log
RRDTool 1.7.2
SNMP 5.9.1
===========================================

[OK] Composer Version: 2.8.5
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database connection successful
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQL and PHP time match
[OK] Distributed Polling setting is enabled globally
[OK] Connected to rrdcached
[OK] Active pollers found
[OK] Dispatcher Service not detected
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is functional
[OK] rrdtool version ok
[OK] Connected to rrdcached
librenms@shsc-nms04:~$

If you need additional logs or details, please let me know.

Thank you for your help!