meshmonitor icon indicating copy to clipboard operation
meshmonitor copied to clipboard

[BUG] 4.17.2 - No nodes at all retrieved from MeshtasticD node.

Open kokoshell opened this issue 3 weeks ago • 6 comments

using latest MeshtasticD for RPI5 (aka PortDuino) v 2.8.3 Map is empty , node list is empty ...

Image

Android Meshtastic app has no issues for same node.

kokoshell avatar Nov 10 '26 21:11 kokoshell

Hi @kokoshell, thanks for the report!

Triage: I checked open and closed issues and found no duplicate, so I'm treating this as a Bug Report. "No nodes and an empty map" usually means MeshMonitor never finished the initial config download from the node (the want_config handshake that delivers the NodeDB). The cause could be on the connection side or the decode side, and I need a bit more information to tell which.

Things to check first (often the fix)

  1. Another TCP client on the same node. meshtasticd's TCP API (port 4403) is built for one client at a time. If the Android app is connected over WiFi/TCP to the same meshtasticd while MeshMonitor is connected, the two can keep taking the session from each other, and MeshMonitor's NodeDB download never completes. Please disconnect the Android app (or connect it over Bluetooth instead), then restart MeshMonitor or use Disconnect → Connect on the source. Do nodes appear after that?
  2. Which source you're viewing. In 4.x every view is per-source. Make sure the source selected in the UI is the one pointing at your meshtasticd, and that its status shows connected. Docs: Multi-Source
  3. Connection settings. Check the host/port (default 4403) and Docker networking. If MeshMonitor runs in Docker, localhost refers to the container, not the Pi. Docs: Using meshtasticd (see Troubleshooting → Connection Refused / Docker Networking Issues)

Information I need if it still fails

  • MeshMonitor logs from startup until a minute or two after it connects (docker logs meshmonitor 2>&1 | tail -n 300). The lines I'm looking for mention the TCP connect, want_config/config complete, disconnects/reconnects, and any protobuf decode errors.
  • meshtasticd logs from the same period (journalctl -u meshtasticd -n 300 for a native install).
  • Deployment: Docker, bare metal, LXC, or desktop? Which database (SQLite, PostgreSQL, or MySQL)?
  • What changed: did this work before? If so, which MeshMonitor version and which meshtasticd version were you running? Knowing whether the MeshMonitor upgrade (4.17.2) or the firmware upgrade (2.8.3) came first would narrow this down a lot.
  • Your screenshot: it shows about 378×146 px for me. Could you describe what it shows (connection status / source name), or attach a full-size version?
  • Does the Messages or Packet Monitor view show any traffic from this source? That tells us whether packets arrive but nodes aren't saved, or nothing arrives at all.

Meshtastic reference docs, in case they help: Linux Native (meshtasticd) · Client API (TCP / want_config flow)

Once I have the logs I can work out a root cause and a fix.

-- Authored by Roger 🤓


Generated by Claude Code

Yeraze avatar Nov 10 '26 21:11 Yeraze

There is no other client on the TCP API (port 4403) double checked ! Packet monitor shown full TX/RX packet activity with (older) node names. But nothing on the main map or node list !... Interesting that virtual node on 4404 exposes all nodes properly to some other Android client ...

kokoshell avatar Nov 10 '26 21:11 kokoshell

Channels are not displayed at all !

Image

Node list is empty !

Image

kokoshell avatar Nov 10 '26 21:11 kokoshell

Thanks @kokoshell, that detail helps a lot.

Packet Monitor shows names and the Virtual Node on 4404 serves every node, and both read MeshMonitor's own database. So MeshMonitor is receiving and storing your nodes and channels. What fails is the request the Nodes list, Map and Channels list all share: /api/poll. If that one request fails or comes back empty, all three go blank at once, which matches what you see.

To find out why, could you send:

  1. Browser DevTools → Network tab, filter poll: for the /api/poll?sourceId=... request, the HTTP status, the response size, and the sourceId in the URL. (A 500 or a 200 with "nodes":[] tells us different things.)
  2. Server log lines:
    docker logs meshmonitor 2>&1 | grep -E "consolidated poll|fetching nodes in poll|fetching channels in poll|Config sync complete|configComplete not received"
    
    Please paste any stack trace that shows up.
  3. Login: are you logged in, and as an admin? Does anything change after you log in as admin?
  4. Sources: a screenshot of the Sources list, so we can confirm there is one Meshtastic source and it's the one with the Virtual Node on 4404.
  5. A full-window screenshot showing the connection status and any banner.
  6. The full meshtasticd version string. There's no upstream v2.8.3 tag yet, so the exact build helps.

-- Authored by Roger 🤓


Generated by Claude Code

Yeraze avatar Nov 11 '26 12:11 Yeraze

Hi @kokoshell, an update: 4.17.3-rc6 (released today) includes a fix aimed at this symptom, #6358.

Your Nodes list, Map and Channels list all load from one request, /api/poll. Before this fix, if any one part of that request failed (the node load, the permission load, or the device node list), the whole reply came back empty, so all three pages went blank together while Packet Monitor and the Virtual Node kept working. That matches what you saw.

In rc6, each part fails on its own. The parts that work still load, and the server logs which part failed. When the list is empty because the poll failed, the Nodes and Channels pages also show a small notice instead of staying silently blank.

Could you try rc6?

  • Docker image: ghcr.io/yeraze/meshmonitor:4.17.3-rc6
  • Release notes: https://github.com/Yeraze/meshmonitor/releases/tag/v4.17.3-rc6

Then let us know:

  1. Do nodes, the map and channels show up now?
  2. Either way, please paste any lines from:
    docker logs meshmonitor 2>&1 | grep -E "\[poll\] section|consolidated poll"
    
    A [poll] section "..." failed line names the part that broke, and its error tells us the root cause so we can fix that too.

Authored by NodeZero 0️⃣

Yeraze avatar Nov 12 '26 20:11 Yeraze

Update from duplicate #6401 (same reporter): the problem is still there on MeshMonitor 4.17.3, this time against a node on firmware 2.8.2. The reporter says the Android app works on the same node, and packets are visibly arriving (screenshot).

4.17.3 includes the #6358 /api/poll section-isolation fix, so that fix didn't fully resolve this. We still need the [poll] section log lines and the /api/poll network response requested above to find the root cause.

-- Authored by Roger 🤓


Generated by Claude Code

Yeraze avatar Nov 14 '26 23:11 Yeraze