Unable to Clone Mercurial Repository
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
症状
The following error is logged in Fisheye logs:
2010-05-20 16:44:51,922 ERROR [InitialPinger8] fisheye.app OneOffPingRequest-doRequest - Exception during slurp2010-05-20 16:44:51,922 ERROR [InitialPinger8] fisheye.app OneOffPingRequest-doRequest - Exception during slurp
com.cenqua.fisheye.config.ConfigException: Unable to clone remote repository: http://bitbucket.org/mirror/liftweb - [abort: HTTP Error 414: Request-URI Too Large]
at com.atlassian.fisheye.hg.HgRepositoryEngine.performClone(HgRepositoryEngine.java:127)
at com.atlassian.fisheye.dvcs.DvcsRepositoryEngine.cloneRepo(DvcsRepositoryEngine.java:206)
at com.atlassian.fisheye.dvcs.DvcsRepositoryEngine.updateClone(DvcsRepositoryEngine.java:180)
at com.atlassian.fisheye.dvcs.DvcsRepositoryEngine.doSlurp(DvcsRepositoryEngine.java:79)
at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:353)
at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:28)
at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:90)
at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:126)
at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:116)
at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:57)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:637)
Caused by: com.atlassian.fisheye.plugins.scm.utils.process.ProcessException: Non-zero exit code: 255
at com.atlassian.fisheye.plugins.scm.utils.process.PluggableProcessHandler.complete(PluggableProcessHandler.java:66)
at com.atlassian.fisheye.plugins.scm.utils.process.ExternalProcess.finish(ExternalProcess.java:202)
at com.atlassian.fisheye.plugins.scm.utils.process.ExternalProcess.execute(ExternalProcess.java:216)
at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:183)
at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:167)
at com.atlassian.fisheye.hg.HgRepositoryEngine.performClone(HgRepositoryEngine.java:114)
... 12 more
原因
Mercurial is failing to clone a repository with too many open heads. See this and this page for more details. The list of open heads is causing a server error because of the large URI.
ソリューション
Get the hosting administrator to increase the GET and POST size allowed on the server, or failing that, change to use ssh instead.
E.g. for http://bitbucket.org/mirror/liftweb, use the bitbucket provided ssh access, ssh://hg@bitbucket.org/mirror/liftweb.
この内容はお役に立ちましたか?