question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CodeCommit push issue

See original GitHub issue

First 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=l‚ŽŸWhõßf»¡€@DÐ	lRZnÔJ«<‡PWÀÕì8ø©VÈSMfDªejW„¢¤(ŃKS«?z{
{˕ßj}è왿Ø÷/Û«Ÿ¬Oà2”
ѦtfÞ~WåA"Kæ"Í>’¢xœ340031QrutñuÕËMa8Z÷?ôõ£žÅ¬¾~×^ST¦óå‹!DPrîìd—ëž²ìÊlÔüPe²ûm/ikÉ<xœóHÍÉÉWÏ/ÊIQI>1xœKee` ÄÊüöÔk{ƛå²< ã

Any suggestion?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
wmhiltoncommented, Aug 17, 2018

I’ll have to keep investigating then!

1reaction
wmhiltoncommented, Jul 4, 2018

Better to update the docs 😛

Done

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found