ChainSafe / ChainSafe/gossamer

Update/change `github.com/chyeh/pubip`

Open
#2,153 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
454
Forks
144
PR merge metrics
No merged PRs in 30d

Description

It errors out despite finding some IP addresses. Maybe it's not configured to work properly with dual stack IPs.

```
2022-01-10T10:50:21-05:00 EROR failed to get public IP error: Results are not identical: [88.207.xxx.yyy 2001:7e8:cf06:ffff:bb20:18e2:98df:ba53 2001:7e8:cf06:ffff:bb20:18e2:98df:ba53 88.207.xxx.yyy 2001:7e8:cf06:ffff:bb20:18e2:98df:ba53 88.207.xxx.yyy 88.207.xxx.yyy 88.207.xxx.yyy 88.207.xxx.yyy 2001:7e8:cf06:ffff:bb20:18e2:98df:ba53 88.207.xxx.yyy]
Failed to reach http://bot.whatismyipaddress.com
Failed to reach https://shtuff.it/myip/short host.go:L112 pkg=network
```

We can use https://github.com/qdm12/ddns-updater/tree/master/pkg/publicip which I developed myself as an alternative.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.