相关疑难解决方法(0)

推送到Git返回错误代码403致命:HTTP请求失败

我能够通过HTTPS身份验证克隆此repo的副本.我做了一些提交,想要推回到GitHub服务器.在Windows 7 x64上使用Cygwin.

C:\cygwin\home\XPherior\Code\lunch_call>git push
Password:
error: The requested URL returned error: 403 while accessing https://MichaelDrog
alis@github.com/derekerdmann/lunch_call.git/info/refs

fatal: HTTP request failed
Run Code Online (Sandbox Code Playgroud)

同时使用详细模式进行设置.我还是很困惑.

C:\cygwin\home\XPherior\Code\lunch_call>set GIT_CURL_VERBOSE=1

C:\cygwin\home\XPherior\Code\lunch_call>git push
Password:
* Couldn't find host github.com in the _netrc file; using defaults
* About to connect() to github.com port 443 (#0)
*   Trying 207.97.227.239... * 0x23cb740 is at send pipe head!
* Connected to github.com (207.97.227.239) port 443 (#0)
* successfully set certificate verify locations:
*   CAfile: C:\Program Files (x86)\Git/bin/curl-ca-bundle.crt
  CApath: none
* SSL …
Run Code Online (Sandbox Code Playgroud)

git dvcs github

608
推荐指数
23
解决办法
75万
查看次数

错误:无法连接到github.com:8080; 拒绝连接

我知道这个问题并不新鲜,我一直在寻找答案,但是到目前为止,对我来说没有任何作用。

问题是每次我尝试使用a git clonegit pullcommand时,都会收到以下错误:

error: Failed connect to github.com:8080; Connection refused while accessing https://github.com/mxcl/homebrew.git/info/refs?service=git-upload-pack
fatal: HTTP request failed
Run Code Online (Sandbox Code Playgroud)

(这里是https://github.com/mxcl/homebrew.git/info/refs?service=git-upload-pack,但这只是一个例子,我遇到了所有网址都存在此问题)

git git-clone

4
推荐指数
1
解决办法
9248
查看次数

cocoapods 连接错误。代理连接已中止

我在安装 cococapods 时遇到问题。我在终端中完成了以下步骤:

〜sudo gem update --system

〜sudo gem install cocoapods

之后

~pod 设置

我有这个错误消息

MacBook-Pro-Aleksandr:~ aleksandrkarpov$ pod setup
Setting up CocoaPods master repo
[!] /usr/bin/git clone https://github.com/CocoaPods/Specs.git master --depth=1

Cloning into 'master'...

fatal: unable to access 'https://github.com/CocoaPods/Specs.git/': Proxy CONNECT aborted
Run Code Online (Sandbox Code Playgroud)

我之前用cocoapods工作过,没问题。在这种情况下我不知道该怎么办。有人可以帮我吗?

proxy github cocoapods

3
推荐指数
1
解决办法
7276
查看次数

标签 统计

git ×2

github ×2

cocoapods ×1

dvcs ×1

git-clone ×1

proxy ×1