robertsdotpm / p2pd

Asynchronous P2P networking library and service
MIT License
62 stars 3 forks source link

Crashes when VPN (Private Internet Access) is on #9

Open franklygeorgy opened 11 months ago

franklygeorgy commented 11 months ago

Crashes when VPN (Private Internet Access and probably others) is on. It seems that all interface data is missing. gws in get_default_iface() looks like {'default': {}, 2: [], 23: []} while PIA is connected. Works fine as soon as the VPN is disabled. If this is not fixable I would like to know if there is a way to run this without it crashing. If so I would like to fall back to the TURN protocol or a protocol of my own design. https://networktest.twilio.com/ says that TURN UDP is working with PIA turned on. Willing to provide more info/do tests if requested.

robertsdotpm commented 11 months ago

Hello, thanks for reporting this. I am currently working on a new feature for P2PD which is almost ready. After this is done, I'll be working more on stability and bug fixes. So I can fix this issue for you. VPNs are a good use-case for the software. I'll keep this open until your issue is resolved.

robertsdotpm commented 2 months ago

Added a simpler fallback for interfaces outside of what's been tested on. It's possible it may work for you now

franklygeorgy commented 2 months ago

The project that this was intended for fell through and my schedule is a bit tight right now, but if I get the time I would still like to play around with this. If I do then I will let you know about the results with PIA enabled.