Bitbucket Server: Git operations fails with error fatal: unable to access.. Encountered end of file

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く


問題

Git push fails with below error in console

user@host]$ git push origin master
fatal: unable to access
https://git.url:7999/scm/en/repo.git
Encountered end of file 

診断


Diagnostic Steps

  • verify the SSH port
  • run git remote -v and  verify the push and fetch remotes set.

原因

Trying to connect to an SSH port with https.With https, an "Encountered end of file" also means an ssl handshake error

ソリューション

Use the right URL and port. If the remotes are set with wrong URL and port correct it with _git remote set-url origin <url>


最終更新日: 2018 年 2 月 2 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.