-
Notifications
You must be signed in to change notification settings - Fork 116
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
Not working in Windows 10 #66
Comments
Hey Max, I haven't used this with Windows but judging by the error and the stack trace I'd say you should look into configuration of your network interface and whether or not multicast is enabled (or maybe it's on the system level). |
@m-altmeyer have you tried disabling Windows Firewall and testing this? I think it's enabled by default. |
Hello, I have the same issue, but i think its not the fault of the network. I have an working ESP8266 device with ssdp in windows 10, but as a generic root device. static const char* _ssdp_schema_template =
"HTTP/1.1 200 OK\r\n"
"Content-Type: text/xml\r\n"
"Connection: close\r\n"
"Access-Control-Allow-Origin: *\r\n"
"\r\n"
"<?xml version=\"1.0\"?>"
"<root xmlns=\"urn:schemas-upnp-org:device-1-0\">"
"<specVersion>"
"<major>1</major>"
"<minor>0</minor>"
"</specVersion>"
"<URLBase>http://%u.%u.%u.%u:%u/</URLBase>" // WiFi.localIP(), _port
"<device>"
"<deviceType>%s</deviceType>"
"<friendlyName>%s</friendlyName>"
"<presentationURL>%s</presentationURL>"
"<serialNumber>%s</serialNumber>"
"<modelName>%s</modelName>"
"<modelNumber>%s</modelNumber>"
"<modelURL>%s</modelURL>"
"<manufacturer>%s</manufacturer>"
"<manufacturerURL>%s</manufacturerURL>"
"<UDN>uuid:%s</UDN>"
"</device>"
"</root>\r\n"
"\r\n"; Where %u is specific device strings. |
@Matheus-Garbelini So, if I understand your question correctly, what you'd need to do here is to start a server like so var SSDP = require('../index').Server
, server = new SSDP({
location: `http://locationofthexmlfilehere`
}) so that server would advertise to other devices where to look for this XML. You can some other HTTP server somewhere on the network that'll serve the XML. |
Possibly similar to #72 (comment) – at the end of the comment there's a bit about disabling SSDPSRV. |
I just had something a little similar:
this is an SSDP client being created every 30s with a timeout of 10s doing an ssdp-all search. I suspect that it is to do with the network changing, or the machine sleeping/hibernating. I was working until 11pm GMT, so it died ~3 hours after I left the machine. - the machine is set to sleep after 2 hours; so a little strange that it lasted 3 (log times right now definitely match my GMT clock). |
Hey,
first of all thank you for developing this great node package! Unfortunately, I am not able to use it under Windows 10. I get the following error message:
Is there anything I can do?
Thanks and all the best,
Max
The text was updated successfully, but these errors were encountered: