meshmonitor icon indicating copy to clipboard operation
meshmonitor copied to clipboard

[BUG] 4.11.2 - Error on Traceroute ....

Open kokoshell opened this issue 5 months ago • 4 comments

[ERROR] Error sending traceroute: Error: Not connected to Meshtastic node at MeshtasticManager.sendTraceroute (file:///root/meshmonitor/dist/server/meshtasticManager.js:7458:19) at file:///root/meshmonitor/dist/server/routes/meshRequestRoutes.js:24:28 at process.processTicksAndRejections (node:internal/process/task_queues:103:5)

kokoshell avatar Jun 21 '26 04:06 kokoshell

Root cause: sendTraceroute (in MeshtasticManager) correctly guards against sending when not connected and throws Error: Not connected to Meshtastic node. The route handler in meshRequestRoutes.ts caught this but returned a generic 500 { error: 'Failed to send traceroute' }, hiding the real reason from the UI.

Fix (PR #3597): The catch block now detects "Not connected" errors and returns 503 with { error: 'Not connected to Meshtastic node' } — the same pattern already used by the v1 messages API. The same fix is applied to the position request, nodeinfo request, neighborinfo request, and telemetry request endpoints so all five handlers behave consistently.


Generated by Claude Code

Yeraze avatar Jun 21 '26 04:06 Yeraze

Can you share some more details? The template exists for a reason.

Did this just randomly appear? In the logs or in the ui? Did you manually trigger a traceroute? Do you have auto traceroute enabled? Was your node online?

Yeraze avatar Jun 21 '26 12:06 Yeraze

Did this just randomly appear? - YES In the logs or in the ui? - LOGS Did you manually trigger a traceroute? - YES Do you have auto traceroute enabled? YES Was your node online? YES OF COURSE !!

kokoshell avatar Jun 21 '26 15:06 kokoshell

One time or ongoing? Can you provide a step-by-step to how you trigger this error, and a longer log segment showing more context? Also some details about deployment method, database backing, and node connection type.

I'm not seeing anything like this on my side.

Yeraze avatar Jun 21 '26 15:06 Yeraze