When running a marimo notebook locally on my laptop copilot works as it should, but when I use the
Visual Studio Code port forwarding feature and I connect to the same marimo notebook using the forwarded address, copilot stops working and I get a
websockets.exceptions.InvalidURI: http://localhost:2918/copilot isn't a valid URI: scheme isn't ws or wss
.
Any idea why this is happening? And how can this be fixed?