CodeCommit push issue
See original GitHub issueFirst of all, really appreciate this work here… A detailed set of docs as well. I encountered the issue #199 too and with a bit of struggle, I was able to find the fix through the comments. Better to update the docs 😛
Now, I’m having an issue with trying to push into an AWS CodeCommit repository. Appended ‘.git’ to the URL can be avoided with the same ‘noGitSuffix’ attribute. However, still getting an error when pushing the diff into the repo.
Push Err: GitError: Unparsable response from server! Expected "unpack ok" or "unpack [error message]" but received "".
at Object.push (http://localhost:9000/static/js/bundle.js:51956:13)
The network call
POST
https://cors-buster-tbgktfqyku.now.sh/git-codecommit.us-east-1.amazonaws.com/v1/repos/repo/git-receive-pack
Content-Type: application/x-git-receive-pack-request
receives a response with a payload as follows.
00a5fd1d95348a7aad98f2308fd4f54f81305337a5b9 558e43bc835aa738c8b46875ea359a4cfc36c745 refs/heads/master report-status side-band-64k agent=git/isomorphic-git@0.19.9
0000PACK
xËA
B!ὧp<ÔѧBDh×Æ73d=lWhõÃf»¡@DÐ lRZnÔJ«<PWÀÕì8ø©VÈSMfDªejW¢¤(ÅKS«?z{
{Ëßj}èì¿Ø÷/Û«¬Oà2
ѦtfÞ~WåA"Kæ"Í>¢x340031QrutñuÕËMa8Z÷?ôõ£Å¬¾~×^ST¦óå!DPrîìdë²ìÊlÔüPe²ûm/ikÉ<xóHÍÉÉWÏ/ÊIQI>1xKee` ÄÊüöÔk{Æå²< ã
Any suggestion?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:11 (7 by maintainers)
Top Results From Across the Web
Troubleshooting Git clients and AWS CodeCommit
Problem : When pushing a large change, a large number of changes, or a large repository, long-running HTTPS connections are often terminated prematurely...
Read more >Push commits to an additional Git repository
Describes how to push changes to two different remote repositories with a single command.
Read more >I cant push using aws codecommit. my changes dont show up
Open visual studio-> tools-> options->Source control-> Git global setting -> credentials helper-> GCM for Windows. this resolve the issue for me ...
Read more >How to Fix 'failed to push some refs to' Git Errors - Komodor
failed to push some refs to errors are often caused when changes are not committed before pushing, issues with Git pre-push hook, incorrect...
Read more >AWS CodeCommit tutorial: your first Repo, Commit and Push
In this video I demonstrate how to create your first Git repository on AWS CodeCommit, and make your first commit and push to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll have to keep investigating then!
Done