upnpclient icon indicating copy to clipboard operation
upnpclient copied to clipboard

Error while using upnpclient.discover()

Open AlexTechInc opened this issue 7 years ago • 4 comments

Hi, when i run "upnpclient.discover()" - i got error : "Error 'HTTPConnectionPool(host='188.244.175.2', port=8080): Read timed out. (read timeout=10)' for http://192.168.1.1:port_hidden/wps_device.xml"

But before it , everything worked well

AlexTechInc avatar Jan 20 '19 10:01 AlexTechInc

Same problem are encountered by me.

devices = upnpclient.discover() Error 'HTTPConnectionPool(host='(null)', port=49152): Max retries exceeded with url: /wps_device.xml (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fcb209de828>: Failed to establish a new connection: [Errno -2] Name or service not known',))' for http://(null):49152/wps_device.xml Error 'HTTPConnectionPool(host='(null)', port=49152): Max retries exceeded with url: /wps_device.xml (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fcb209de710>: Failed to establish a new connection: [Errno -2] Name or service not known',))' for http://(null):49152/wps_device.xml Error 'HTTPConnectionPool(host='(null)', port=49152): Max retries exceeded with url: /wps_device.xml (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fcb209de828>: Failed to establish a new connection: [Errno -2] Name or service not known',))' for http://(null):49152/wps_device.xml Error 'HTTPConnectionPool(host='(null)', port=49152): Max retries exceeded with url: /wps_device.xml (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fcb209de710>: Failed to establish a new connection: [Errno -2] Name or service not known',))' for http://(null):49152/wps_device.xml Error 'HTTPConnectionPool(host='(null)', port=49152): Max retries exceeded with url: /wps_device.xml (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fcb209de828>: Failed to establish a new connection: [Errno -2] Name or service not known',))' for http://(null):49152/wps_device.xml

smshi avatar Sep 04 '20 10:09 smshi

@AlexTechInc Have you resolved the problem?

smshi avatar Sep 04 '20 10:09 smshi

I'm having a similar problem. Weirdly, it always seems to list an ip address that looks like it should be on my local network but doesn't actually exist when I try to find it.

chachmu avatar Apr 04 '21 18:04 chachmu

I was able to track down my issues to an emby server on my network returning a bunch of random ip addresses as its location when it responded to the scan. Changing its settings to use a specific local ip address seems to have solved the problem.

chachmu avatar Apr 04 '21 19:04 chachmu