Importing the repository from self-hosted Gitlab

Issue #17619 new
Saso
created an issue

Hi!

After trying to import the repository from a self-hosted Gitlab repository, I am getting the error below. Before I submit the importing, I also get the error "No repository exists at that URL.", but as far as I read, that's not an issue if you use authorization.

Your import has failed. For more information, check the log below. You can also try your import again.


07:16:17 git import for: **https://some.domain/path/torepo.git**
07:16:17 Cloning **https://some.domain/path/torepo.git**...
07:16:17 Cloning into bare repository '**placeholder for group/repo**'...
07:16:17 fatal: unable to access '**https://some.domain/path/torepo.git**/': Peer's Certificate issuer is not recognized.
07:16:18 Remote Git clone failed: <class 'bitbucket.apps.async.tasks.ImportException'>: Command failed. Return value: 128

So I tried to clone it locally and I also got this error, but when I enabled sslVerify to the git config, it was working locally. So what's the correct setting in order to import the repository? It is working fine against Github. Do I need to use some other specific credentials for authorization?

PS: We use Letsencrypt certificate at the self-hosted Gitlab domain, but this shouldn't be an issue right?

Thank you!

Comments (0)

  1. Log in to comment