FastGithub icon indicating copy to clipboard operation
FastGithub copied to clipboard

wsl2中clone显示“Failed to connect to 127.0.0.1 port 38457: Connection refused”

Open Li-Tiezhu opened this issue 1 year ago • 2 comments

Bug描述 wsl2中无法启动代理,启动wsl2好像有systemctl的影响,不知道启动是否成功,无法clone,ping www.github.com也不通

重现步骤

  1. sudo ./fastgithub start

    chcon: can't apply partial context to unlabeled file '/home/tiezhu/tools/fastgithub_linux-x64/fastgithub' System has not been booted with systemd as init system (PID 1). Can't operate. System has not been booted with systemd as init system (PID 1). Can't operate. Created symlink /etc/systemd/system/multi-user.target.wants/fastgithub.service → /etc/systemd/system/fastgithub.service. 2022-07-13T10:39:50.9458763+08:00 [INF] FastGithub 服务启动成功

  2. 设置系统代理
  3. git clone

    Cloning into 'FastGithub'... fatal: unable to access 'https://github.com/dotnetcore/FastGithub/': Failed to connect to 127.0.0.1 port 38457: Connection refused

  4. ping

    ping失败

软件信息

  • 操作系统: win11-x64 with ubuntu-18.04 on wsl2
  • FastGithub: v2.1.4

Li-Tiezhu avatar Jul 13 '22 02:07 Li-Tiezhu

同样问题

Sparks-Lu avatar Jul 18 '22 11:07 Sparks-Lu

see #158

registerGen avatar Jul 28 '22 12:07 registerGen