Repo creation stuck when remote clone returns partial http code 500
UI stuck on 'Creating repository myrepo Repository "myrepo" is being created, you will be redirected when this process is finished.'
Steps to reproduce:
- 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
- Publish the repo with hgweb.
- Create new repo in RhodeCode and 'Clone from:' the hgweb url.
- Save. Observe stuck UI.
- Observe hgweb
accesslogreturning http code 200 for
cmd=listkeys, etc, but 500 on
- Observe backend http exceptions, attached.
Note: Celery feature enabled.
#1 Updated by Marcin Kuzminski [staff] over 1 year ago
Thanks for reporting this. We don't have any timeouts on this process so it waits until a flag is changed finishing the process. It's due to fact that remote import can take multiple hours.
we'll try to check if it's possible to catch such errors and set the flag as failed.