Repository: blueman-project/blueman

Issue #216: blueman will not accept incoming pairing request
Created: 2015-03-07T07:37:50Z
Using bluez-5.24
When generating an incoming pair request from a laptop running win7, blueman pops-up a notification asking to confirm or deny the pairing request. After clicking on "confirm", blueman does not pair.
From blueman-manager:
on_device_property_changed (/usr/local/lib/python2.7/site-packages/blueman/gui/DeviceList.py:156)
list: device_prop_ch Connected 1 /org/bluez/hci0/dev_C4_46_19_E9_C1_EC () {}

row_update_event (/usr/local/lib/python2.7/site-packages/blueman/gui/manager/ManagerDeviceList.py:261)
row update event Connected 1

Generate (/usr/local/lib/python2.7/site-packages/blueman/gui/manager/ManagerDeviceMenu.py:165)
laptop

monitor_power_levels (/usr/local/lib/python2.7/site-packages/blueman/gui/DeviceList.py:178)
starting monitor

level_setup_event (/usr/local/lib/python2.7/site-packages/blueman/gui/manager/ManagerDeviceList.py:322)
animating up
Then bluetoothd:
bluetoothd[10108]: src/device.c:new_auth() Requesting agent authentication for C4:46:19:E9:C1:EC
bluetoothd[10108]: src/agent.c:agent_ref() 0xf1b2a0: ref=2
bluetoothd[10108]: src/agent.c:agent_request_confirmation() Calling Agent.RequestConfirmation: name=:1.14, path=/org/blueman/agent/global, passkey=054810
bluetoothd[10108]: src/agent.c:agent_ref() 0xf1b2a0: ref=3
bluetoothd[10108]: src/adapter.c:btd_adapter_confirm_reply() hci0 addr C4:46:19:E9:C1:EC success 1
bluetoothd[10108]: src/agent.c:agent_unref() 0xf1b2a0: ref=2
bluetoothd[10108]: src/agent.c:agent_unref() 0xf1b2a0: ref=1
bluetoothd[10108]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr C4:46:19:E9:C1:EC type 0 status 0x5
bluetoothd[10108]: src/device.c:device_bonding_complete() bonding (nil) status 0x05
bluetoothd[10108]: src/device.c:device_cancel_authentication() Canceling authentication request for C4:46:19:E9:C1:EC
bluetoothd[10108]: src/device.c:device_bonding_failed() status 5
bluetoothd[10108]: src/adapter.c:resume_discovery()
bluetoothd[10108]: src/adapter.c:dev_disconnected() Device C4:46:19:E9:C1:EC disconnected, reason 3
bluetoothd[10108]: src/adapter.c:adapter_remove_connection()
bluetoothd[10108]: plugins/policy.c:disconnect_cb() reason 3
bluetoothd[10108]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr C4:46:19:E9:C1:EC type 0 status 0xe
bluetoothd[10108]: src/device.c:device_bonding_complete() bonding (nil) status 0x0e
bluetoothd[10108]: src/device.c:device_bonding_failed() status 14
bluetoothd[10108]: src/adapter.c:resume_discovery()
Then blueman-manager:

on_device_property_changed (/usr/local/lib/python2.7/site-packages/blueman/gui/DeviceList.py:156)
list: device_prop_ch Connected 0 /org/bluez/hci0/dev_C4_46_19_E9_C1_EC () {}

row_update_event (/usr/local/lib/python2.7/site-packages/blueman/gui/manager/ManagerDeviceList.py:261)
row update event Connected 0

Generate (/usr/local/lib/python2.7/site-packages/blueman/gui/manager/ManagerDeviceMenu.py:165)
laptop

level_setup_event (/usr/local/lib/python2.7/site-packages/blueman/gui/manager/ManagerDeviceList.py:322)
animating down

update (/usr/local/lib/python2.7/site-packages/blueman/gui/DeviceList.py:179)
stopping monitor (not connected)
and in blueman-applet:

init (/usr/local/lib/python2.7/site-packages/blueman/main/Device.py:21)
caching initial properties

del (/usr/local/lib/python2.7/site-packages/blueman/main/Device.py:67)
deleting device /org/bluez/hci0/dev_C4_46_19_E9_C1_EC

Destroy (/usr/local/lib/python2.7/site-packages/blueman/main/Device.py:89)
invalidating device /org/bluez/hci0/dev_C4_46_19_E9_C1_EC

Duplicate issue #221: D-Bus authentication failed
Created: 2015-03-14T18:02:01Z
I have a git shapshot of blueman since mar-13-2015, running on Slackware64-14.1 with Xfce 4-10, and I use bluez-5.25, when I'd attempt to pair with my LG P-713 phone, I get fail. Here is a part of my ~/.xsession-errors: http://pastebin.com/4VyUJVVy
On the phone, I see notification with generated code to pair with, but this notification closed immediately.
IMO this is not a problem in Blueman, because I tried pairing using bluetoothctl as root, with same authentication problem. Here is output of dbus-monitor: http://pastebin.com/xZ3r9rsp
UPD: Installing Networkmanager 1.0 instead of stock 0.9.8.8 and Bluez-5.29 is a solution for me, for this problem with pairing.

Closing comment (2015-03-27T11:52:55Z): Maybe same as #216 (comment)