clash icon indicating copy to clipboard operation
clash copied to clipboard

[Bug] Cannot do git clone, i/o timeout

Open tristone13th opened this issue 2 years ago • 1 comments

Verify steps

  • [X] 如果你可以自己 debug 并解决的话,提交 PR 吧 Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.
  • [X] 我已经在 Issue Tracker 中找过我要提出的问题 I have searched on the issue tracker for a related issue.
  • [X] 我已经使用 dev 分支版本测试过,问题依旧存在 I have tested using the dev branch, and the issue still exists.
  • [X] 我已经仔细看过 Documentation 并无法自行解决问题 I have read the documentation and was unable to solve the issue.
  • [X] 这是 Clash 核心的问题,并非我所使用的 Clash 衍生版本(如 OpenClash、KoolClash 等)的特定问题 This is an issue of the Clash core per se, not to the derivatives of Clash, like OpenClash or KoolClash.

Clash version

Clash 2022.05.18 linux amd64 with go1.18.2 Wed May 18 10:49:41 UTC 2022

What OS are you seeing the problem on?

Linux

Clash config

0 mixed-port: 7890                                                                                                                        
  1 secret: ""
  2 mode: Rule
  3 external-controller: 0.0.0.0:9090
  4
  5 proxy-providers:
  6    gatern:
  7      type: http
  8      url: "xxx"
  9      interval: 60
 10      path: ./gatern.yaml
 11      health-check:
 12        enable: true
 13        interval: 600
 14        url: http://www.gstatic.com/generate_204
 15    ss:
 16      type: http
 17      url: "xxx"
 18      interval: 60
 19      path: ./ss.yaml
 20      health-check:
 21        enable: true
 22        interval: 600
 23        url: http://www.gstatic.com/generate_204
 24    jike:
 25      type: http
 26      url: "xxx"
 27      interval: 60
 28      path: ./jike.yaml
 29      health-check:
 30        enable: true
 31        interval: 600
 32        url: http://www.gstatic.com/generate_204

Clash log

INFO[0000] Start initial provider gatern
INFO[0000] Start initial provider ss
INFO[0000] Start initial provider jike
INFO[0000] Mixed(http+socks) proxy listening at: 127.0.0.1:7890
INFO[0000] RESTful API listening at: [::]:9090
INFO[0004] [TCP] 127.0.0.1:56460 --> github.com:443 doesn't match any rule using DIRECT
INFO[0004] [TCP] 127.0.0.1:56464 --> github.com:443 doesn't match any rule using DIRECT
INFO[0004] [TCP] 127.0.0.1:56468 --> github.com:443 doesn't match any rule using DIRECT
INFO[0004] [TCP] 127.0.0.1:56470 --> github.com:443 doesn't match any rule using DIRECT
INFO[0004] [TCP] 127.0.0.1:56480 --> github.com:443 doesn't match any rule using DIRECT
INFO[0004] [TCP] 127.0.0.1:56492 --> github.com:443 doesn't match any rule using DIRECT
INFO[0004] [TCP] 127.0.0.1:56484 --> github.com:443 doesn't match any rule using DIRECT
INFO[0004] [TCP] 127.0.0.1:56486 --> github.com:443 doesn't match any rule using DIRECT
INFO[0004] [TCP] 127.0.0.1:56496 --> github.com:443 doesn't match any rule using DIRECT
INFO[0004] [TCP] 127.0.0.1:56500 --> github.com:443 doesn't match any rule using DIRECT
INFO[0004] [TCP] 127.0.0.1:56508 --> github.com:443 doesn't match any rule using DIRECT
INFO[0004] [TCP] 127.0.0.1:56524 --> github.com:443 doesn't match any rule using DIRECT
INFO[0004] [TCP] 127.0.0.1:56528 --> github.com:443 doesn't match any rule using DIRECT
INFO[0005] [TCP] 127.0.0.1:56536 --> github.com:443 doesn't match any rule using DIRECT
INFO[0005] [TCP] 127.0.0.1:56542 --> github.com:443 doesn't match any rule using DIRECT
INFO[0005] [TCP] 127.0.0.1:56546 --> github.com:443 doesn't match any rule using DIRECT
INFO[0005] [TCP] 127.0.0.1:56540 --> github.com:443 doesn't match any rule using DIRECT
INFO[0005] [TCP] 127.0.0.1:56558 --> github.com:443 doesn't match any rule using DIRECT
INFO[0005] [TCP] 127.0.0.1:56582 --> github.com:443 doesn't match any rule using DIRECT
INFO[0005] [TCP] 127.0.0.1:56594 --> github.com:443 doesn't match any rule using DIRECT
INFO[0005] [TCP] 127.0.0.1:56504 --> github.com:443 doesn't match any rule using DIRECT
INFO[0006] [TCP] 127.0.0.1:56568 --> github.com:443 doesn't match any rule using DIRECT
INFO[0006] [TCP] 127.0.0.1:56572 --> github.com:443 doesn't match any rule using DIRECT
INFO[0008] [TCP] 127.0.0.1:56556 --> github.com:443 doesn't match any rule using DIRECT
WARN[0009] [TCP] dial DIRECT to github.com:443 error: dial tcp4 20.205.243.166:443: i/o timeout
WARN[0009] [TCP] dial DIRECT to github.com:443 error: dial tcp4 20.205.243.166:443: i/o timeout
WARN[0009] [TCP] dial DIRECT to github.com:443 error: dial tcp4 20.205.243.166:443: i/o timeout
WARN[0009] [TCP] dial DIRECT to github.com:443 error: dial tcp4 20.205.243.166:443: i/o timeout
WARN[0010] [TCP] dial DIRECT to github.com:443 error: dial tcp4 20.205.243.166:443: i/o timeout
WARN[0010] [TCP] dial DIRECT to github.com:443 error: dial tcp4 20.205.243.166:443: i/o timeout
WARN[0010] [TCP] dial DIRECT to github.com:443 error: dial tcp4 20.205.243.166:443: i/o timeout
WARN[0010] [TCP] dial DIRECT to github.com:443 error: dial tcp4 20.205.243.166:443: i/o timeout
WARN[0010] [TCP] dial DIRECT to github.com:443 error: dial tcp4 20.205.243.166:443: i/o timeout
WARN[0010] [TCP] dial DIRECT to github.com:443 error: dial tcp4 20.205.243.166:443: i/o timeout
WARN[0010] [TCP] dial DIRECT to github.com:443 error: dial tcp4 20.205.243.166:443: i/o timeout
WARN[0010] [TCP] dial DIRECT to github.com:443 error: dial tcp4 20.205.243.166:443: i/o timeout
WARN[0010] [TCP] dial DIRECT to github.com:443 error: dial tcp4 20.205.243.166:443: i/o timeout
WARN[0010] [TCP] dial DIRECT to github.com:443 error: dial tcp4 20.205.243.166:443: i/o timeout
WARN[0010] [TCP] dial DIRECT to github.com:443 error: dial tcp4 20.205.243.166:443: i/o timeout
WARN[0010] [TCP] dial DIRECT to github.com:443 error: dial tcp4 20.205.243.166:443: i/o timeout
WARN[0010] [TCP] dial DIRECT to github.com:443 error: dial tcp4 20.205.243.166:443: i/o timeout
WARN[0010] [TCP] dial DIRECT to github.com:443 error: dial tcp4 20.205.243.166:443: i/o timeout
WARN[0010] [TCP] dial DIRECT to github.com:443 error: dial tcp4 20.205.243.166:443: i/o timeout
WARN[0010] [TCP] dial DIRECT to github.com:443 error: dial tcp4 20.205.243.166:443: i/o timeout

Description

Cannot do git clone although I have set the right proxy.

tristone13th avatar May 23 '22 15:05 tristone13th

[TCP] 127.0.0.1:56460 --> github.com:443 doesn't match any rule using DIRECT

Maybe you should think about your rules? Try to add MATCH,$PROXYGROUP to your rules may help it work as expected.

CharlotteFallices avatar Jun 04 '22 08:06 CharlotteFallices

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Aug 04 '22 02:08 github-actions[bot]