User experians multiple problems with BLE-connections
@rich257 I have stopped the service on the Pi and tried to run the branch from the command line yet the branch/command line won't connect to the device. Any ideas? Says not paired.
INFO:meshcore_gui.ble.ble_agent:BLE agent geregistreerd met PIN 123456 BLE: PIN agent geregistreerd (PIN 123456) INFO:meshcore_gui.ble.ble_reconnect:Bond verwijderd voor 1C:DB:D4:A8:9B:61 BLE: Bond verwijderd voor 1C:DB:D4:A8:9B:61 NiceGUI ready to go on http://localhost:8081, and http://192.168.0.179:8081 BLE: Cache loaded — GUI populated from disk BLE: Connecting to 1C:DB:D4:A8:9B:61... DEBUG:meshcore:Connecting with client: None, address: 1C:DB:D4:A8:9B:61, device: None DEBUG:meshcore:Connecting using provided address DEBUG:meshcore:BLE device disconnected: 1C:DB:D4:A8:9B:61 (is_connected: False) INFO:meshcore:Connection is not established, need to restart it DEBUG:meshcore:in ble_cx.connect() DEBUG:meshcore:Connection failed BLE: Connection error: Failed to connect to device BLE: Initial connection failed, retrying in 30s...
@user2
BLE: Connection error: 'NoneType' object has no attribute 'subscribe'
User experians multiple problems with BLE-connections
@rich257 I have stopped the service on the Pi and tried to run the branch from the command line yet the branch/command line won't connect to the device. Any ideas? Says not paired.
INFO:meshcore_gui.ble.ble_agent:BLE agent geregistreerd met PIN 123456 BLE: PIN agent geregistreerd (PIN 123456) INFO:meshcore_gui.ble.ble_reconnect:Bond verwijderd voor 1C:DB:D4:A8:9B:61 BLE: Bond verwijderd voor 1C:DB:D4:A8:9B:61 NiceGUI ready to go on http://localhost:8081, and http://192.168.0.179:8081 BLE: Cache loaded — GUI populated from disk BLE: Connecting to 1C:DB:D4:A8:9B:61... DEBUG:meshcore:Connecting with client: None, address: 1C:DB:D4:A8:9B:61, device: None DEBUG:meshcore:Connecting using provided address DEBUG:meshcore:BLE device disconnected: 1C:DB:D4:A8:9B:61 (is_connected: False) INFO:meshcore:Connection is not established, need to restart it DEBUG:meshcore:in ble_cx.connect() DEBUG:meshcore:Connection failed BLE: Connection error: Failed to connect to device BLE: Initial connection failed, retrying in 30s...
@user2
BLE: Connection error: 'NoneType' object has no attribute 'subscribe'
<!-- github-sync-id:3962644883 -->
v1.9.11 has this issue. Debug log has DEBUG:meshcore:Command error: [org.bluez.Error.NotPermitted] Not paired
yet Pi desktop UI says device is paired but not connected.
v1.9.11 has this issue. Debug log has
`DEBUG:meshcore:Command error: [org.bluez.Error.NotPermitted] Not paired`
yet Pi desktop UI says device is paired but not connected.
<!-- github-comment-id:3927566486 -->
Please give me more information
OS=?
PI=? (or other hardware)
V1.9.10 Works ?
V1.9.11 Works not
before start de script remove the cache rm -rf meshcore_gui/pycache
clear the debug logfile
bluetootctl remove aa:bb:cc:dd:ee:ff
possible you have to reset your device ( you have to set the correct properties again with your companion app)
bluetootctl
scan on
wait till you see the macaddress of your device
pair aa:bb:cc:dd:ee:ff
trust aa:bb:cc:dd:ee:ff
connect aa:bb:cc:dd:ee:ff
exit
bluetootctl disconnect aa:bb:cc:dd:ee:ff
start script with debug on the correct macaddress, portnumber and ble_pin
After start when goes wrong stop the script and put here the output of
debug file
journalctl -u meshcore-gui -n 300 --no-pager
The problem is that the test procedure is completly followed ,
local on Ubunbtu 24.4 LTS
on server raspberryPi5,
and both test where and are okay .
I have to dig.
Please give me more information
OS=?
PI=? (or other hardware)
V1.9.10 Works ?
V1.9.11 Works not
before start de script remove the cache rm -rf meshcore_gui/__pycache__
clear the debug logfile
bluetootctl remove aa:bb:cc:dd:ee:ff
possible you have to reset your device ( you have to set the correct properties again with your companion app)
bluetootctl
>scan on
wait till you see the macaddress of your device
>pair aa:bb:cc:dd:ee:ff
>trust aa:bb:cc:dd:ee:ff
>connect aa:bb:cc:dd:ee:ff
>exit
bluetootctl disconnect aa:bb:cc:dd:ee:ff
start script with debug on the correct macaddress, portnumber and ble_pin
After start when goes wrong stop the script and put here the output of
1. debug file
2. journalctl -u meshcore-gui -n 300 --no-pager
The problem is that the test procedure is completly followed ,
1. local on Ubunbtu 24.4 LTS
2. on server raspberryPi5,
and both test where and are okay .
I have to dig.
<!-- github-comment-id:3927783164 -->
Pi 3B+ with Bookworm
Worked on 1.9.5 and did not work on the branch or with 1.9.11, I have not tried intermediate versions.
Previously I had not run install_ble_stable.sh and now 1.9.5 won't connect either, so that would appear to have something to do with it?
The bluetoothctl commands all work happily.
The logs would not seem to add much, they claim 'not paired' however the Pi desktop says paired.
[command line.txt](https://github.com/user-attachments/files/25419465/command.line.txt)
[2026 02 19 15 03 11 DEBUG.txt](https://github.com/user-attachments/files/25419464/2026.02.19.15.03.11.DEBUG.txt)
<!-- github-comment-id:3927953424 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
User experians multiple problems with BLE-connections
@rich257 I have stopped the service on the Pi and tried to run the branch from the command line yet the branch/command line won't connect to the device. Any ideas? Says not paired.
INFO:meshcore_gui.ble.ble_agent:BLE agent geregistreerd met PIN 123456 BLE: PIN agent geregistreerd (PIN 123456) INFO:meshcore_gui.ble.ble_reconnect:Bond verwijderd voor 1C:DB:D4:A8:9B:61 BLE: Bond verwijderd voor 1C:DB:D4:A8:9B:61 NiceGUI ready to go on http://localhost:8081, and http://192.168.0.179:8081 BLE: Cache loaded — GUI populated from disk BLE: Connecting to 1C:DB:D4:A8:9B:61... DEBUG:meshcore:Connecting with client: None, address: 1C:DB:D4:A8:9B:61, device: None DEBUG:meshcore:Connecting using provided address DEBUG:meshcore:BLE device disconnected: 1C:DB:D4:A8:9B:61 (is_connected: False) INFO:meshcore:Connection is not established, need to restart it DEBUG:meshcore:in ble_cx.connect() DEBUG:meshcore:Connection failed BLE: Connection error: Failed to connect to device BLE: Initial connection failed, retrying in 30s...
@user2
BLE: Connection error: 'NoneType' object has no attribute 'subscribe'
v1.9.11 has this issue. Debug log has
DEBUG:meshcore:Command error: [org.bluez.Error.NotPermitted] Not pairedyet Pi desktop UI says device is paired but not connected.
Please give me more information
OS=?
PI=? (or other hardware)
V1.9.10 Works ?
V1.9.11 Works not
before start de script remove the cache rm -rf meshcore_gui/pycache
clear the debug logfile
bluetootctl remove aa:bb:cc:dd:ee:ff
possible you have to reset your device ( you have to set the correct properties again with your companion app)
bluetootctl
start script with debug on the correct macaddress, portnumber and ble_pin
After start when goes wrong stop the script and put here the output of
The problem is that the test procedure is completly followed ,
and both test where and are okay .
I have to dig.
Pi 3B+ with Bookworm
Worked on 1.9.5 and did not work on the branch or with 1.9.11, I have not tried intermediate versions.
Previously I had not run install_ble_stable.sh and now 1.9.5 won't connect either, so that would appear to have something to do with it?
The bluetoothctl commands all work happily.
The logs would not seem to add much, they claim 'not paired' however the Pi desktop says paired.
command line.txt
2026 02 19 15 03 11 DEBUG.txt