pothosware / PothosFlow

GUI frontend and designer tool for the Pothos framework
https://github.com/pothosware/PothosFlowi/wiki
Boost Software License 1.0
71 stars 27 forks source link

PothosFlow will not load without active internet #191

Closed Matthewenderle closed 4 years ago

Matthewenderle commented 4 years ago

We're trying to utilize Pothos in an environment without internet connectivity. Upon launching the application it fails and gives an error. I've tried reinstalling, but I've been able to replicate the issue on another machine by disabling the network connection.

Remote Server Error: Pothos::RemoteServer(tcp://[::1]:16415): Failed to launch server process: C:\Program Files\PothosSDR\bin\PothosUtil.exe --require-active --proxy-server=tcp://[::1]:16415

Screenshot: https://imgur.com/a/ZIOQqi4

guruofquality commented 4 years ago

Its not that it needs the internet, for some reason, it cant bind a socket to "::" (which is like the ipv6 equivalent of 0.0.0.0) when all network connections are down. Although its poco sockets, I think its really more of a windows issue. Its like how linux has the "lo" device, but the windows equivalent seems to go away without network connections. I wish I knew what to search for to just trick it or get the interface back.

guruofquality commented 4 years ago

Just a thought, the gui will not try to spawn anything if it can find an existing process. Does running PothosUtil --proxy-server="tcp://127.0.0.1" in another terminal help?

Matthewenderle commented 4 years ago

I was able to get it figured out. I got a little busy and was unable to update you on this. My resolution came about when I realized that it was just looking for a network adapter to bind to. Since I wasn't going to get a good connection on my windows server I needed to create a loopback.

For the steps to run PothosUtil without a network connection on Windows: