Open
Description
Expected Behavior
- If the extension system tries to connect to Scratch Link and the DNS lookup fails, the Scratch Link connection as a whole will fail.
- If the network connects after this initial failure, possibly because flaky WiFi reconnected or the user connected to a new network, the connection to Scratch Link should start working. Ideally this should work without reloading the editor page.
- Error status information should also be displayed to the user as appropriate.
Actual Behavior
- If the extension system tries to connect to Scratch Link and the DNS lookup fails, the Scratch Link connection as a whole will fail.
- If the network connects after this initial failure, possibly because flaky WiFi reconnected or the user connected to a new network, the connection to Scratch Link should start working. Ideally this should work without reloading the editor page.
- Current reports suggest that this sometimes work and sometimes doesn't.
- Error status information should also be displayed to the user as appropriate.
- There may be cases where we are missing feedback.
- It would be nice to find a way to distinguish between "Scratch Link is not running" and "Cannot resolve
device-manager.scratch.mit.edu
Steps to Reproduce
- Start Scratch Link
- Start Scratch 3.0 in any form
- Disconnect Internet access
- Load a hardware extension
- Attempt to connect the extension to a peripheral - this should fail
- Reconnect Internet access (do not restart or reload Scratch)
- Attempt to connect the extension to a peripheral - this should succeed