scratchfoundation / scratch-link

Device interoperability layer for Windows and MacOS
BSD 3-Clause "New" or "Revised" License
102 stars 83 forks source link

Micro:bit not connecting on mac osx 10.13.6 #180

Open letsgoawaydev opened 4 years ago

letsgoawaydev commented 4 years ago

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 commented 4 years ago

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

letsgoawaydev commented 4 years ago

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

letsgoawaydev commented 4 years ago

safari doesnt work either. Should i try firefox?

letsgoawaydev commented 4 years ago

And Do you want video of whats happening?

apple502j commented 4 years ago

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

letsgoawaydev commented 4 years ago

Yep this. https://i.ibb.co/sjxpwYF/yep-i-dont-even-know1.jpg

letsgoawaydev commented 4 years ago

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

ahmetlii commented 4 years ago

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

apple502j commented 4 years ago

@ahmetlii Wait what? That doesn't exist?

letsgoawaydev commented 4 years ago

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 commented 4 years ago

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

letsgoawaydev commented 4 years ago

also i have custom icons that look like big sur

apple502j commented 4 years ago

@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 commented 4 years ago

yes its running in the video

letsgoawaydev commented 4 years ago

ok ill check chrome

letsgoawaydev commented 4 years ago

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

ahmetlii commented 4 years ago

@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 commented 4 years ago

@ahmetlii Incorrect:

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

letsgoawaydev commented 4 years ago

ok!

letsgoawaydev commented 4 years ago

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 commented 4 years ago

that was in the console

letsgoawaydev commented 4 years ago

Sorry its so long lol

letsgoawaydev commented 4 years ago

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

letsgoawaydev commented 4 years ago

nup not that

letsgoawaydev commented 4 years ago

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

microbit-mark commented 4 years ago

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 commented 4 years ago

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

microbit-mark commented 4 years ago

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

apple502j commented 4 years ago

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 commented 4 years ago

Sorry to stress you guys out lol

letsgoawaydev commented 4 years ago

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

letsgoawaydev commented 4 years ago

Should i?

letsgoawaydev commented 3 years ago

@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 commented 3 years ago

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 commented 3 years ago

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

letsgoawaydev commented 2 years ago

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