Ipv4 connection not working.

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

Client

sn_node: 0.25.39
sn_cli: 0.17.2
sn_auth: 0.0.15
Operating System: 5.4.89-1-MANJARO x86_64

Steps

Server

safe
node run-baby-fleming --ip my.lan.ip.address
auth restart
auth create --test-coins
auth unlock
auth unlock --self-auth
files put /home/folaht/safe/bonjour_chacun.txt
cat safe://source_path

Client

echo "\"my.ip.v4.address:12000\"" | tee ~/.safe/node/node_connection_info.config
safe
networks add mynetwork
networks switch mynetwork
cat safe://source_path

Expectations

A Bonjour chacun ! on both server and client.

Results

Server

> cat safe://hyryyry96hxxe5rygh5b1qfp7hi3jxtefkepj4prq8gif487tkapbords1ynra
Bonjour chacun !

Client

[2021-01-31T22:59:02Z ERROR qp2p::api] Failed to bootstrap to the network: Connection lost
[2021-01-31T22:59:32Z ERROR qp2p::api] Failed to bootstrap to the network: Connection lost
[2021-01-31T23:00:02Z ERROR qp2p::api] Failed to bootstrap to the network: Connection lost
[2021-01-31T23:00:02Z ERROR safe] sn_cli error: Failed to connect: [Error] ConnectionError - Failed to connect to the SAFE Network: QuicP2p(BootstrapFailure)

Solved. I checked if the nodes were open with netstat and saw the issue.
sn_nodes use the UDP protocol. I’m so used to opening TCP ports, I did not even gave it second thought.
So I switched my port forwarding from ‘TCP’ to ‘UDP’.

4 Likes

nice one @folaht. glad you got that going!

This topic was automatically closed after 60 days. New replies are no longer allowed.