nefertiti
nefertiti copied to clipboard
NEF in listen mode (aka as a HTTP server): Deleting a bot by port confuses the hub
Lets say we have 3 bots and the hub, so we have ports 38700-38703. If you send a DELETE request to 38702 and then PING the hub, it no longer reports 38703. I assume this is because the port check stops at the first closed port now. Is there a way to make the hub aware of which bots/ports it's currently running or responsible for? Do we have to rely on scanning a port range for responses? We can outsource the responsibility, but it seems silly for the hub to not have some way to keep track of its minions.
author: https://github.com/d00vy
Originally posted by @d00vy in https://github.com/svanas/nefertiti/issues/48#issuecomment-977111707