Ipv6 connection not working. I/O error: Address family not supported by protocol (os error 97)

Environment

Server

sn_node: 0.25.39
sn_cli: 0.17.2
sn_auth: 0.0.15
Operating System: 5.4.81-1-MANJARO-ARM aarch64

Steps

Server

safe
node run-baby-fleming --ip my.ip.v6.address
files put /home/folaht/safe/bonjour_chacun.txt
cat safe://source_path

Expectations

A Bonjour chacun ! on server.

Results

Server

[2021-02-02T22:20:04Z ERROR quinn::builders] I/O error: Address family not supported by protocol (os error 97) 
[2021-02-02T22:20:04Z ERROR qp2p::api] Failed to bootstrap to the network: Connection lost
[2021-02-02T22:20:04Z ERROR quinn::builders] I/O error: Address family not supported by protocol (os error 97) 
[2021-02-02T22:20:04Z ERROR qp2p::api] Failed to bootstrap to the network: Connection lost
[2021-02-02T22:20:04Z ERROR quinn::builders] I/O error: Address family not supported by protocol (os error 97) 
[2021-02-02T22:20:04Z ERROR qp2p::api] Failed to bootstrap to the network: Connection lost
[2021-02-02T22:20:04Z ERROR safe] sn_cli error: Failed to connect: [Error] ConnectionError - Failed to connect to the SAFE Network: QuicP2p(BootstrapFailure)

We have not enabled ipv6 yet. Our goal is stability first and ip6 is great but alas and I mean alas not widely enough used yet. Enabling it would prevent many people from running a node. Running in parallel means doubling the numbers of endpoints in use so there is a cost and a significant one for many people.

tl;dr The ipv6 story needs work, the world needs to move to ipv6 and Safe needs to handle it, just not yet though, not yet

1 Like

Ipv4 exclusive users are dinosaurs. Cut them off. :stuck_out_tongue:

1 Like

:smiley: it’s getting there, but not just yet IPv6 – Google If you see the per country stats it’s scary who does not have ipv6 yet.

2 Likes

I put more faith in Akamai on this issue.
https://www.akamai.com/uk/en/resources/our-thinking/state-of-the-internet-report/state-of-the-internet-ipv6-adoption-visualization.jsp

Still scary though, look at Africa and places where Safe really needs to help.

1 Like

Solved!

Steps

Client

~/.safe/client/sn_client.config

{
    "hard_coded_contacts": [
        "[server.ip.v6.address]:12000"
    ],
    "ip": "client.ip.v6.address",
    "forward_port": false,
    "fresh": true,
    "clean": true
}

command(s)

safe cat safe://source_path

Results

Client

Bonjour chacun !
3 Likes