[Bug 888328] Re: Trying to send files over Bluetooth gives "Connection Refused (111)"
Jan Bee
888328 at bugs.launchpad.net
Fri Feb 17 10:41:14 UTC 2012
I was able to reproduce this in kernel 3.0 and 3.2. This seems to be a
timing issue and can be isolated in a simple socket-connection (using
python-lightblue in this case):
sock = lightblue.socket()
sock.connect((addr, port))
# adding a sleep of a couple of seconds made it work more reliable
sock.send(data)
stracing that shows:
socket(PF_BLUETOOTH, SOCK_SEQPACKET, 0) = 4
connect(4, {sa_family=AF_BLUETOOTH, sa_data="\1\0\317,\17\234\320\260\0\0\0\0\0\0"}, 12) = 0
// and right afterwards:
socket(PF_BLUETOOTH, SOCK_STREAM, 3) = 4
connect(4, {sa_family=AF_BLUETOOTH, sa_data="\317,\17\234\320\260\10\0\0\0\0\0\0\0"}, 10) = -1 ECONNREFUSED (Connection refused)
--
You received this bug notification because you are a member of
Bluetooth, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/888328
Title:
Trying to send files over Bluetooth gives "Connection Refused (111)"
To manage notifications about this bug go to:
https://bugs.launchpad.net/system76/+bug/888328/+subscriptions
More information about the Ubuntu-bluetooth
mailing list