You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider adding a fallback server to get the IP. Simlarly how is done at waitForMaster:
@Synchronized
def checkIPFromServers() {
def servers = [
"checkip.amazonaws.com",
"api.ipify.org",
"ifconfig.me",
"ipinfo.io/ip",
"icanhazip.com",
"ident.me",
"myip.dnsomatic.com"
];
for (def server : servers) {
def ip = retrieveIPFromServer(server)
if (ip) {
println "Address was retrieved from ${server}"
println "Public IP: ${ip}"
variables.put("masterIp", ip)
return ip
}
}
println "Unable to retrieve the public IP from any server."
}
```
Also, add error messages when this variable is not set or any of the necessary variables for the script
The text was updated successfully, but these errors were encountered:
httpbin.org seems to be down:
Apparently, it also happened recently.
This service is essential for ONM:
overlay-network-manager/network-manager/bootstrap-agent-scripts/onm/onm-bootstrap.sh
Line 179 in e69b3fe
Consider adding a fallback server to get the IP. Simlarly how is done at waitForMaster:
The text was updated successfully, but these errors were encountered: