You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, I just tried probing my network then running the probe: I see this in the logs, and a server error over HTTP.
::ffff:192.168.86.31 - - [30/Nov/2019 16:08:57] "GET /probe?target=http%3A%2F%2F192.168.86.1%3A5000%2FrootDesc.xml HTTP/1.1" 500 59
Traceback (most recent call last):
File "/usr/lib/python3.7/wsgiref/handlers.py", line 137, in run
self.result = application(self.environ, self.start_response)
File "/home/pi/.local/lib/python3.7/site-packages/igd_exporter/exporter.py", line 20, in wsgi_app
return probe(environ, start_response)
File "/home/pi/.local/lib/python3.7/site-packages/igd_exporter/exporter.py", line 99, in probe
reg.register(igd.probe(qs['target'][0]))
File "/home/pi/.local/lib/python3.7/site-packages/igd_exporter/igd.py", line 151, in probe
device = probe_device(target_url)
File "/home/pi/.local/lib/python3.7/site-packages/igd_exporter/igd.py", line 182, in probe_device
url_path = device.findtext("d:serviceList/d:service[d:serviceType='urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1']/d:controlURL", namespaces=ns)
AttributeError: 'NoneType' object has no attribute 'findtext'
The text was updated successfully, but these errors were encountered:
mhansen
changed the title
Crash querying Google OnHub device: 'NonType' object has no attribute 'findtext'
Crash querying Google OnHub device: 'NoneType' object has no attribute 'findtext'
Jan 12, 2020
Hi there, I just tried probing my network then running the probe: I see this in the logs, and a server error over HTTP.
::ffff:192.168.86.31 - - [30/Nov/2019 16:08:57] "GET /probe?target=http%3A%2F%2F192.168.86.1%3A5000%2FrootDesc.xml HTTP/1.1" 500 59
Traceback (most recent call last):
File "/usr/lib/python3.7/wsgiref/handlers.py", line 137, in run
self.result = application(self.environ, self.start_response)
File "/home/pi/.local/lib/python3.7/site-packages/igd_exporter/exporter.py", line 20, in wsgi_app
return probe(environ, start_response)
File "/home/pi/.local/lib/python3.7/site-packages/igd_exporter/exporter.py", line 99, in probe
reg.register(igd.probe(qs['target'][0]))
File "/home/pi/.local/lib/python3.7/site-packages/igd_exporter/igd.py", line 151, in probe
device = probe_device(target_url)
File "/home/pi/.local/lib/python3.7/site-packages/igd_exporter/igd.py", line 182, in probe_device
url_path = device.findtext("d:serviceList/d:service[d:serviceType='urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1']/d:controlURL", namespaces=ns)
AttributeError: 'NoneType' object has no attribute 'findtext'
The text was updated successfully, but these errors were encountered: