AWS CodeCommit Error Cloning
- Dominant language
- TypeScript
- Stars
- 40k
- Forks
- 2.4k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
### Expected Behavior
Cloning a Git repository from AWS CodeCommit
### Actual Behavior
When trying to clone an existing repository, the error occurs: "Error Cloning Repository: failed to clone with and without '.git' suffix".
### Reproduction Steps
1. Click on the button "Create"
2. Click on the button "Git Clone"
3. Enter the HTTPS Git URI from AWS CodeCommit and the AWS CodeCommit credentials
4. Wait … after a few seconds the error message "Error Cloning Repository: failed to clone with and without '.git' suffix" pops up
### Is there an existing issue for this?
- [X] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.
### Additional Information
I have try to clone the same repo out of Insomnia and it work.
If I Create a fresh Design Document, then I can commit my revision but if i delete that document and try to clone the repository from AWS CodeCommit Insomnia display the error.
```
10:25:14.268 › [git-event] Using basic auth credentials
helpers.ts:98 10:25:14.737 › [git-event] Auth Success: https://git-codecommit.eu-south-1.amazonaws.com/v1/repos/TestDesign
helpers.ts:98 10:25:18.441 › [git-event]
helpers.ts:98 10:25:18.442 › [git-event] Counting objects: 0
helpers.ts:98 10:25:18.443 › [git-event] Counting objects: 13
helpers.ts:98 10:25:18.443 › [git-event] Counting objects: 13, done.
helpers.ts:98 10:25:18.853 › [git-event] Using basic auth credentials
helpers.ts:98 10:25:19.234 › [git-event] Auth Success: https://git-codecommit.eu-south-1.amazonaws.com/v1/repos/TestDesign.git
helpers.ts:98 10:25:23.044 › [git-event]
helpers.ts:98 10:25:23.045 › [git-event] Counting objects: 0
helpers.ts:98 10:25:23.046 › [git-event] Counting objects: 13
helpers.ts:98 10:25:23.046 › [git-event] Counting objects: 13, done.
```

### Insomnia Version
2022.7.0
### What operating system are you using?
macOS
### Operating System Version
macOS Ventura 13.1
### Installation method
Upload
### Last Known Working Insomnia version
_No response_
Contributor guide
Research direction
Start by reproducing the Git Clone flow with an AWS CodeCommit HTTPS URI and review the git-event logs showing authentication and retries with and without the '.git' suffix. Done means an existing CodeCommit repository clones successfully in Insomnia without the error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, git, typescript
- Domain
- cloud, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100