Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues connecting with Peers on Different Networks #21

Open
elvistony opened this issue Nov 15, 2020 · 8 comments
Open

Issues connecting with Peers on Different Networks #21

elvistony opened this issue Nov 15, 2020 · 8 comments

Comments

@elvistony
Copy link
Contributor

I recently noticed I faced issues in Connecting to 2 nodes in different networks. Board-IO
The Devices were on 2 Networks,

  • One on Jio
  • One on Keralavision

Both Didn't connect but on the Keralavision Network i noticed some ........ disconnected console log messages.

I'm assuming this is caused coz of the IP Pool issue of Jio Network? Coz I've heard some of the IP Addresses are IPv6.

I Tested Jio to Jio and it worked fine (for some time). I'm thinking its happening when both devices are from IPv4 and IPv6 separately.

Please look into it.... Thanks in advance!

@subins2000
Copy link
Owner

subins2000 commented Nov 15, 2020

This problem with Keralavision has been reported before. I have no idea what's different on them. Either it's the problem of the modems they're giving to customers or it's something on the ISP infrastructure level. Same unexplainable issue with Asianet ISP too.

cc @akash-santhosh

@elvistony
Copy link
Contributor Author

What bout IP Pools, I've heard Mobile operators use IP Pools with IPv6 addresses rather than IPv4 to accommodate the subscribers. Lemme look into this too... seems related to what I faced when using 3G Netsetter.

@subins2000
Copy link
Owner

@akash-santhosh
Copy link

@subins2000 . I'll look into it on Kerala Vision to Kerala Vision and Kerala Vision to other providers as well.

@elvistony
Copy link
Contributor Author

I did some trials ...and it turns out, what works right now are:

  • Jio - Jio
  • Keralavision-Keralavision
  • Jio-Idea
  • Idea-Idea

A random similarity seen are IPv4 - IPv4 and IPv6 - IPv6 works...but not between them.

@therealadityashankar
Copy link
Contributor

therealadityashankar commented Nov 19, 2020

@elvistony that makes sense because of how UDP hole punching works

@therealadityashankar
Copy link
Contributor

therealadityashankar commented Nov 19, 2020

although (generally) IPV6 addresses provide an IPv4 fallback just for this case, I'm not sure if this can be programmatically resolved

@subins2000
Copy link
Owner

There are devices which doesn't have that IPv4 fallback, those devices can't connect to other IPv4 devices. Yeah, I don't think we can solve this on our side. It's something on the physical-OS level which p2pt doesn't have a control of.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants