git
› Pro Git
› Atlassian Git Tutorial
› Pro Git 简体中文翻译
› GitX
cloudzhou
V2EX  ›  git

api.github.com 间歇性不可用

  •  
  •   cloudzhou · May 29, 2013 · 4237 views
    This topic created in 4908 days ago, the information mentioned may be changed or developed.
    最近开发的时候调用 github api,发现时不时不可用,
    最后发现还是国内网络的原因。
    应用放在国内,像这种只需要调用 api 来连接 github,google 等等海外服务,不知道有没有好的解决方法。
    6 replies  •  1970-01-01 08:00:00 +08:00
    greatghoul
    greatghoul
    May 29, 2013
    1
    如果你没有使用应用授权的话,记着是一个小时60次请求的上限吧。
    cloudzhou
    cloudzhou
    OP
    May 29, 2013
    2
    @greatghoul 这个肯定不是因为应用授权的问题,就是国内网络限制,我不能用了之后挂上vpn,然后又可以使用了
    panxianhai
    panxianhai
    May 29, 2013
    3
    @cloudzhou 使用php的composer都要挂代理了。很多都是使用这个。
    greatghoul
    greatghoul
    May 29, 2013
    4
    挂上 VPN , 就被认为是不同的机器了吧,当然可以用了。我之前也是这样的。

    https://github.com/greatghoul/remarks
    我后来加上了授权,就稳定多了。
    cloudzhou
    cloudzhou
    OP
    May 29, 2013
    5
    @greatghoul 我的意思是说挂上vpn就稳定多了,我已经通过授权了,X-RateLimit-Limit: 5000,主要还是因为国内的网络环境。
    standin000
    standin000
    May 29, 2013
    6
    @greatghoul 我也遇到这样的问题,应该是GFW的恐吓战术。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2736 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 13:54 · PVG 21:54 · LAX 05:54 · JFK 08:54
    ♥ Do have faith in what you're doing.