Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mDNS browser does not discover registries after a reset #23

Open
Mammouth2727 opened this issue Jan 11, 2017 · 0 comments
Open

mDNS browser does not discover registries after a reset #23

Mammouth2727 opened this issue Jan 11, 2017 · 0 comments

Comments

@Mammouth2727
Copy link

In NodeAPI.js, the resetMDNS function tries to stop the service browser (browser.stop()) and then invokes browser.discover() to make it discover services again. By looking at the mdns-js browser code we can see that this can't work since the stop method unregisters the browser instance from its own networking sub-layer. To fix this, two options : add a 'start' function in mdns-js Browser or simply recreate a new browser instance in resetMDNS.

This can be easily simulated by running the BBC IPStudio VM, stopping and starting the registry
sudo service ips-regaggregator stop
sudo service ips-regaggregator start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant