[ 
https://issues.jenkins-ci.org/browse/JENKINS-11576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158725#comment-158725
 ] 

Dmitriy Korovkin commented on JENKINS-11576:
--------------------------------------------

The same problem on Ubuntu server 11.10 x64.
ERROR: Problem fetching from origin / origin - could be unavailable. Continuing 
anyway
hudson.plugins.git.GitException: Error performing command: git fetch -t 
git@git:planroot +refs/heads/*:refs/remotes/origin/*
Command "git fetch -t git@git:planroot +refs/heads/*:refs/remotes/origin/*" 
returned status code 128: ssh_exchange_identification: Connection closed by 
remote host
fatal: The remote end hung up unexpectedly

        at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:776)
        at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:741)
        at hudson.plugins.git.GitAPI.fetch(GitAPI.java:190)
        at hudson.plugins.git.GitAPI.fetch(GitAPI.java:978)
        at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:765)
        at hudson.plugins.git.GitSCM.access$100(GitSCM.java:80)
        at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1003)
        at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:970)
        at hudson.FilePath.act(FilePath.java:788)
        at hudson.FilePath.act(FilePath.java:770)
        at hudson.plugins.git.GitSCM.checkout(GitSCM.java:970)
        at hudson.model.AbstractProject.checkout(AbstractProject.java:1195)
        at 
hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:576)
        at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:465)
        at hudson.model.Run.run(Run.java:1409)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
        at hudson.model.ResourceController.execute(ResourceController.java:88)
        at hudson.model.Executor.run(Executor.java:238)
Caused by: hudson.plugins.git.GitException: Command "git fetch -t 
git@git:planroot +refs/heads/*:refs/remotes/origin/*" returned status code 128: 
ssh_exchange_identification: Connection closed by remote host
fatal: The remote end hung up unexpectedly

        at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:771)
        ... 17 more

                
> Getting "returned status code 128: ssh_exchange_identification" error 
> sometimes
> -------------------------------------------------------------------------------
>
>                 Key: JENKINS-11576
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-11576
>             Project: Jenkins
>          Issue Type: Bug
>          Components: git
>    Affects Versions: current
>         Environment: Windows Server 2003, IIS
>            Reporter: Murali Srinivasan
>            Priority: Blocker
>              Labels: exception, git, jenkins, ssh_exchange_identification
>
> I have Jenkins setup in Windows Server machine and the job will trigger the 
> build at specified time. Sometimes the job fails with the below exception and 
> when I manually trigger it again it will work fine. I read somewhere that 
> moving id_rsa.* file to GIT installation folder will fix the issue, but it 
> didn't improve in my case. It would be great if there is a way to fix this 
> issue.
> ERROR: Problem fetching from origin / origin - could be unavailable. 
> Continuing anyway
> ERROR:  (Underlying report) : Error performing command: E:\git\bin\git.exe 
> fetch -t gitosis@****.****.com:ServiceApp +refs/heads/*:refs/remotes/origin/*
> Command "E:\git\bin\git.exe fetch -t gitosis@****.****.com:ServiceApp 
> +refs/heads/*:refs/remotes/origin/*" returned status code 128: 
> ssh_exchange_identification: Connection closed by remote host
> fatal: The remote end hung up unexpectedly
> ERROR: Could not fetch from any repository
> FATAL: Could not fetch from any repository
> hudson.plugins.git.GitException: Could not fetch from any repository
>       at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1008)
>       at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:968)
>       at hudson.FilePath.act(FilePath.java:785)
>       at hudson.FilePath.act(FilePath.java:767)
>       at hudson.plugins.git.GitSCM.checkout(GitSCM.java:968)
>       at hudson.model.AbstractProject.checkout(AbstractProject.java:1193)
>       at 
> hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:567)
>       at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:455)
>       at hudson.model.Run.run(Run.java:1404)
>       at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
>       at hudson.model.ResourceController.execute(ResourceController.java:88)
>       at hudson.model.Executor.run(Executor.java:230)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to