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

The address 172.17.0.1 is not in the database. #17

Closed
smanocchio opened this issue Sep 26, 2018 · 2 comments
Closed

The address 172.17.0.1 is not in the database. #17

smanocchio opened this issue Sep 26, 2018 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@smanocchio
Copy link

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.

@samwiseg0 samwiseg0 added the enhancement New feature or request label Sep 26, 2018
@samwiseg0 samwiseg0 self-assigned this Sep 26, 2018
@samwiseg0
Copy link
Member

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.

@smanocchio
Copy link
Author

Working perfect so far, thank you!

@Boerderij Boerderij locked and limited conversation to collaborators Mar 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants