Error Pulling Mercurial Repo [transaction abort!, rollback completed, abort: stream ended unexpectedly

Hello,

We have been using Crucible for quite some time now with Mercurial and it's been working fine. We upgraded to a new server and when we try to clone the repo, we get the error:

Unable to pull from remote repository: https://user@server/hg/repo - [transaction abort!, rollback completed, abort: stream ended unexpectedly (got 435946 bytes, expected 521751)] - pulling from https://user:XXXX@server/hg/reporequesting all changes adding changesets adding manifests adding file changes

Any ideas on what could be causing this? I'm not seeing anything in Windows logs either.

Thanks!

-Dusty

2 answers

1 accepted

1 vote
Accepted answer

Hi Piotr,

Just wanted to give you an update on this. I figured out what the issue was. It was on the mercurial server. The CGI timeout was set to 15 minutes and was cutting off the connection.

0 votes

Hi Dusty,

I'm not sure what server do you host your mercurial repository on, but if you have access to it can you check its logs for any errors or warnings? Error message suggest there is something wrong on the hg server side or on the network.

Alternatively you can enable debug log in FishEye, find out the actual {{hg}} CLI command that failed and check the same command locally.

Kind regards,
Piotr

Hi Piotr,

The mercurial repo is on a virtual server I set up on our local network. I have checked the IIS logs and windows logs and I don't see anything in there. I'm unsure if mercurial keeps its own logs or where to find them as I am very new to mercurial and don't know my way around fully yet.

On the other note, would you be able to point me in the right direction to enable debug log in FishEye?

Thanks again!

-Dusty

To enable debug mode in FishEye you can go to Admin / Server or you can start fisheye with the --debug flag, as described in https://confluence.atlassian.com/display/FISHEYE/Command-Line+Options

Thanks again for the info. I did enable debug but I couldn't find any relevant information that seems to help. I received: Status change [Janus-dev]: transaction abort! as the only error I can see, but no addtional information. I did, however, see that when it was cleaning the directory, it threw this error: "problem deleting directory C:\Program Files\Atlassian\crucible-2.7.12\var\cache\Janus-dev\clone\.hg\store\dh\third-pa\isoaglib\library\xgpl_src\isoaglib". There were actually a few different files it couldn't delete. I thought that might be the issue, but we had tried cloning to a completely different name and still had the original error.

Any more thoughts?

Thanks!

Hi Dusty,

It might be easier if you raise the issue through our support channel, support.atlassian.com, so we can investigate this properly.
Cherers,

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Dec 06, 2018 in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,593 views 22 17
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you