nefertiti icon indicating copy to clipboard operation
nefertiti copied to clipboard

NEF in listen mode (aka as a HTTP server): Deleting a bot by port confuses the hub

Open TaipeiHere opened this issue 3 years ago • 1 comments

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

TaipeiHere avatar Dec 21 '21 06:12 TaipeiHere

Originally posted by @d00vy in https://github.com/svanas/nefertiti/issues/48#issuecomment-977111707

TaipeiHere avatar Dec 21 '21 06:12 TaipeiHere