You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Fleet无法连接WSL2,日志提示Permission denied求助

Fleet连接WSL2时卡在连接界面问题

在WSL文件空间中打开新项目时,系统会提示选择在Windows或WSL2中打开。选择WSL2后,应用卡在连接界面。

Fleet连接卡住界面

查看日志得到如下输出:

[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

已尝试的解决方案

  • 重新安装不同版本的Fleet
  • 重新安装WSL2实例
  • 允许Fleet和WSL通过防火墙
  • 检查并修改/etc/resolv.conf的nameserver为1.1.1.1(此操作解决了网络访问问题)
  • 在JetBrains Toolbox设置中勾选“以管理员身份运行”

上述方案均未解决问题,寻求技术帮助。

内容的提问来源于stack exchange,提问作者Kaigo

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.14 05:28:23