amidaware/tacticalrmm

nats error deleting agent

Trapulo opened this issue · 0 comments

Server Info (please complete the following information):

  • OS: Debian 11
  • Browser: FFOX
  • RMM Version (as shown in top left of web UI): 0.19.3

Installation Method:

  • X Docker

Agent Info (please complete the following information):

  • Agent version (as shown in the 'Summary' tab of the agent from web UI): not installed
  • Agent OS: not installed

Describe the bug
I try to remove an agent of a dead PC from the list. Either from the GUI or the python manage.py bulk_delete_agents command I have some error related to nats.

nats: encountered error Traceback (most recent call last): File "/usr/local/lib/python3.11/asyncio/tasks.py", line 500, in wait_for return fut.result() ^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/streams.py", line 48, in open_connection transport, _ = await loop.create_connection( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1046, in create_connection infos = await self._ensure_resolved( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1420, in _ensure_resolved return await loop.getaddrinfo(host, port, family=family, type=type, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/base_events.py", line 868, in getaddrinfo return await self.run_in_executor( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ asyncio.exceptions.CancelledError

To Reproduce
Steps to reproduce the behavior:

  1. Go to agent in web gui
  2. Click on 'remove agent'
  3. See error in browser console.

Expected behavior
The agent may be removed from list.

Additional context
Same error calling the python scrip.