gqrx-sdr / gqrx

Software defined radio receiver powered by GNU Radio and Qt.
http://gqrx.dk
GNU General Public License v3.0
3.1k stars 544 forks source link

GQRX crashes often with tcp over wifi #929

Open hirve opened 3 years ago

hirve commented 3 years ago

Server is Raspberry PI 3, client is Ubuntu, Gqrx 2.11.5

SSSSSSSSSSSSSterminate called after throwing an instance of 'std::runtime_error'
  what():  SoapyRPCUnpacker::recv() FAIL test server connection: connect(192.168.2.227:55132) [110: Connection timed out]
Aborted (core dumped)

Maybe there is any option to make timeout infinite?

LongnoseRob commented 3 years ago

I would recommend to have a look at this part of the SoapyRemote documentation: https://github.com/pothosware/SoapyRemote/wiki#the-remotetimeout-key

hirve commented 3 years ago

Tried but it didn't help, the init line is: driver=remote,remote=tcp://192.168.2.227:55132,remote:driver=airspyhf,serial=3652fc5d47cb39f7,soapy=1,remote:timeout=3000000 I understand 3000000 is a 3 sec timeout, but GQRX crashes in some about 1 sec after changing frequency and server is continuing working after that. Maybe something wrong in the init line?

hirve commented 3 years ago

Found workaround by taking IQ stream on the server and piping it with netcat to GQRX. GQRX sees it like an IQ file. So the problem is solved for me, feel free to close it if you like.