hudson.plugins.git.GitException: Command "git push origin ci_157" returned status code 128: stdout: stderr: ssh_exchange_identification: Connection closed by remote host fatal: The remote end hung up unexpectedly

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via jenkins-ci.org by Unknown author

Our Jenkins(J) is linked with Bitbucket(BB). A pull request(PR) is created in BB, then it's auto-built in J, then it's updated with a commit but BB doesn't update the branch, so J can't check it out. Solution: open the PR in BB web ui.

Solutions on the web

via Jenkins JIRA by Zev Blut, 1 year ago
Command "git push origin ci_157" returned status code 128: stdout: stderr: ssh_exchange_identification: Connection closed by remote host fatal: The remote end hung up unexpectedly
via Jenkins JIRA by Zev Blut, 1 year ago
Command "git push origin ci_157" returned status code 128: stdout: stderr: ssh_exchange_identification: Connection closed by remote host fatal: The remote end hung up unexpectedly
via Google Groups by Unknown author, 5 months ago
Command "git.exe rev-parse --is-inside-work-tree" returned status code 128: stdout: stderr: fatal: Not a git repository (or any of the parent directories): .git
via gmane.org by Unknown author, 2 years ago
Command "git fetch -t origin +refs *:refs/remotes *" returned status code 1: stdout: stderr: error: Ref refs/remotes/origin/2.7.x is at 029542108b28786cdb9909d53f040aeaff8c0cac but expected 531aea6a7cf061992504fbe03ab4241453906a99 >From git://github.com/geoserver/geoserver ! 531aea6..0295421 2.7.x -> origin/2.7.x (unable to update local ref)
via GitHub by aleksandra-tarkowska
, 1 year ago
Command "git submodule update --init --recursive" returned status code 1: stdout: Cloning into 'components/tools/OmeroPy/scripts'... stderr: fatal: reference is not a tree: 1d0777da83c340501192fa67d377e907ad8ae6e4 Unable to checkout '1d0777da83c340501192fa67d377e907ad8ae6e4' in submodule path 'components/tools/OmeroPy/scripts'
via Stack Overflow by Aditya
, 1 year ago
Command "git submodule update --init --recursive" returned status code 1: stdout: Initialized empty Git repository in /path/to/submodule/.git/ stderr: Permission denied (publickey). fatal: The remote end hung up unexpectedly Clone of 'ssh://git@server:2222/name/submodule.git' into submodule path 'name/submodule' failed
hudson.plugins.git.GitException: Command "git push origin ci_157" returned status code 128: stdout: stderr: ssh_exchange_identification: Connection closed by remote host fatal: The remote end hung up unexpectedly
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:772)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:738)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.push(CliGitAPIImpl.java:790)
at hudson.plugins.git.GitPublisher$3.invoke(GitPublisher.java:303)
at hudson.plugins.git.GitPublisher$3.invoke(GitPublisher.java:265)
at hudson.FilePath.act(FilePath.java:865)
at hudson.FilePath.act(FilePath.java:838)
at hudson.plugins.git.GitPublisher.perform(GitPublisher.java:265)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:814)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:786)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:733)
at hudson.model.Run.execute(Run.java:1593)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:237)

Users with the same issue

Once, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.