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
I recently noticed that my influxdb database stopped receiving data from tautulli.py. When I try to run the script manually I receive this message:
Traceback (most recent call last):
File "tautulli.py", line 59, in
geodata = GeoLite2db(sessions[session]['ip_address_public'])
File "tautulli.py", line 36, in GeoLite2db
geodata = reader.city(ipaddress)
File "/usr/local/lib/python3.6/dist-packages/geoip2/database.py", line 114, in city
return self._model_for(geoip2.models.City, 'City', ip_address)
File "/usr/local/lib/python3.6/dist-packages/geoip2/database.py", line 195, in _model_for
record = self._get(types, ip_address)
File "/usr/local/lib/python3.6/dist-packages/geoip2/database.py", line 191, in _get
"The address %s is not in the database." % ip_address)
geoip2.errors.AddressNotFoundError: The address 172.17.0.1 is not in the database.
I have found that this only occurs when a local stream is being played. I do not use 172.X.X.X anywhere in my network. If all streams are coming over the WAN the script runs as expected. When streaming on LAN plex shows that my server is "nearby" and Tautulli shows the correct LAN address.
There were Tautulli and Plex updates recently however I did not notice the issue until after both so I am not sure which update (if any) were installed when this issue started.
The text was updated successfully, but these errors were encountered:
Fixed in the nightly branch. Note there is a major data structure change that will require you to modify the current Online Users table. You can get the new beta table here.
I recently noticed that my influxdb database stopped receiving data from tautulli.py. When I try to run the script manually I receive this message:
Traceback (most recent call last):
File "tautulli.py", line 59, in
geodata = GeoLite2db(sessions[session]['ip_address_public'])
File "tautulli.py", line 36, in GeoLite2db
geodata = reader.city(ipaddress)
File "/usr/local/lib/python3.6/dist-packages/geoip2/database.py", line 114, in city
return self._model_for(geoip2.models.City, 'City', ip_address)
File "/usr/local/lib/python3.6/dist-packages/geoip2/database.py", line 195, in _model_for
record = self._get(types, ip_address)
File "/usr/local/lib/python3.6/dist-packages/geoip2/database.py", line 191, in _get
"The address %s is not in the database." % ip_address)
geoip2.errors.AddressNotFoundError: The address 172.17.0.1 is not in the database.
I have found that this only occurs when a local stream is being played. I do not use 172.X.X.X anywhere in my network. If all streams are coming over the WAN the script runs as expected. When streaming on LAN plex shows that my server is "nearby" and Tautulli shows the correct LAN address.
There were Tautulli and Plex updates recently however I did not notice the issue until after both so I am not sure which update (if any) were installed when this issue started.
The text was updated successfully, but these errors were encountered: