laurentsenta / pl-diagnose

https://pl-diagnose.on.fleek.co/
8 stars 1 forks source link

[feature request] Add IPv6 support on pl-diagnose.on.fleek.co #15

Open SmaugPool opened 1 year ago

SmaugPool commented 1 year ago

It would be nice to have IPv6 support on https://pl-diagnose.on.fleek.co/ page. Currently "network is unreachable" error is returned when trying to reach IPv6 multi-addresses which could let think that there is an issue with the node.

For example:

An error occuredThe backend couldn't reach out to your node. It failed with the following error: failed to dial 12D3KooWQBuVUAsnWzfgbe4pgjdSRB9bEnWWDtzvcC5dh2qBepxj:

  • [/ip6/2a01:4f9:1a:9169::2/udp/4001/quic] INTERNAL_ERROR: write udp6 [::]:60212->[2a01:4f9:1a:9169::2]:4001: sendto: network is unreachableOur backend node couldn't reach this peer.Troubleshooting Steps:Solution 1solution 1 step Asolution 1 step BSolution 2solution 2 step Asolution 2 step B

Details:

{
  "error": null,
  "data": {
    "id": "12D3KooWQBuVUAsnWzfgbe4pgjdSRB9bEnWWDtzvcC5dh2qBepxj",
    "connectToPeerError": "failed to dial 12D3KooWQBuVUAsnWzfgbe4pgjdSRB9bEnWWDtzvcC5dh2qBepxj:\n  * [/ip6/2a01:4f9:1a:9169::2/udp/4001/quic] INTERNAL_ERROR: write udp6 [::]:60212->[2a01:4f9:1a:9169::2]:4001: sendto: network is unreachable"
  }
}