GIT error sending project to Ionic Pro: fatal: sha1 file '<stdout>' write error: Broken pipe

Asked

Viewed 691 times

6

I signed Ionic Pro and I’m trying to send my local project to their Cloud.

I use the command:

git push ionic master

It starts all right but makes the mistakes to follow:

git push ionic master
Enter passphrase for key 'C:\Users\Ramos\.ssh\ionic\278626':
Counting objects: 2049, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (1996/1996), done.
fatal: Timeout reached(560/2049), 82.85 MiB | 113.00 KiB/s
fatal: The remote end hung up unexpectedlyB | 98.00 KiB/s
fatal: sha1 file '<stdout>' write error: Broken pipe
fatal: The remote end hung up unexpectedly

How can I solve?

EDITED: What I’ve done so far.

  1. I created . gitignore with directories that don’t need:

    Platforms/ xdk/ node_modules/ Hooks/ .vs/ tern-defs/ git./

  2. I edited the SSH configuration file (HOME.ssh config) as in the first reply.

  3. I added the following commands:

    set GIT_TRACE_PACKET=1 set GIT_TRACE=1 set GIT_CURL_VERBOSE=1

But the error continues, so:

Counting objects: 2072, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (2016/2016), done.
fatal: Timeout reached(2039/2072), 80.37 MiB | 93.00 KiB/s
Wfriting objects:  98% (2039/2072), 80.50 Miatal: The remote end hung up unexpectedly
fatal: sha1 file '<stdout>' write error: Broken pipe
fatal: The remote end hung up unexpectedly

The Ionic people so far only said to create the . gitignore that had already done and see the connection with internet, which is good....

  • Did you create . gitignore before or after the commit? Because if it was after, node_modules is still trackeado..

  • Try git rm -r --cached . <- do not forget the point it is part of the command, commit and try to push.

1 answer

4


Your SSH session "broke".

In your SSH configuration file (HOME .ssh config) add the following line:

ServerAliveInterval 30

This will cause the client to send an "OI" to the server warning that the connection is still active.

If you still want to change the amount of "warnings" the client will make, add the following to your configuration file:

  ServerAliveCountMax 5

Bottom line: The client will send the server every 30 seconds for 5 times a warning that the session is still running.

  • Hi @Diego, I made the changes to the file: Host git.ionicjs.com Identityfile C: Users Ramos.ssh Ionic MEU_CODIGO Serveraliveinterval 30 Serveralivecountmax 55

  • I increased the interval, but still will not. Even with a . gitignore not to send everything.

  • 1

    @Ramos Can you push to other repositories (local or external)? .. Try modifying the buffer by following the steps: https://stackoverflow.com/questions/6842687/the-remote-end-hung-up-unexpectedly-while-git-cloning

  • 1

    As you are using Windows, run the following commands: set GIT_TRACE_PACKET=1 set GIT_TRACE=1 set GIT_CURL_VERBOSE=1

  • Continue... reaches 98% and gives the message: Wfriting Objects: 98% (2039/2072), 80.50 Miatal: The remote end hung up unexpectedly

  • I edited the question with everything I did...

  • 1

    @Ramos .. Are you using any proxy? I ask this because if you have, it may be a limitation and we will go to analysis on this side

  • No, I don’t use proxy....

  • @Ramos try to change the connection type used for push: https://stackoverflow.com/questions/11200237/how-do-i-get-git-to-default-to-ssh-and-not-https-for-new-repositories

  • Well, guys, after a lot of talking with Ionic’s people, I managed to send the project. I had to send it to a Git repository to call this other repository. I couldn’t do it. So it took me a while to get it fixed here. Thank you all.

Show 5 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.