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

Error while using upnpclient.discover() #17

Open
AlexTechInc opened this issue Jan 20, 2019 · 4 comments
Open

Error while using upnpclient.discover() #17

AlexTechInc opened this issue Jan 20, 2019 · 4 comments

Comments

@AlexTechInc
Copy link

AlexTechInc commented Jan 20, 2019

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

@smshi
Copy link

smshi commented Sep 4, 2020

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
Copy link

smshi commented Sep 4, 2020

@AlexTechInc Have you resolved the problem?

@chachmu
Copy link

chachmu commented Apr 4, 2021

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
Copy link

chachmu commented Apr 4, 2021

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.

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

3 participants