这是我在尝试创建新要点时收到的错误消息。
创建要点失败:403禁止
我按照建议设置了GITHUB_USER和GITHUB_PASSWORD,并尝试设置环境变量HTTP_PROXY,但后来收到此错误:
System / Library / Frameworks / Ruby.framework / Versions / 1.8 / usr / lib / ruby / 1.8 / uri / generic.rb:195:in
initialize': the scheme http does not accept registry part: host:port (or bad hostname?) (URI::InvalidURIError) from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/uri/http.rb:78:in
initialize' 来自/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/uri/common.rb:488:innew' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/uri/common.rb:488:in
解析' 来自/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/uri/common.rb:608:in'URI' 来自/ usr / local / bin / gist:1130
似乎无法找到任何错误支持!
答案 0 :(得分:1)
可能有很多理由从现有工具或您自己的代码中获取Github的403响应,例如: