Comments (5)
Could be because of wifi router issues with UDP Multicast. There's apparently many issues there. Using broadcast instead of multicast might fix it.
I don't want to promote my own autodiscovery library here, but if you could test with Diont (https://github.com/willemmulder/Diont) and use the broadcast:true flag to see whether that fixes it, we know what the problem is, and might add broadcast functionality to Polo as well.
from polo.
@willemmulder awesome! i just made you co-owner of polo in case you want work on some of those features (if not its cool too :))
from polo.
Thanks, I'll see what I can do! :-)
from polo.
@sonyarouje I think your problem is you're using apps.once, which only trigger once. You probably want to use apps.on. Maybe the example on README should be updated to use on() instead of once().
apps.on('up', function(name, service) {
console.log(apps.get(name));
});
from polo.
Thanks @siboulet thanks for your response. I will give a try, right now I solved it using node-discovery module.
from polo.
Related Issues (18)
- Polo 0.5.0 did not work with node 0.10 and fails with dgram.js:382 throw new errnoException(process._errno, 'addMembership'); HOT 1
- Suggestion: add zeroconf / mdns / bonjour keywords somewhere in readme for visibility HOT 4
- Discoverable Setup HOT 3
- What is the service type that polo is working on? HOT 7
- How can I find a polo-published application on Android? HOT 1
- What is the job of monitor.js HOT 2
- Monitor trying to use port 67567 HOT 2
- package dependencies version HOT 2
- dgram multicast not working in nodejs v11 HOT 1
- The lack of txtRecord HOT 1
- Multiple process on the same machine ? HOT 7
- Leaving the repository HOT 8
- Not able to use package HOT 1
- Refusing to install polo as a dependency of itself
- Error catching "down" event HOT 2
- Tests not passing : [err] 2/6 - 2-up-down.js -> timeout HOT 2
- Detecting failure between wifi and wired device HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from polo.