Git Product home page Git Product logo

Comments (9)

neilalexander avatar neilalexander commented on June 10, 2024 2

Try yggdrasilctl.exe getSessions during/after pinging. If you see a session for the address you're trying to reach, but aren't getting ping responses, then it's probably a firewall on the host dropping the pings.

from yggdrasil-go.

majestrate avatar majestrate commented on June 10, 2024 1

looks like an issue with locale

from yggdrasil-go.

neilalexander avatar neilalexander commented on June 10, 2024 1

The problem isn't your processor endianness. The problem appears to be because your network adapter is called 以太网 and Windows tries to put that into the link-local address, which the URL parser trips over.

I would guess that if you rename your 以太网 network interface to Ethernet (or something in Latin script) in Control Panel that the problem goes away?

from yggdrasil-go.

xialvjun avatar xialvjun commented on June 10, 2024

It seems have nothing to do with Win8.

I reinstalled Win10 and get same error..... Don't know why T-T

from yggdrasil-go.

xialvjun avatar xialvjun commented on June 10, 2024

I think I have found the BUG

My CPU lscpu got Byte Order: Little Endian

@majestrate @neilalexander

from yggdrasil-go.

neilalexander avatar neilalexander commented on June 10, 2024

Problem demonstrated here: https://go.dev/play/p/TRVFjToeE4Y

In short, this looks like a problem in the upstream Go standard library and probably affects various non-Latin scripts.

from yggdrasil-go.

xialvjun avatar xialvjun commented on June 10, 2024

Thanks,after I renamed 以太网 to Ethernet, yggdrasilctl getpeers doesn't get error. But I still can not ping to it.

The Error PC:

C:\Program Files\Yggdrasil>.\yggdrasilctl.exe getself
Build name:             yggdrasil
Build version:          0.5.4
IPv6 address:           202:fbda:60ec:af56:d21b:f23d:a406:ebaa
IPv6 subnet:            302:fbda:60ec:af56::/64
Routing table size:     15
Public key:             2084b3e26a1525bc81b84b7f228aaf18a8f322aae5e212b8ba8b2005ae0df57a

C:\Program Files\Yggdrasil>.\yggdrasilctl.exe getpeers
                    URI                         State   Dir                  IP Address                 Uptime   RX      TX     Pr      Last Error
tls://[fe80::e02d:40d4:e65b:dde6%25Ethernet]    Down    Out                        0s       0kb     0kb    0       0s ago:
tls://[fe80::6ac7:faa3:6f10:585f%25Ethernet]    Down    Out                        0s       0kb     0kb    0       0s ago:
tls://66.112.220.133:54321                      Up      Out     200:32ba:8921:bc85:a227:b4fd:aaec:b44   30m56s  19kb     8kb    0       -
tls://sin.yuetau.net:6643                       Up      Out     200:b858:3f39:af76:83ae:bb1:ebb2:604e   30m56s  17kb    10kb    0       -
tls://yggno.de:18227                            Up      Out     202:a2a5:dead:ded:9a54:4ab5:6aa7:1645   30m56s  16kb     7kb    0       -
tls://39.100.71.204:54321                       Up      Out     200:5a9:90d0:ca7:cda7:60b6:b372:ed71    30m53s   8kb    11kb    0       -

The OK PC:

PS C:\Program Files\Yggdrasil> .\yggdrasilctl.exe getself
Build name:             yggdrasil
Build version:          0.5.4
IPv6 address:           201:9057:cd38:f9e3:a095:4537:c403:1525
IPv6 subnet:            301:9057:cd38:f9e3::/64
Routing table size:     15
Public key:             5bea0cb1c18717daaeb20eff3ab68f7dba82263510506020feb89cc74559739a

PS C:\Program Files\Yggdrasil> .\yggdrasilctl.exe getpeers
           URI                  State   Dir                  IP Address                  Uptime          RX      TX    Pr       Last Error
tls://39.100.71.204:54321       Up      Out     200:5a9:90d0:ca7:cda7:60b6:b372:ed71    7h21m49s        575kb   536kb  0        -
tls://66.112.220.133:54321      Up      Out     200:32ba:8921:bc85:a227:b4fd:aaec:b44   7h21m49s        33mb    727kb  0        -
tls://yggno.de:18227            Up      Out     202:a2a5:dead:ded:9a54:4ab5:6aa7:1645   3h17m24s        91kb    43kb   0        -
tls://sin.yuetau.net:6643       Up      Out     200:b858:3f39:af76:83ae:bb1:ebb2:604e   1h25m12s        48kb    27kb   0        -

PS C:\Program Files\Yggdrasil> ping 202:fbda:60ec:af56:d21b:f23d:a406:ebaa # ping the error pc yggdrasil-ip
Pinging 202:fbda:60ec:af56:d21b:f23d:a406:ebaa with 32 bytes of data:
Request timed out.

Both ErrorPC and OkPC are connecting to the same peers, OkPC should can ping to ErrorPC.

Notes the OkPC's conf file is generated by 0.4.7, I didn't change it when update to 0.5.4. ErrorPC's conf file is generated by 0.5.4 with just added same peers.

from yggdrasil-go.

Vort avatar Vort commented on June 10, 2024

But I still can not ping to it.

Can you ping other nodes in the Yggdrasil network?
Like 200:b858:3f39:af76:83ae:bb1:ebb2:604e from your output.

from yggdrasil-go.

xialvjun avatar xialvjun commented on June 10, 2024

@neilalexander Thank you very much. I did find it in yggdrasilctl getSessions. And after I turning off the ErrorPC's firewall, everything works.Thank you all.

from yggdrasil-go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.