Project

General

Profile

Actions

Bug #5460

open

Repo creation stuck when remote clone returns partial http code 500

Added by Peter Colledge over 6 years ago. Updated over 6 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
10.04.2018
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

Description

UI stuck on 'Creating repository myrepo Repository "myrepo" is being created, you will be redirected when this process is finished.'

Steps to reproduce:

  1. Create a hg repo with open permissions except one file, eg. .hg/store/data/foo.txt, which hgweb service does not have access to. This will cause getbundle to fail.
  2. Publish the repo with hgweb.
  3. Create new repo in RhodeCode and 'Clone from:' the hgweb url.
  4. Save. Observe stuck UI.
  5. Observe hgweb accesslog returning http code 200 for cmd=lookup, cmd=capabilities, cmd=listkeys, etc, but 500 on cmd=getbundle
  6. Observe backend http exceptions, attached.

Note: Celery feature enabled.


Files

rhodecode-createrepo-bad-getbundle.txt (16.5 KB) rhodecode-createrepo-bad-getbundle.txt rhodecode_celery.log Peter Colledge, 10.04.2018 15:40
rhodecode-createrepo-bad-stream.txt (9.87 KB) rhodecode-createrepo-bad-stream.txt rhodecode_celery.log Peter Colledge, 12.04.2018 10:07
Actions

Also available in: Atom PDF