まず第一に、はい、これは誤って閉じられた質問の正確な複製です。
私は元のポスターとまったく同じ問題を抱えています(そして彼と同じように、この問題を抱えている彼以外の人を見つけることができませんでした)。
私はこの問題に1か月以上苦労しており、GitHubで有料プランを使用しているにもかかわらず、bitbucket(正常に動作します)を使用する必要がありました。いいえ、これはメンテナンスとは何の関係もありません(現在、 https: //status.github.com/ではすべてが正常ですが、Vulpoと同じエラーが発生します)。
ユーザー名にもパスワードにも特殊文字は含まれていません。
別のコンピューターを使用して通常どおりにプッシュすることもできるので、はい、これは私のコンピューターに関係している必要があります。私はArchLinuxを実行しています、そしてここに私のgit config -l
:
alias.s=status
user.name=Gustavo Machado
user.email=gdmachado@me.com
credential.helper=cache
color.ui=auto
color.branch.current=yellow reverse
color.branch.local=yellow
color.branch.remote=green
color.diff.meta=yellow bold
color.diff.frag=magenta bold
color.diff.old=red bold
color.diff.new=green bold
color.status.added=yellow
color.status.changed=green
color.status.untracked=cyan
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=https://github.com/gdmachado/paradigmas-de-programacao.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master
新しいgitフォルダーを開始し、READMEファイルだけをプッシュすることは問題なく機能しますが、ファイルをプッシュしようとすると、しばらくハングしてエラーが返されます。
-%- src/paradigmas-de-programacao ‹master➔› » git push -u origin master
Username for 'https://github.com':
Password for 'https://gdmachado@github.com':
Counting objects: 6, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 1.30 KiB, done.
Total 5 (delta 0), reused 0 (delta 0)
error: RPC failed; result=52, HTTP code = 0
fatal: The remote end hung up unexpectedly
fatal: recursion detected in die handler
Everything up-to-date
と書いてありeverything up-to-date
ますが、リモートサーバーには何もプッシュされていません。
SSHも機能しません。これは次の出力ですssh -v git@github.com
:
OpenSSH_6.1p1, OpenSSL 1.0.1c 10 May 2012
debug1: Reading configuration data /home/gustavo/.ssh/config
debug1: /home/gustavo/.ssh/config line 1: Applying options for github.com
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to github.com [207.97.227.239] port 22.
debug1: Connection established.
debug1: identity file /home/gustavo/.ssh/id_rsa type 1
debug1: identity file /home/gustavo/.ssh/id_rsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.5p1 Debian- 6+squeeze1+github8
debug1: match: OpenSSH_5.5p1 Debian-6+squeeze1+github8 pat OpenSSH_5*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Server host key: RSA 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48
debug1: Host 'github.com' is known and matches the RSA host key.
debug1: Found key in /home/gustavo/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/gustavo/.ssh/id_rsa
debug1: Server accepts key: pkalg ssh-rsa blen 279
debug1: read PEM private key done: type RSA
debug1: Authentication succeeded (publickey).
Authenticated to github.com ([207.97.227.239]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: Remote: Forced command: gerve gdmachado c8:d2:c3:fe:b1:81:72:50:9c:ff:fd:c0:88:40:00:4d
debug1: Remote: Port forwarding disabled.
debug1: Remote: X11 forwarding disabled.
debug1: Remote: Agent forwarding disabled.
debug1: Remote: Pty allocation disabled.
debug1: Remote: Forced command: gerve gdmachado c8:d2:c3:fe:b1:81:72:50:9c:ff:fd:c0:88:40:00:4d
debug1: Remote: Port forwarding disabled.
debug1: Remote: X11 forwarding disabled.
debug1: Remote: Agent forwarding disabled.
debug1: Remote: Pty allocation disabled.
PTY allocation request failed on channel 0
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0
Hi gdmachado! You've successfully authenticated, but GitHub does not provide shell access.
debug1: channel 0: free: client-session, nchannels 1
Connection to github.com closed.
Transferred: sent 2952, received 3000 bytes, in 0.5 seconds
Bytes per second: sent 6029.5, received 6127.5
debug1: Exit status 1
また、github.com Webサイトを使用しようとすると、いくつかの問題が発生します。Webサイトを使用して新しいリポジトリを作成することもできません。リポジトリ名のチェックには非常に時間がかかり、しばらくするとメッセージのない赤い警告が表示されます。リポジトリの閲覧に時間がかかることもあれば、メインのWebサイトが読み込まれないこともあります。Chromeのシークレットウィンドウを使用して(Cookie /キャッシュがない場合のように)Webサイトを閲覧しようとすると、しばらくの間(!!!)完全に機能し、数分後に再び機能しなくなります。これは非常に奇妙です。他のすべてのWebサイトを通常どおり使用できます(たとえば、bitbucketでホストされている他のgitリポジトリにプッシュすることもできます)。
一時的に無効iptables
にしてみましたが、何も解決しませんでした。
編集: Windows7では完全に正常に動作します。これはArchLinuxでのみ発生します:(
それで、私はその質問を再開することができないので、誰かがここで何が起こっているのか考えているので、私の質問を削除してVulpoの質問に答えることができますか?ありがとう!