Open zackees opened 2 years ago
I think I've just run into this issue; I live in Mexico and most of us are on Carrier Grade NAT (CGNAT), which is also becoming more common with newer ISP's in the US (Starlink, T-Mobile's home internet, etc). I'm able to use the site to move items between devices in my own network, but not crossing outside of the network. Ran into this issue after setting up a webpage with similar code, testing it, and realizing it didn't work outside the network... Then realizing I get the same error(s) on instant.IO... Haha. Still fascinating code though. Would be interesting to see if there's a way around this.
I've had an idea where certain users with permissive nats become peer relay points.
Users behind a "Symetric NAT" will fail to use instant.io to seed content (and possibly download).
Here is an implementation on how to check the getNATtype(cb) will invoke the callback with either "Permissive NAT" or "Symmetric NAT"
NATtype.js