Skip to content
New issue

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

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

Already on GitHub? # to your account

SoapyServerListener::accept() SoapyServerListener::close() #71

Open
kbtang88 opened this issue May 16, 2019 · 4 comments
Open

SoapyServerListener::accept() SoapyServerListener::close() #71

kbtang88 opened this issue May 16, 2019 · 4 comments

Comments

@kbtang88
Copy link

kbtang88 commented May 16, 2019

i'm getting this

Detached kernel driver
Found Rafael Micro R820T tuner
Reattached kernel driver
SoapyServerListener::close()
SoapyServerListener::accept([::ffff:0.0.0.0]:63433)
SoapyServerListener::close()
SoapyServerListener::accept([::ffff:0.0.0.0]:63664)
SoapyServerListener::close()
SoapyServerListener::accept([::ffff:0.0.0.0]:63665)
SoapyServerListener::close()
SoapyServerListener::handlerLoop() FAIL: SoapyRPCUnpacker::recv(header) FAIL: recv() [104: Connection reset by peer]
SoapyServerListener::close()

SoapyServerListener::close()

i'm not getting to work on cubicsdr

@kbtang88 kbtang88 changed the title hi there SoapyServerListener::accept() SoapyServerListener::close() May 16, 2019
@guruofquality
Copy link
Contributor

SoapyServerListener::handlerLoop() FAIL: SoapyRPCUnpacker::recv(header) FAIL: recv() [104: Connection reset by peer]

What is happening on the client side? This could be the client segfaulting, and hence, the server gets abruptly disconnected. A stack trace of the crash might help, for exampling running cubicsdr in gdb.

@kbtang88
Copy link
Author

kbtang88 commented May 16, 2019 via email

@iw5ejm
Copy link

iw5ejm commented May 29, 2019

same thing here, running soapyserver on raspbian (ubuntu 18 based), cubicsdr on macos 10.14.4


######################################################
## Soapy Server -- Use any Soapy SDR remotely
######################################################

c3bcc448-3a3b-15a3-8567-1f66007f0100
Launching the server... tcp://192.168.1.227:1234
Server bound to 192.168.1.227:1234
Launching discovery server... 
Press Ctrl+C to stop the server
SoapyServerListener::accept(192.168.1.164:62213)
SoapyServerListener::close()
SoapyServerListener::accept(192.168.1.164:62215)
SoapyServerListener::close()
SoapyServerListener::accept(192.168.1.164:62217)
SoapyServerListener::close()

@guruofquality
Copy link
Contributor

Just so everyone knows, the client or server hanging up on a connection is a super generic error which probably means the connection was lost or the application crashed for any number of reasons.

To actually fix something, one would need a backtrace of the crash, or a log of debug prints, something pointing to the last function that was called, what its parameters were. This could be a bug in SoapyRemote client, or for that matter in cubicsdr itself.

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

No branches or pull requests

3 participants