Unable to Clone Mercurial Repository

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

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

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.

 

 

 

 

 

 

 

 

 

 

 

 

 

   

 

 

 

 

 

 

 

 

 

 

 

 

 

Last modified on Jul 31, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.