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

api.github.com 间歇性不可用

  •  
  •   cloudzhou · May 29, 2013 · 4022 views
    This topic created in 4810 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
        1
    greatghoul  
       May 29, 2013
    如果你没有使用应用授权的话,记着是一个小时60次请求的上限吧。
    cloudzhou
        2
    cloudzhou  
    OP
       May 29, 2013
    @greatghoul 这个肯定不是因为应用授权的问题,就是国内网络限制,我不能用了之后挂上vpn,然后又可以使用了
    panxianhai
        3
    panxianhai  
       May 29, 2013
    @cloudzhou 使用php的composer都要挂代理了。很多都是使用这个。
    greatghoul
        4
    greatghoul  
       May 29, 2013
    挂上 VPN , 就被认为是不同的机器了吧,当然可以用了。我之前也是这样的。

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