yggdrasil-network / yggdrasil-android

Reference implementation for connecting to the Yggdrasil Network from Android devices
MIT License
120 stars 19 forks source link

I have a "No connectivity" error. #1

Open styromaniac opened 3 years ago

styromaniac commented 3 years ago

Doesn't matter if I have IPv4 or IPv6 connectivity. Screenshot_20210702-102327_Yggdrasil

neilalexander commented 3 years ago

Did you add any peers and/or do you have other Yggdrasil nodes with multicast enabled on your LAN?

styromaniac commented 3 years ago

I didn't have any peers then, but I added all the US online peers just now. No change.

neilalexander commented 3 years ago

Did you toggle "Enable Yggdrasil" off and on again after adding peers?

styromaniac commented 3 years ago

Yes

styromaniac commented 3 years ago

Now it's working after having only one per entered and toggling.

styromaniac commented 3 years ago

I must have entered them incorrectly, all of them as one.

I would like to able to copy and paste the whole list at once like so:

tcp://213.188.199.150:10010
tcp://213.188.210.9:10010
tcp://[2a09:8280:1::3:312]:10010
tcp://[2a09:8280:1::a:2e2]:10010
tls://213.188.199.150:10020
tls://213.188.210.9:10020
tls://[2a09:8280:1::3:312]:10020
tls://[2a09:8280:1::a:2e2]:10020
tcp://104.248.15.125:31337
tcp://108.175.10.127:61216
tcp://50.236.201.218:56088
tcp://64.112.176.176:1617
tcp://64.112.180.77:1617
tcp://64.112.182.119:1617
tcp://64.112.182.182:1617
tcp://67.205.187.55:19103
tcp://[2604:a880:400:d0::16e5:7001]:19103
tcp://[2604:a880:800:c1::2c2:a001]:31337
tcp://[2607:f1c0:1801:d4::1]:61216
tcp://lancis.iscute.moe:49273
tcp://longseason.1200bps.xyz:13121
tls://104.248.15.125:32337
tls://67.205.187.55:19102
tls://[2604:a880:400:d0::16e5:7001]:19102
tls://[2604:a880:800:c1::2c2:a001]:32337
tls://lancis.iscute.moe:49274
tls://longseason.1200bps.xyz:13122
neilalexander commented 3 years ago

The reason that we make it harder to add multiple peers and instead require them to be added one by one is that you almost certainly don't want to add all of those peers to a mobile device, especially if you're on unreliable or metered connectivity.

The moment you start adding more than one peer, you can potentially start carrying traffic for other users, hence the warning text on the "Peers" screen.

styromaniac commented 3 years ago

I have unlimited data, so that's no problem for me. Sometimes the speeds are greater than what's running through DSL and cable internet connections.

styromaniac commented 3 years ago

Can we use this issue for a feature to add multiple peers at a time?

cwchristerw commented 3 years ago

I have created #11 issue that will solve your problem of not being able to add multiple peers at once.