Skip to content
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

Micro:bit not connecting on mac osx 10.13.6 #180

Open
letsgoawaydev opened this issue Jul 23, 2020 · 36 comments
Open

Micro:bit not connecting on mac osx 10.13.6 #180

letsgoawaydev opened this issue Jul 23, 2020 · 36 comments

Comments

@letsgoawaydev
Copy link

letsgoawaydev commented Jul 23, 2020

Expected Behavior

Micro:bit connects to scratch link.

Actual Behavior

Shows the error that says that there is no devices found

Steps to Reproduce

  1. download scratch link.
  2. open scratch link in microsoft edge for mac browser
  3. download .hex file from scratch web to micro bit
  4. try to connect using micro:bit extension on scratch.mit.edu (also doesnt work on scratch desktop from the app store)
  5. fail error

Operating System and Browser

Mac OS 10.13.6 Edge 83.0.478.58

Scratch Link 1.3.57 949d6ed
macOS Version 10.13.6 (Build 17G14019)

Please help if you can.

@apple502j
Copy link

@ethpsa09 Does it work on Chrome/Safari/Firefox?

@letsgoawaydev
Copy link
Author

letsgoawaydev commented Jul 23, 2020

@apple502j I have tried chrome, nothing. ill try safari and tell you.

@letsgoawaydev
Copy link
Author

safari doesnt work either. Should i try firefox?

@letsgoawaydev
Copy link
Author

And Do you want video of whats happening?

@apple502j
Copy link

@ethpsa09 Press F12, any error there? if so screenshot it

@letsgoawaydev
Copy link
Author

@letsgoawaydev
Copy link
Author

Oh its pixelated hold on
https://ibb.co/MnwyV0R

@ahmetlii
Copy link

@ethpsa09, did you give permission to browsers for connecting to Scratch Link?

@apple502j
Copy link

@ahmetlii Wait what? That doesn't exist?

@letsgoawaydev
Copy link
Author

Yeah i dont think that exists but anyway I think its the scratch link because it also doesnt work on Scratch Desktop from the app store

@letsgoawaydev
Copy link
Author

03aaa863-2fb3-45f7-87b2-2ecab23cd844.zip
video of whats happening in the zip file

@letsgoawaydev
Copy link
Author

also i have custom icons that look like big sur

@apple502j
Copy link

apple502j commented Jul 25, 2020

@ethpsa09 Hmm, there is no error... Are you running Scratch Link? (It's an app, not something you open in the browser)
Can you take screenshots of F12 screen on Chrome? (I don't think macOS Edge is supported)

@letsgoawaydev
Copy link
Author

yes its running in the video

@letsgoawaydev
Copy link
Author

ok ill check chrome

@letsgoawaydev
Copy link
Author

26714b19-d195-4e42-af71-046079044eb0.zip
this happens when i press f12 it does this thing

@ahmetlii
Copy link

@apple502j and @ethpsa09 ; if I know right, Scratch Link needs administration permission in setup. Also, browsers need permission to run programs on the computer.

@apple502j
Copy link

@ahmetlii Incorrect:

  • Microsoft Store version doesn't need admin permission to install
  • You don't have to give browser any special permission - because it's just connecting to a WebSocket

@ethpsa09 Can you right-click the menu bar and click Inspect, then click Console?

@letsgoawaydev
Copy link
Author

ok!

@letsgoawaydev
Copy link
Author

ok this came up

Access to XMLHttpRequest at 'https://api.scratch.mit.edu/projects/undefined' from origin 'https://scratch.mit.edu' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
2projects.bundle.js:31 www  Error: Internal XMLHttpRequest Error
    at i (common.bundle.js:16)
    at XMLHttpRequest.t (common.bundle.js:16)
    at XMLHttpRequest.n (projects.bundle.js:31)
(anonymous) @ projects.bundle.js:31
api.scratch.mit.edu/projects/undefined:1 Failed to load resource: net::ERR_FAILED
projects.bundle.js:31 storage Deprecation: Storage.addWebSource has been replaced by addWebStore.
(anonymous) @ projects.bundle.js:31
projects.bundle.js:31 Stop!
projects.bundle.js:31 This is part of your browser intended for developers. If someone told you to copy-and-paste something here, don't do it! It could allow them to take over your Scratch account, delete all of your projects, or do many other harmful things. If you don't understand what exactly you are doing here, you should close this window without doing anything.
/projects/editor/:1 Access to XMLHttpRequest at 'https://api.scratch.mit.edu/projects/undefined' from origin 'https://scratch.mit.edu' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
2projects.bundle.js:31 www  Error: Internal XMLHttpRequest Error
    at i (common.bundle.js:16)
    at XMLHttpRequest.t (common.bundle.js:16)
    at XMLHttpRequest.n (projects.bundle.js:31)
(anonymous) @ projects.bundle.js:31
api.scratch.mit.edu/projects/undefined:1 Failed to load resource: net::ERR_FAILED
projects.bundle.js:31 Translation for "microbit.whenButtonPressed" in "en" is missing
(anonymous) @ projects.bundle.js:31
projects.bundle.js:31 Translation for "microbit.isButtonPressed" in "en" is missing
(anonymous) @ projects.bundle.js:31
projects.bundle.js:31 Translation for "microbit.whenGesture" in "en" is missing
(anonymous) @ projects.bundle.js:31
projects.bundle.js:31 Translation for "microbit.displaySymbol" in "en" is missing
(anonymous) @ projects.bundle.js:31
projects.bundle.js:31 Translation for "microbit.displayText" in "en" is missing
(anonymous) @ projects.bundle.js:31
projects.bundle.js:31 Translation for "microbit.defaultTextToDisplay" in "en" is missing
(anonymous) @ projects.bundle.js:31
projects.bundle.js:31 Translation for "microbit.clearDisplay" in "en" is missing
(anonymous) @ projects.bundle.js:31
projects.bundle.js:31 Translation for "microbit.whenTilted" in "en" is missing
(anonymous) @ projects.bundle.js:31
projects.bundle.js:31 Translation for "microbit.isTilted" in "en" is missing
(anonymous) @ projects.bundle.js:31
projects.bundle.js:31 Translation for "microbit.tiltAngle" in "en" is missing
(anonymous) @ projects.bundle.js:31
projects.bundle.js:31 Translation for "microbit.whenPinConnected" in "en" is missing
(anonymous) @ projects.bundle.js:31
projects.bundle.js:31 Translation for "microbit.buttonsMenu.any" in "en" is missing
(anonymous) @ projects.bundle.js:31
projects.bundle.js:31 Translation for "microbit.gesturesMenu.moved" in "en" is missing
(anonymous) @ projects.bundle.js:31
projects.bundle.js:31 Translation for "microbit.gesturesMenu.shaken" in "en" is missing
(anonymous) @ projects.bundle.js:31
projects.bundle.js:31 Translation for "microbit.gesturesMenu.jumped" in "en" is missing
(anonymous) @ projects.bundle.js:31
projects.bundle.js:31 Translation for "microbit.pinStateMenu.on" in "en" is missing
(anonymous) @ projects.bundle.js:31
projects.bundle.js:31 Translation for "microbit.pinStateMenu.off" in "en" is missing
(anonymous) @ projects.bundle.js:31
projects.bundle.js:31 Translation for "microbit.tiltDirectionMenu.front" in "en" is missing
(anonymous) @ projects.bundle.js:31
projects.bundle.js:31 Translation for "microbit.tiltDirectionMenu.back" in "en" is missing
(anonymous) @ projects.bundle.js:31
projects.bundle.js:31 Translation for "microbit.tiltDirectionMenu.left" in "en" is missing
(anonymous) @ projects.bundle.js:31
projects.bundle.js:31 Translation for "microbit.tiltDirectionMenu.right" in "en" is missing
(anonymous) @ projects.bundle.js:31
projects.bundle.js:31 Translation for "microbit.tiltDirectionMenu.any" in "en" is missing
(anonymous) @ projects.bundle.js:31
DevTools failed to load SourceMap: Could not load content for https://scratch.mit.edu/31b932aa68d4f678cc23.worker.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

@letsgoawaydev
Copy link
Author

that was in the console

@letsgoawaydev
Copy link
Author

Sorry its so long lol

@letsgoawaydev
Copy link
Author

It could be because im using a vpn
ill turn it off and try

@letsgoawaydev
Copy link
Author

nup not that

@letsgoawaydev
Copy link
Author

Could it help to say that I'm using the direct download link

@microbit-mark
Copy link

microbit-mark commented Jul 27, 2020

micro:bit support #38713

This has also been reported to us by a user on Chrome 83.0.4103.116 Mac OS 10.13.6 both with the direct download and app store versions. They have the correct version of Bluetooth and report that the app did work previous to the latest update.

@apple502j
Copy link

@microbit-mark Which "previous version"? Previous versions of browser, OS, microbit firmware, etc

@microbit-mark
Copy link

@apple502j Previous version of Scratchlink, so prior to the 1.3.57 release

@apple502j
Copy link

This is strange. There is currently a bug on Windows machines that on latest Chrome (Chrome 84) you cannot connect to Scratch Link because of old TLS versions being used, but it doesn't seem like this is the case. It's also strange that versions prior to 1.3.57 work, because certificates used are expired...

@letsgoawaydev
Copy link
Author

Sorry to stress you guys out lol

@letsgoawaydev
Copy link
Author

letsgoawaydev commented Jul 28, 2020

Should i download the previous version and test if it works?

@letsgoawaydev
Copy link
Author

Should i?

@letsgoawaydev
Copy link
Author

@microbit-mark @apple502j i tried using it on my dads big sur beta mac and the one thing thats different is that it asks for bluetooth but on my mac it doesnt

@fsih
Copy link
Contributor

fsih commented Oct 6, 2020

I just tried it with scratch link 1.3.66 and it worked

Try downloading a new version of scratch link: https://scratch.mit.edu/microbit
Some older ones have expired certificates

@javascript-programmer
Copy link

hmm i think its blocked cuz it said that in the error you posted

@letsgoawaydev
Copy link
Author

I just tried it with scratch link 1.3.66 and it worked

Try downloading a new version of scratch link: https://scratch.mit.edu/microbit
Some older ones have expired certificates

Thanks, but I also no longer have an iMac to test this. I now have a windows with no bluetooth driver so I still use my dads iMac on big Sur. If you guys have the same version and its working PLEASE post video footage to help others and the scratch team

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

No branches or pull requests

7 participants