coolair
V2EX  ›  问与答

GitHub Clone 的速度很慢是不是因为同事电脑中毒了啊?

  •  
  •   coolair · Jan 6, 2017 · 3096 views
    This topic created in 3598 days ago, the information mentioned may be changed or developed.
    每天赶早来或者等下班同事都关机走完以后,速度有 1M/s ,但是等人都来齐了,基本就是 1 K/s ,上 SS 也没用,但是路由后台看,没人下载啊,很奇怪啊。
    17 replies  •  2017-01-07 15:27:09 +08:00
    livc
    livc
    Jan 6, 2017
    1
    是
    phrack
    phrack
    Jan 6, 2017 via Android
    2
    不是吧。。。一直慢。成都电信 20m 也慢的一笔。
    coolair
    coolair
    OP
    Jan 6, 2017
    3
    @phrack 我用手机开个热点都 1M/s ……诶,只能这样下了。
    @livc 怎么排查?
    Anthropic
    Anthropic
    Jan 6, 2017 via Android
    4
    挂代理
    kokutou
    kokutou
    Jan 6, 2017 via Android❤️1
    5
    路由器太烂,人多了丢包?看看 ping 稳不稳定。
    Miy4mori
    Miy4mori
    Jan 6, 2017 via Android
    6
    代理要挂到 git remote 什么的. exe 我用 proxifier 挂的,没问题
    coolair
    coolair
    OP
    Jan 6, 2017
    7
    @kokutou ping 挺稳定的,不丢包。
    @jarry777
    @Miy4mori 挂了 VPN 还是很慢,订购了一个联通 5 块 1G 的日流量包,暂时用着。
    SpringHack
    SpringHack
    Jan 6, 2017 via Android
    8
    你还能上去,我这边联通大部分时间上不去
    xcodebuild
    xcodebuild
    Jan 6, 2017
    9
    赌一毛钱 lz 说的『上 SS 也没用』指的是打开 ss 客户端的『全局代理』模式。。。
    morethansean
    morethansean
    Jan 6, 2017
    10
    ss 开全局模式, git clone 也不会走 ss 吧……
    kdwycz
    kdwycz
    Jan 6, 2017
    11
    proxychains4 表示没有用,换电信 /联通热点后才能 git pull
    med1po
    med1po
    Jan 6, 2017 via Android
    12
    好像梯子直接开全局, git 也不会走,好像是在什么 rc 文件里设置了代理(抱歉我记不清具体内容了), git 才会走,当时我在谷歌上找的
    ilanyu
    ilanyu
    Jan 6, 2017
    14
    windows:
    set http_proxy=http://127.0.0.1:1080/
    set https_proxy=http://127.0.0.1:1080/
    git clone https://github.com/xxx/xxx.git

    linux:
    export http_proxy=http://127.0.0.1:1080/
    export https_proxy=http://127.0.0.1:1080/
    git clone https://github.com/xxx/xxx.git

    ps: 1080 为 http 代理端口, ssr 默认是 1080, ss 默认是 8123
    neilwong
    neilwong
    Jan 6, 2017 via iPhone
    15
    gitconfig 里可以设置 socket5 代理的
    walter
    walter
    Jan 7, 2017
    16
    @codefalling 居然在线?
    xcodebuild
    xcodebuild
    Jan 7, 2017
    17
    @walter 可能是 v2ex-plus 插件一直挂着。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3624 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 05:38 · PVG 13:38 · LAX 21:38 · JFK 00:38
    ♥ Do have faith in what you're doing.