ntop / n2n

Peer-to-peer VPN
GNU General Public License v3.0
6.05k stars 925 forks source link

[n2n.c:57] ERROR: Unable to create socket [Illegal byte sequence][-1] Error when running example_edge_embed.exe #1162

Open GostarGo opened 6 months ago

GostarGo commented 6 months ago

I'm building n2n according to the instructions on Windows 10, when I run example_edge_embed.exe I get the output.

13/Dec/2023 13:03:52 [n2n.c:322] WARNING: supernode2sock fails to resolve supernode host 127.0.0.1, 10093:
13/Dec/2023 13:03:52 [edge_utils.c:3263] adding supernode = 127.0.0.1:1234
Open device [name={F380F099-18A0-428E-BE86-C74839D33F69}][ip=][ifName=Tap][MTU=1390][mac=00:FF:F3:80:F0:99]
WARNING: Unable to set device Tap IP address [netsh interface ip set address "Tap" static   > nul]
WARNING: Unable to set device Tap parameters MTU=1390 store=persistent [netsh interface ipv4 set subinterface "Tap" mtu=1390 store=persistent > nul]
13/Dec/2023 13:03:52 [edge_utils.c:423] number of supernodes in the list: 1
13/Dec/2023 13:03:52 [edge_utils.c:425] supernode 0 => 127.0.0.1:1234
13/Dec/2023 13:03:52 [n2n.c:57] ERROR: Unable to create socket [Illegal byte sequence][-1]
13/Dec/2023 13:03:52 [edge_utils.c:3127] ERROR: failed to bind management UDP port 5644
13/Dec/2023 13:03:52 [edge_utils.c:509] ERROR: socket setup failed

the error is repeated on dev and v3.0 I apologize for using google translate, I only speak Russian.