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
p2p-config: tried to create a libp2p node with no Private Network Protector but usage of Private Networks is forced by the enviroment
error creating online ipfs node: privnet: private network was not configured but is enforced by the environment
As I understand we still need to pass the private network option for the autonat service(server) so only the clients from the same private network will be able to connect to it
I made the PR but not sure if I made it right as I not familiar with the new go.uber.org/fx approach implemented after 0.4.20
The text was updated successfully, but these errors were encountered:
Version information:
0.4.19, 0.4.20 and master
Type:
bug
Description:
EnableAutoNATService=true
in the configLIBP2P_FORCE_PNET=1
in the envswarm.key
is in the placeI got:
The reason is that we don't pass
libp2p.PrivateNetwork
option to theautonat.NewAutoNATService()
so the check is failed in the libp2p: https://github.com/libp2p/go-libp2p/blob/master/config/config.go#L78go.uber.org/fx
approach implemented after 0.4.20The text was updated successfully, but these errors were encountered: