Change IP lookup webservice to one that preferably returns IPv4 over … #35
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…IPv6, when both are available.
This is required as ursulas cli option for "rest-host" expects an IPv4 (see https://github.com/nucypher/nucypher/blob/736f8f9cbbe1eb06bb071b9d8eec6eacfc2e79a6/nucypher/utilities/networking.py#L42-L48)
Type of PR:
Required reviews:
What this does:
Changes the URI request URL to something accessible for hosts that contain both IPv6/IPv4 global interfaces, to return the IPv4 variant.
Issues fixed/closed:
None
Why it's needed:
As long as TACo node does not accept IPv6 binding address for rest-host, this is a requirement for hosts that contain both IPv6/IPv4 global interfaces.
Notes for reviewers:
No. Only replacement of ip lookup webservice that is queried for IPv4 public address.