windows-subsystem-for-linuxjetbrains-fleet

Fleet can't connect to WSL2, logs say permission denied


When opening a new project in the WSL file space, it will prompt if I'd like to open in Windows or WSL2. When selecting WSL2 the app hangs on the connecting screen.

enter image description here

When tailing the logs I get the following output.

[20230805 22:00:52.544 INFO  FR fleet.rpc.ktor.KtorTransport] Connecting to ws://172.20.245.127:40905/ws?clientId=odsdndm447l67jtboc5m
[20230805 22:00:52.559 INFO  FR fleet.rpc.core.ConnectionLoop] Connection by <frontend ShipId(id=lqi7ig4tovmd7f5kor5h) > withKernel > frontend ShipId(id=lqi7ig4tovmd7f5kor5h) > withKernel > FleetClient connection> lost. Cause=Connection failed (ws://172.20.245.127:40905/ws?clientId=odsdndm447l67jtboc5m), Permission denied: no further information
Consider increasing logging level to DEBUG for fleet.rpc.core.ConnectionLoop
[20230805 22:00:52.559 INFO  FR fleet.rpc.core.ConnectionLoop] Reconnect by <frontend ShipId(id=lqi7ig4tovmd7f5kor5h) > withKernel > frontend ShipId(id=lqi7ig4tovmd7f5kor5h) > withKernel > FleetClient connection> attempt #25 in 30000ms

I've tried


Solution

  • Try shutting down wsl (open cmd or powershell, then run 'wsl --shutdown') and then open a wsl workspace in fleet. Worked for me, I did not bother to figure out why.