Comments (5)
It's not clear what's causing this not to be found. What would be most useful is a filtered packet dump of what UDP packets came from 192.168.61.1 (or whatever IP the device is on at the time) in the two situations:
- when asking goupnp to discover devices
- when the third party app is discovering
Filtered especially to avoid over-sharing what's happening on your home network.
Particularly of interest are UDP packets that contain something looking like an HTTP response.
from goupnp.
The router is safe. It is for testing purposes only on the local network and nothing important connects to it.
What UDP packets are you implying? Unfortunately, the third party app(android - app) manages to find urls from both of my UPnP enabled routers in less than 5 seconds but none of the Go packages do.
from goupnp.
From your description I'm assuming that you're using goupnp to discover the router on your network, and it's failing to do so. (sidenote: do you have the code snippet?)
UPnP uses a few protocols to work. The discovery portion of it sends UDP to the local network, and then it listens for replies from devices. I'm guessing that some portion of this discovery process is not working.
from goupnp.
I am just running the examples for now.
// Use discovered WANIPConnection2 services to find external IP addresses.
func Example_WANIPConnection2_GetExternalIPAddress() {
clients, errors, err := internetgateway2.NewWANIPConnection1Clients()
extIPClients := make([]GetExternalIPAddresser, len(clients))
for i, client := range clients {
extIPClients[i] = client
}
DisplayExternalIPResults(extIPClients, errors, err)
// Output:
}
//Successfully discovered 0 services:
from goupnp.
Fixed!
It was my local firewall.
Now I will try to figure out which ports I need to open locally.
from goupnp.
Related Issues (20)
- Unable to find devices most of the time HOT 7
- It's not possible to query ssdp:all HOT 1
- Incorrect err (nil) returned incase of timeout in httpu HOT 6
- Discover UPnP as not active if UPnP not ON in device HOT 4
- Show devices connected to discovered UPnP enabled device. HOT 2
- GetTotalBytesSent() can't parse value, if it's negative HOT 3
- Fail on http post request to router. HOT 12
- httpu multicast fails on multiple interfaces HOT 7
- Please provide example of AV dlna device implementation (audio) HOT 2
- Could you specify some examples? HOT 10
- Making charset dependency optional HOT 6
- SSDPRawSearch: With the same USN, ipv4Response was replaced by ipv6Response, which is not effected for ipv4only client. HOT 1
- Contexts on HTTP calls HOT 6
- httpu: error while parsing response HOT 4
- Any plan to add SSDP Server Support ? HOT 1
- get the IP associated with the interface used to successfully discover the upnp setup ? HOT 26
- feat: context everywhere and non-blocking results HOT 2
- update the guide HOT 1
- Provide an API to use specific ip addresses for discovery 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 goupnp.