-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fedora 39: [org.freedesktop.DBus.Error.NoReply] Remote peer disconnected #1471
Comments
https://bleak.readthedocs.io/en/latest/troubleshooting.html
Is everything else the same in this case? Same computer? Same Bluetooth adapter? Same BlueZ version? |
Yes the same device (compuer and ble adapter). Before Fedora 39, Ubuntu 23.04 was installed, perhaps with older BlueZ version.
As I see issue is in |
I think this could be what is causing the problem. This looks like Logging Bluetooth packets is useful too to see what is actually going on over the air. |
With
Or do You mean wireshark logs? |
Yes, I meant Wireshark. |
Captured wireshark logs: |
In the wireshark logs, it looks like it is starting to do some Bluetooth classic stuff after the Bluetooth low energy stuff. Is this a dual-mode device? I'm not as familiar with those commands, so I don't know what it is supposed to look like, but I'm guessing BlueZ isn't getting an expected response or is getting a wrong response and disconnects. |
If it works with one BlueZ version but not in another, I would report the bug to BlueZ. |
I also think it's probably a problem with BlueZ. Where issues with BlueZ should be reported? |
https://github.com/bluez/bluez/ (or the Linux Bluetooth mailing list) |
bluez/bluez#670 (comment) |
@dlech have You idea how to workaround issue for this moment? Because I'm without working solution in Fedora.
After removing reconnection I have exception:
|
Issues with dual mode devices were discussed recently in #1521. I'm not sure what we can do about it besides fix it in BlueZ. |
In Ubuntu it works with the same BlueZ version. Created issue on Fedora side: https://bugzilla.redhat.com/show_bug.cgi?id=2269464 |
bluetoothctl -v
) in case of Linux: 5.70Description
When script trying to read from peripheral characteristics, flowing error occurs:
What I Did
Ble uploader trying to read information about device from characteristics.
Folowing script:
https://github.com/vovagorodok/ArduinoBleOTA/blob/main/tools/uploader.sh
executes
uploader.py
.Works correctly when:
bluezero
insteadbleak
(by chenging tobluezero_uploader.py
in uploader.sh)Looks that issue is with
bleak
in Fedora 39 (trying in Lenovo T490 and HP Zbook 14u G6)Please let me know what logs I should gather.
Thanks!
Logs
N/A
The text was updated successfully, but these errors were encountered: