I'm using the Espruino Web IDE on Google Chrome Version 69.0.3497.100 (Official Build) (64-bit) with Ubuntu 18.04.1.
I have tried enabling web Experimental Web Platform features, running bluetoothd in experimental mode, and I still get the same error:
Handling URL "https://www.espruino.com/ide/"
Couldn't connect to wss://localhost:31234 - disabling websockets for this session
ERROR: getURL("/serial/ports") error : Not Found
/serial/ports doesn't exist - disabling WebSocket support
ERROR: serial_frame: getPorts timeout, disabling
Set Slow Write = true
EDIT - From the browser console:
index.js:81181 WebSocket connection to 'wss://localhost:31234/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
ensureConnection @ index.js:81181
index.js:78249 Couldn't connect to wss://localhost:31234 - disabling websockets for this session
/serial/ports:1 Failed to load resource: the server responded with a status of 404 (Not Found)
index.js:78259 getURL("/serial/ports") error : Not Found
console.error @ index.js:78259
index.js:78249 /serial/ports doesn't exist - disabling WebSocket support
index.js:78259 serial_frame: getPorts timeout, disabling
This isn't an issue with the browser's connection to the bluetooth adapter, as I can successfully find devices using the web-bluetooth testing page, so I know it's specifically a problem with the web IDE.
I tried this on my Mac too, and the same problem occurred. Is the service down at the moment or ?
I can provide screenshots upon request.
Thanks in advance