Unable to Clone Mercurial Repository
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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.
*Except Fisheye and Crucible
Symptoms
The following error is logged in Fisheye logs:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
Cause
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.
Resolution
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
.
Was this helpful?