Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-22505

Git linked repository username an password authentication fails for AWS CodeCommit

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 9.2.1, 9.3.1
    • Repository (Git)
    • None

    Description

      Issue Summary

      This is reproducible on Data Center: (yes)

      Steps to Reproduce

      1. Create a Git Linked Repository using HTTPS protocol
      2. Test connection

      Expected Results

      • Test is successfully connected with CodeCommit using HTTP protocol using the username and password

      Actual Results

      It fails with an error seen in the UI 

      fatal: unable to access 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/test/': The requested URL returned error: 403

      and the error is seen in the atlassian-bamboo.log file:

      2023-09-11 11:11:52,934 INFO [http-nio-8085-exec-16] [RepositoryResource] Failed to connect to repository (type: Git, location: https://git-codecommit.us-east-1.amazonaws.com/v1/repos/test, time: 652.1 ms, errors: [fatal: unable to access 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/test/': The requested URL returned error: 403]) 

      Workaround

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              voseghale VICTOR-OSEGHALE
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: