Matthew Champion created BROOKLYN-213:
-----------------------------------------
Summary: LocalhostExternalIpLoader failed to resolve IP address
Key: BROOKLYN-213
URL: https://issues.apache.org/jira/browse/BROOKLYN-213
Project: Brooklyn
Issue Type: Bug
Affects Versions: 0.8.0, 0.9.0
Reporter: Matthew Champion
Priority: Minor
The LocalhostExternalIpLoader failed to get the localhost's external IP address
for two reasons:
The http://www.telize.com/ip IP service was shutdown on the 15th of November
2015.
https://web.archive.org/web/20160101200318/http://www.telize.com/
all attempts to load from this address now fail.
The method LocalhostExternalIpLoader#getLocalhostIpWithin(Duration) method was
invoked with a duration of 1 minute but failed after a few seconds. The
implementation blocks until after the first attempt to load an IP address not
the first successful attempt.
It selected the telize service to try first, threw an IllegalStateExecption
after a few seconds and did not retry with any other providers.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)