"no DAV locking support" errors while pushing to Bitbucket

お困りですか?

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

コミュニティに質問


プラットフォームについて: 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 は除く

要約

"no DAV locking support" errors while pushing to Bitbucket and some other errors on the UI.

診断

Issue 1: XML error: not well-formed (invalid token)

The following errors can be seen while trying to push via Git terminal:

git push
XML error: not well-formed (invalid token)
error: no DAV locking support on '<https URL>'
fatal: git-http-push failed
error: failed to push some refs to '<https URL>'

The issue could be intermittent and get resolve automatically within a few minutes.

Issue 2: The requested URL was rejected. Please consult with your administrator.

You might also see the following message in the UI when you try to access the Bitbucket URL:

The requested URL was rejected. Please consult with your administrator.

Your support ID is: <XXXXXXXXXXXXXXXX>

Issue 3: "You appeared to have cloned an empty repository" during clone

Check if there's a specific user who encountered the issue "You appear to have cloned an empty repository" during this test. Also try to clone the repository over SSH and confirm if you encounter the same error on SSH as well.

原因

Issue 1

The Git push/pull failures could be caused by OS patching or even due to the proxy.

Issue 2/3

There could be some issue at F5 side and causing the message to occur when you try to access Bitbucket.

ソリューション

Firstly, for all the above issues, work with the networking team to resolve any firewall or F5/VPN related issues.

Issue 1

  • Check the Git client and server version, you need a Git 1.6.6+ in order to support the smart-http protocol
  • There could also be some issue after OS patching and that causes the http failure of git push/pull.
  • Try to bypass proxy: How do I bypass a proxy for Bitbucket Server

Issue 2

This error is related to F5. Check with your network team to review F5/VPN in the network in place.

Issue 3

Restart Bitbucket, that also works in resolving this issue and you'll be able to clone successfully.


最終更新日 2022 年 7 月 7 日

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

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