GalaxyBudsClient icon indicating copy to clipboard operation
GalaxyBudsClient copied to clipboard

[BUG] Reconnecting buds causes `UUID already registered` error

Open 392781 opened this issue 1 year ago • 4 comments

Describe the bug

Reconnecting buds causes error org.bluez.Error.NotPermitted: UUID already registered.

To Reproduce
Steps to reproduce the behavior:

  1. Connect buds to computer
  2. Put buds back in case and close case so that buds disconnect.
  3. Reopen case to reconnect buds computer

Buds will pair but Manager will throw the above error.

Expected behavior

Buds reconnect to manager automatically without needing to completely relaunch the manager.

Desktop (please complete the following information):

  • OS: Pop!_OS 22.04 64 bit
  • Application version: 4.5.2

Additional context

Same issue as #337. Although that issue was listed as "resolved", the precompiled binaries listed under commit f8bc12c have expired. The current latest version remains broken. Would it be possible to add a new minor release with the new binaries?

Log files

2023-03-22 23:14:36.408 -07:00 [INF] Using settings file at: /home/ronaldas/.local/share/GalaxyBudsClient/config.json
2023-03-22 23:14:36.952 -07:00 [INF] SingleInstanceWatcher: Server listening at tcp:host=::1,port=54532
2023-03-22 23:14:38.061 -07:00 [DBG] BluetoothImpl: Using Linux.BluetoothService
2023-03-22 23:14:38.084 -07:00 [INF] Translator mode file location: /home/ronaldas/.local/share/GalaxyBudsClient/custom_language.xaml
2023-03-22 23:14:38.086 -07:00 [INF] User script directory: /home/ronaldas/.local/share/GalaxyBudsClient/scripts
2023-03-22 23:14:38.184 -07:00 [INF] ScriptManager: 0 user script(s) found
2023-03-22 23:14:38.185 -07:00 [DBG] MainWindow.Instance: Initializing window with default WindowImpl
2023-03-22 23:14:38.670 -07:00 [WRN] StubDeviceSpec: initialized
2023-03-22 23:14:38.767 -07:00 [DBG] FirmwareRemoteClient: Searching for firmware binaries...
2023-03-22 23:14:39.134 -07:00 [WRN] StubDeviceSpec: initialized
2023-03-22 23:14:39.142 -07:00 [DBG] Linux.BluetoothService: No adapter preselected. Choosing default one.
2023-03-22 23:14:39.190 -07:00 [DBG] Linux.BluetoothService: Using Bluetooth adapter: hci0
2023-03-22 23:14:39.204 -07:00 [DBG] Linux.BluetoothService: Connecting... (attempt 1/5)
2023-03-22 23:14:39.359 -07:00 [WRN] Dummy.HotkeyReceiver: Platform not supported
2023-03-22 23:14:39.525 -07:00 [DBG] Linux.BluetoothService: Using Bluetooth adapter: hci0
2023-03-22 23:14:39.913 -07:00 [DBG] FirmwareRemoteClient: 0 firmware found.
2023-03-22 23:14:43.754 -07:00 [DBG] Linux.BluetoothService: Failed: 'br-connection-page-timeout'
2023-03-22 23:14:44.006 -07:00 [DBG] Linux.BluetoothService: Connecting... (attempt 2/5)
2023-03-22 23:14:46.086 -07:00 [DBG] Linux.BluetoothService: Device ready. Registering profile client for UUID 00001101-0000-1000-8000-00805f9b34fb...
2023-03-22 23:14:46.090 -07:00 [DBG] Linux.BluetoothService: Connecting to profile... (attempt 1/10)
2023-03-22 23:14:46.091 -07:00 [DBG] Linux.BluetoothService: Already connecting.
2023-03-22 23:14:46.340 -07:00 [DBG] Linux.BluetoothService: Connecting to profile... (attempt 2/10)
2023-03-22 23:14:46.400 -07:00 [DBG] Linux.BluetoothSocket: Connected to profile
2023-03-22 23:14:46.402 -07:00 [DBG] Linux.BluetoothService: Connection established. Launching BluetoothServiceLoop.
2023-03-22 23:14:47.257 -07:00 [DBG] SpatialAudioDataParser: Unknown id (38)
2023-03-22 23:14:47.670 -07:00 [DBG] SpatialAudioDataParser: Unknown id (38)
2023-03-22 23:14:47.915 -07:00 [WRN] NoiseControlSwitchMode: Unknown mode
2023-03-22 23:14:49.074 -07:00 [WRN] NoiseControlSwitchMode: Unknown mode
2023-03-22 23:14:49.804 -07:00 [DBG] Linux.BluetoothService: Disconnected
2023-03-22 23:14:49.853 -07:00 [WRN] NoiseControlSwitchMode: Unknown mode
2023-03-22 23:14:50.026 -07:00 [ERR] Linux.BluetoothService: BluetoothServiceLoop: UnixException thrown while handling unsafe stream: Error 104: Connection reset by peer. Cancelled.
2023-03-22 23:14:51.562 -07:00 [DBG] ExperimentClient: Scanning for experiments...
2023-03-22 23:14:52.151 -07:00 [DBG] ExperimentClient: 0 experiment(s) found.
2023-03-22 23:14:54.265 -07:00 [DBG] Linux.BluetoothService: Reconnected. Attempting to auto-connect to profile...
2023-03-22 23:14:54.271 -07:00 [DBG] Linux.BluetoothService: Connecting... (attempt 1/5)
2023-03-22 23:14:54.500 -07:00 [DBG] Linux.BluetoothService: Device ready. Registering profile client for UUID 00001101-0000-1000-8000-00805f9b34fb...
2023-03-22 23:14:54.501 -07:00 [ERR] Linux.BluetoothService: Cannot register profile. org.bluez.Error.NotPermitted: UUID already registered
2023-03-22 23:14:58.301 -07:00 [DBG] Linux.BluetoothService: Disconnected
2023-03-22 23:14:58.301 -07:00 [DBG] Linux.BluetoothService: Disconnected

392781 avatar Mar 23 '23 06:03 392781