diff --git a/CHANGELOG.md b/CHANGELOG.md index fbac72659..767faee64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ at anytime. ### Fixed * Fixed amount of close nodes to add to list in case of extension to neighbouring k-buckets + * Fixed external IP detection via jsonip.com (avoid detecting IPv6) * ### Deprecated diff --git a/lbrynet/core/system_info.py b/lbrynet/core/system_info.py index 79187f722..86fb72ec4 100644 --- a/lbrynet/core/system_info.py +++ b/lbrynet/core/system_info.py @@ -39,7 +39,7 @@ def get_platform(get_ip=True): if get_ip: try: - p['ip'] = json.load(urlopen('http://jsonip.com'))['ip'] + p['ip'] = json.load(urlopen('http://ipv4.jsonip.com'))['ip'] except: p['ip'] = "Could not determine IP"