Whenever performing discovery or rediscovery of devices, it is always showing 0 results
The real cause of the issue is that ehealth server might be having outdated or corrupted globals.tcl file in NH_HOME/extensions/finder/sys directory. Finder code will be using during discovery.
Replace the globals.tcl file from working server to problematic server.
File Location:NH_HOME\extensions\finder\sys directory