You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If there are no nodes/agents configured inside MeshCentral, a call to it with: {"action": "getDeviceDetails", "type": "json"} will not generate a response, perhaps a null or empty list would suffice. Right now it times out on programs relying on it.
To Reproduce
Steps to reproduce the behavior:
Roll out a MeshCentral instance with no devices. and then request the {"action": "getDeviceDetails", "type": "json"}
Expected behavior
An empty list or response which says there is nothing to report.
Server Software (please complete the following information):
OS: Debian
Virtualization: Docker
Network: standard
Version: latest
Node: docker-dependant
The text was updated successfully, but these errors were encountered:
si458
changed the title
MeshCentral returns nothing on {"action": "getDeviceDetails", "type": "json"}
if no nodes returns nothing with getDeviceDetails using json
Jan 2, 2025
si458
changed the title
if no nodes returns nothing with getDeviceDetails using json
if no nodes return nothing with getDeviceDetails using json
Jan 2, 2025
all fixed e66776c
basically it looks for nodes, no nodes where returned, but it couldnt callback because the function to callback was inside the loop of nodes which oversally wont get called because the is no nodes
Describe the bug
If there are no nodes/agents configured inside MeshCentral, a call to it with:
{"action": "getDeviceDetails", "type": "json"}
will not generate a response, perhaps a null or empty list would suffice. Right now it times out on programs relying on it.To Reproduce
Steps to reproduce the behavior:
Roll out a MeshCentral instance with no devices. and then request the
{"action": "getDeviceDetails", "type": "json"}
Expected behavior
An empty list or response which says there is nothing to report.
Server Software (please complete the following information):
The text was updated successfully, but these errors were encountered: