Comment 6 for bug 1535030

Revision history for this message
Neal McBurnett (nealmcb) wrote :

I had this problem or a similar one: repeatedly failing to receive an image shared from android to Ubuntu. I got this message on Android 9: "Bluetooth share: File IMG.... not sent",

and this FORBIDDEN message in syslog from obexd:

 Nov 9 10:35:17 sn obexd[24314]: CONNECT(0x0), (null)(0xffffffff)
 Nov 9 10:35:17 sn obexd[24314]: CONNECT(0x0), (null)(0x0)
 Nov 9 10:35:17 sn obexd[24314]: PUT(0x2), (null)(0xffffffff)
 Nov 9 10:35:17 sn obexd[24314]: PUT(0x2), FORBIDDEN(0x43)
 Nov 9 10:35:17 sn obexd[24314]: DISCONNECT(0x1), (null)(0xffffffff)
 Nov 9 10:35:17 sn obexd[24314]: DISCONNECT(0x1), SUCCESS(0x20)
 Nov 9 10:35:17 sn bluetoothd[1341]: Unable to get io data for Object Push: getpeername: Transport endpoint is not connected (107)
 Nov 9 10:35:17 sn obexd[24314]: disconnected: Transport got disconnected

But then I tried (for the first time) sending a file from Ubuntu to Android. Note
that the UI is sufficiently unintuitive that I had
no idea how to do that until I ran across this description:

https://help.ubuntu.com/stable/ubuntu-help/bluetooth-send-file.html.en

After successfully sending one file that way, sharing succeeded in the other direction.

the FORBIDDEN message changed to CONTINUE:

 Nov 9 11:06:21 sn obexd[24314]: CONNECT(0x0), (null)(0xffffffff)
 Nov 9 11:06:21 sn obexd[24314]: CONNECT(0x0), (null)(0x0)
 Nov 9 11:06:21 sn obexd[24314]: PUT(0x2), (null)(0xffffffff)
 Nov 9 11:06:21 sn obexd[24314]: PUT(0x2), CONTINUE(0x10)
 Nov 9 11:06:22 sn rtkit-daemon[2739]: Supervising 3 threads of 1 processes of 1 users.
 Nov 9 11:06:22 sn rtkit-daemon[2739]: Successfully made thread 25043 of process 3676 (n/a) owned by '1000' RT at priority 5.
 Nov 9 11:06:22 sn rtkit-daemon[2739]: Supervising 4 threads of 1 processes of 1 users.
 Nov 9 11:06:22 sn pulseaudio[3676]: [pulseaudio] module-loopback.c: Cannot set requested source latency of 66.67 ms, adjusting to 135.29 ms

Several minutes later, I got an Ubuntu popup notification that it succeeded, and saw this:

 Nov 9 11:09:14 sn obexd[24314]: DISCONNECT(0x1), (null)(0xffffffff)
 Nov 9 11:09:14 sn obexd[24314]: DISCONNECT(0x1), SUCCESS(0x20)
 Nov 9 11:09:14 sn obexd[24314]: disconnected: Transport got disconnected
 Nov 9 11:09:14 sn bluetoothd[1341]: Unable to get io data for Object Push: getpeername: Transport endpoint is not connected (107)
 Nov 9 11:09:23 sn wpa_supplicant[1597]: wlp3s0: WPA: Group rekeying completed with 5c:e2:8c:2c:f0:e7 [GTK=TKIP]

Note also that for a while I assumed that my problem was the message "disconnected: Transport got disconnected", but that seems normal whether or not the transfer succeeds.

I hope that helps someone....