pybricks / support

Pybricks support and general discussion

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]

BobCohenRobert opened this issue · comments

Describe the bug
My Lego Technic hub cannot connect to Bluethooth using https://code.pybricks.com/
Getting error "Permission denied"
When trying to connect directly from my Windows 10 setting it connected for 2-3 seconds and then disconnect.
See attached error.
Bluetooth_error

Sincerely,
Reuven Cohen
bob.cohen77@gmail.com

To reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
What did you expect to happen instead?

Screenshots
There is a saying that a picture is worth a 1000 words. Screenshots really help to identify and solve problems.

What web browser and version are you using?

When trying to connect directly from my Windows 10 setting it connected for 2-3 seconds and then disconnect.

Yeah, don't do this. Only connect directly using the Bluetooth button the web browser (in the Pybricks app). Otherwise it messes things up. If the hub is still added in the Windows settings, remove it.

Getting error "Permission denied"

Also see https://github.com/orgs/pybricks/discussions/270 for more troubleshooting tips.

I don't think we've seen this error before, so if removing it from your Windows settings doesn't fix it, we will probably need Bluetooth packet logs to troubleshoot it any further.