Skip to content

Unexpected error while trying to connect: Connection failed for unknown reason #555

Open

Description

@VegaMansk
No description provided.

Activity

  1. VegaMansk commented on Dec 13, 2021

    @VegaMansk
    Author

    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

  2. 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
  3. added
    OS: Windows 11
    software: pybricks-code
    topic: bluetooth
    on Dec 13, 2021
  4. dlech commented on Dec 13, 2021

    @dlech
    Member

    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.

    image

  5. MartinGarciaMatienzo commented on Dec 22, 2021

    @MartinGarciaMatienzo

    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.
    8abda934-f932-4784-b60b-16d51076de1a

  6. MartinGarciaMatienzo commented on Dec 22, 2021

    @MartinGarciaMatienzo

    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".
    image

  7. MartinGarciaMatienzo commented on Dec 22, 2021

    @MartinGarciaMatienzo

    Now just says: "GATT Server is disconnected. Cannot retrieve services. (Re)connect first with device.gatt.connect."
    image

  8. dlech commented on Dec 22, 2021

    @dlech
    Member

    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.

  9. MartinGarciaMatienzo commented on Jan 1, 2022

    @MartinGarciaMatienzo

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS: Windows 11software: pybricks-codetopic: bluetooth

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions