-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Connection failed for unknown reason.
#761
Comments
You could try https://beta.pybricks.com and see if it works better for you. Beyond that, we will need log files as described in #270 to help troubleshoot. |
This looks like a problem between the Bluetooth chip and the Windows Bluetooth stack. You could try logging the Bluetooth packets with Wireshark as described in #270 to get a better look at what is going on. It seems like Windows just has issues with some Bluetooth adapters. If you have another computer/chromebook/android device, you could try flashing the firmware with that instead. Sometimes, once the firmware is flashed, then you can use Windows to download and run programs. Trying a different Bluetooth adapter on Windows could be a possibility too. |
So I installed the firmware with a different computer but now I can't pair it to this computer. It still says "Connection failed for unknown reason" And would you want to look at the bluetooth packet? |
Yes, I would be happy to look at it. |
This one is when I tried to install the firmware: |
Is this with https://code.pybricks.com or https://beta.pybricks.com? |
Can you try it with https://beta.pybricks.com/? (update the firmware to the beta version using the other computer, then try to connect to the beta web site) |
It still has the same error message |
Thanks for making all of the logs. They all look pretty much the same. The device connects, but Windows never tries to get the BLE services from the device. So, I'm afraid there isn't much we can do in Pybricks. If you have a different computer you can use, you could just use that. Or you might have better luck with a different Bluetooth adapter on your Windows computer that uses a different Bluetooth chip/driver. |
Ok thanks for all the help. |
at code.pybricks.com I try to install the firmware onto a technic hub but an error appears that says:
"Unexpected error while trying to connect: Connection failed for unknown reason."
I'm on Windows 11 Home and use Google Chrome.
Ask if you need any more information.
I've looked all over your support page and tried everything I could but nothing works. Any Ideas?
The text was updated successfully, but these errors were encountered: