8

I'm trying to clone a bit repository from bitbucket via hg but I keep getting this error:

abort: stream ended unexpectedly (got 404093 bytes, expected 8706452)
mac:~ user$ hg clone https://user2@bitbucket.org/mine/test
http authorization required
realm: Bitbucket.org HTTP
user: user2
password: 
destination directory: test
requesting all changes
adding changesets
adding manifests
adding file changes
transaction abort!
rollback completed
abort: stream ended unexpectedly (got 404093 bytes, expected 8706452)

I have tried it twice now but both times it's given the same error. I have more than enough HDD space.

Any thoughts?

rid
  • 61,078
  • 31
  • 152
  • 193
Syntax
  • 496
  • 2
  • 7
  • 16

1 Answers1

5

Is it failing in the same spot every time? (404093 bytes) If so, then it sounds like there's something wrong on the server side, and you might want to ask them for help.

If its bombing in different places every time then I guess it would be the network.

BillRobertson42
  • 12,602
  • 4
  • 40
  • 57
  • Pretty sure it's on the same place. I'll give bitbucket an email in that case. Thanks – Syntax Nov 07 '11 at 02:26
  • 3
    And still waiting... Guess helpdesk isn't there strong point. FYI for other people with the same issue, I ended up getting a zip copy of the entire repo including hg files from another member who had the source already. – Syntax Dec 13 '11 at 00:52
  • I'm not surprised really. Are you a paying customer? If so this is really inexcusable. – BillRobertson42 Dec 13 '11 at 23:35
  • No, pretty sure we are using a free account. – Syntax Dec 15 '11 at 00:48
  • This is not an answer, very surprised it was accepted. The error relates to SSH and sshd setup. – jowan sebastian Jun 27 '18 at 15:02