scratchfoundation / scratch-link

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

Windows scratch-link failing with `ERR_SSL_OBSOLETE_VERSION` or similar #179

Closed jsyzthz closed 4 years ago

jsyzthz commented 4 years ago

Expected Behavior

connect to microbit successfully

Actual Behavior

EDIT by @cwillisf: new problem described in https://github.com/LLK/scratch-link/issues/179#issuecomment-662346868

projects.bundle.js:150 WebSocket connection to 'wss://device-manager.scratch.mit.edu:20110/scratch/ble' failed: Error in connection establishment: net::ERR_SSL_OBSOLETE_VERSION

~~WebSocket connection to 'wss://device-manager.scratch.mit.edu:20110/scratch/ble' failed: Error in connection establishment: net::ERR_CERT_REVOKED value @ projects.bundle.js:150~~

Steps to Reproduce

  1. open https://scratch.mit.edu/
  2. login with own account
  3. launch scratch-link tool
  4. add microbit extension
  5. connect to microbit
  6. got error

Operating System and Browser

Chrome 84.0.4147.89 /Window 10

jsyzthz commented 4 years ago

my scratch link version is 1.1.46.0

apple502j commented 4 years ago

@jsyzthz Please update Scratch Link.

jsyzthz commented 4 years ago

@apple502j i download&install the release version(1.3.57.0) from official(msi package),now i got another error:

projects.bundle.js:150 WebSocket connection to 'wss://device-manager.scratch.mit.edu:20110/scratch/ble' failed: Error in connection establishment: net::ERR_SSL_OBSOLETE_VERSION

it seems the wss certificate has some problem with Chrome broswer.

YanMinge commented 4 years ago

I also have this issue. https://github.com/LLK/scratch-vm/issues/2524

cwillisf commented 4 years ago

This seems to affect Chrome-family browsers as well as Firefox.

BWMerlin commented 4 years ago

Here is what I have tried.

Laptop 1 - working Windows 10 1809 build 17763.1217/17763.1282 Scratch link 1.3.57.0 Firefox 66.0.5/69.0/72.0.2 (Firefox 78.0.2 NOT working) Edge 44.17763.831.0 HTML 18.17763 Chrome 84.0.4147.89/84.0.4147.105

Laptop 2 - NOT working Windows 10 1909 build 18363.959 Scratch link 1.3.57.0 Firefox 78.0.2 Edge 84.0.522.44 Chrome 84.0.4147.105

Laptop 3 - Working Windows 10 1909 build 18363.959 Scratch link 1.3.57.0 Edge 44.17763.831.0 HTML 18.17763 Chrome 84.0.4147.105 NOT working

It would appear that the issue is related to a Windows update and certain browser versions will not work if they are updated (Firefox 78.0.2 for example) while Edge 44.17763.831.0 HTML 18.17763 will happily work on the same updated version of Windows