You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unexpected error while trying to connect: Connection failed for unknown reason #555
OS: Windows 11Issues that only occur on Windows 11 (or 10)software: pybricks-codeIssues with https://code.pybricks.com applicationtopic: bluetoothIssues involving bluetooth
Error on code.pybricks.com screen . After connection thrue bluetooth. I get the message unexpected error while trying to connect: Connection failed for unknown reason.
I use: Windows 10 Education: Versie: 10.0.19044 Build 19044. Chrome browser Versie 96.04.4664.93 (64 bits). The update of My Inventor (51515) with pybricks (with USB) went ok. Do you have advise for me?
changed the title [-]Please see #270 for troubleshooting tips and open a new issue with logs/packet capture.[/-][+]Unexpected error while trying to connect: Connection failed for unknown reason[/+]on Dec 13, 2021
Thanks for making the logs. It looks like the connection is successful in the logs, so I'm afraid I don't know why Windows is giving an error. Did you try rebooting the computer? If there are any LEGO or Pybricks hubs listed in Bluetooth & other devices in the WIndows settings, try removing them.
I have the same issue with my technic hubs, I wanted to connect 2 hubs from the Liebherr set, but my laptop pybricks doesn't connect to the hubs but it registers the hubs. Is there any way I can connect them properly or some solutions..?
It says "Vinculado", meaning its connected, but the time I wanna pair them it just take a while and sends the unexpected error while trying to conect.
Thanks for reading.
Even when I try to connect directly by the PC's Bluetooth it shows "LEGO Boothloader" as in pybricks, but sometimes when the LED is white; it says "Technic Hub".
Even when I try to connect directly by the PC's Bluetooth it shows "LEGO Boothloader"
Do not pair the hub using the OS settings menu. If you have already done this, remove the device from the settings menu.
Also see #270 for troubleshooting tips. If you can log Bluetooth packets, please upload them here and we will have a look.
I didn´t, I don't know what the problem is. The connection, upload from the firmware and the program ran well in an ASUS computer, I'm trying to connect with an HP but doesn´t. Both use Windows 10
OS: Windows 11Issues that only occur on Windows 11 (or 10)software: pybricks-codeIssues with https://code.pybricks.com applicationtopic: bluetoothIssues involving bluetooth
Activity
VegaMansk commentedon Dec 13, 2021
Error on code.pybricks.com screen . After connection thrue bluetooth. I get the message unexpected error while trying to connect: Connection failed for unknown reason.
I use: Windows 10 Education: Versie: 10.0.19044 Build 19044. Chrome browser Versie 96.04.4664.93 (64 bits). The update of My Inventor (51515) with pybricks (with USB) went ok. Do you have advise for me?
Bluetoothlog.zip
[-]Please see #270 for troubleshooting tips and open a new issue with logs/packet capture.[/-][+]Unexpected error while trying to connect: Connection failed for unknown reason[/+]dlech commentedon Dec 13, 2021
Thanks for making the logs. It looks like the connection is successful in the logs, so I'm afraid I don't know why Windows is giving an error. Did you try rebooting the computer? If there are any LEGO or Pybricks hubs listed in Bluetooth & other devices in the WIndows settings, try removing them.
MartinGarciaMatienzo commentedon Dec 22, 2021
I have the same issue with my technic hubs, I wanted to connect 2 hubs from the Liebherr set, but my laptop pybricks doesn't connect to the hubs but it registers the hubs. Is there any way I can connect them properly or some solutions..?

It says "Vinculado", meaning its connected, but the time I wanna pair them it just take a while and sends the unexpected error while trying to conect.
Thanks for reading.
MartinGarciaMatienzo commentedon Dec 22, 2021
Even when I try to connect directly by the PC's Bluetooth it shows "LEGO Boothloader" as in pybricks, but sometimes when the LED is white; it says "Technic Hub".

MartinGarciaMatienzo commentedon Dec 22, 2021
Now just says: "GATT Server is disconnected. Cannot retrieve services. (Re)connect first with

device.gatt.connect."dlech commentedon Dec 22, 2021
Do not pair the hub using the OS settings menu. If you have already done this, remove the device from the settings menu.
Also see #270 for troubleshooting tips. If you can log Bluetooth packets, please upload them here and we will have a look.
MartinGarciaMatienzo commentedon Jan 1, 2022
I didn´t, I don't know what the problem is. The connection, upload from the firmware and the program ran well in an ASUS computer, I'm trying to connect with an HP but doesn´t. Both use Windows 10