d827b4d5af
When contacting jsonip.com to retrieve the node external IP, the connection might be established with IPv6 and thus return an address belonging to that family. This address is then used to initialize the external_ip member of Daemon session, but unfortunately IPv6 is not yet handled well. Using an IPv6 as external IP is currently breaking parts of the Daemon resulting in no peer connectivity at all. We should stick to IPv4 for time being. http://jsonip.com/about says "ipv4-only":"https://ipv4.jsonip.com" therefore, change the IP retrieval URL to ipv4.jsonip.com to make sure the connection is established only using an IPv4 address. Closes: https://github.com/lbryio/lbry/issues/971 Signed-off-by: Antonio Quartulli <antonio@mandelbit.com> |
||
---|---|---|
.. | ||
client | ||
server | ||
__init__.py | ||
BlobAvailability.py | ||
BlobInfo.py | ||
BlobManager.py | ||
cryptoutils.py | ||
DownloadOption.py | ||
Error.py | ||
file_utils.py | ||
HashAnnouncer.py | ||
log_support.py | ||
looping_call_manager.py | ||
Offer.py | ||
PaymentRateManager.py | ||
Peer.py | ||
PeerFinder.py | ||
PeerManager.py | ||
PriceModel.py | ||
PTCWallet.py | ||
RateLimiter.py | ||
Session.py | ||
sqlite_helpers.py | ||
Strategy.py | ||
StreamDescriptor.py | ||
system_info.py | ||
utils.py | ||
Wallet.py |