Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-17619

Importing the repository from self-hosted Gitlab

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      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.

      #!python
      
      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 &#x27;bitbucket.apps.async.tasks.ImportException&#x27;>: 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!

      Attachments

        Activity

          People

            Unassigned Unassigned
            saso.sabotin Saso
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: