Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-50831

ssh_exchange_identification connection reset by peer

      Hi everyone,

      I have an issue with Kubernetes Plugin and Jenkins Slave. If I build a simple pipeline, everything works, for example:

      node {
      
      git branch: 'master',
      
      credentialsId: ‘crediantials-number’,
      
      url: my_repository
      
      }
      

      However, if I try to build a pipeline via Kubernetes Plugin, for example:

      def label = "test"
      
      podTemplate(label: label) {
      
        node(label) {
      
          stage('Deploy Test on Kubernetes') {
      
            git branch: 'master',
      
            credentialsId: ‘crediantials-number’,
      
            url: my_repository
      
          }
      
        }
      
      }
      

      I receive the next error:

      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:93)
      	at java.lang.Thread.run(Thread.java:748)
      	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 10.47.0.152/10.47.0.152:34226
      		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1737)
      		at hudson.remoting.UserResponse.retrieve(UserRequest.java:313)
      		at hudson.remoting.Channel.call(Channel.java:952)
      		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
      		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      		at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      

      I attach some files in order to provide further information.

      Thanks in advance,

      Regards

       

          [JENKINS-50831] ssh_exchange_identification connection reset by peer

          Rodrigo Porto created issue -
          Rodrigo Porto made changes -
          Attachment New: jenkins-pipeline-simple.log [ 42175 ]
          Rodrigo Porto made changes -
          Attachment New: jenkins.log [ 42176 ]
          Rodrigo Porto made changes -
          Attachment Original: jenkins.log [ 42174 ]
          Rodrigo Porto made changes -
          Description Original: Hi everyone,

          I have an issue with *Kubernetes Plugin* and *Jenkins Slave*. If I build a simple pipeline, everything works, for example:
          {code:java}
          node {

          git branch: 'master',

          credentialsId: ‘crediantials-number’,

          url: my_repository

          }
          {code}
          However, if I try to build a pipeline via *Kubernetes Plugin*, for example:
          {code:java}
          def label = "test"

          podTemplate(label: label) {

            node(label) {

              stage('Deploy Test on Kubernetes') {

                git branch: 'master',

                credentialsId: ‘crediantials-number’,

                url: my_repository

              }

            }

          }
          {code}
          I receive the next error:
          {code:java}
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:93)
          at java.lang.Thread.run(Thread.java:748)
          Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 10.47.0.152/10.47.0.152:34226
          at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1737)
          at hudson.remoting.UserResponse.retrieve(UserRequest.java:313)
          at hudson.remoting.Channel.call(Channel.java:952)
          at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          {code}
           I attach a file to provide further information.

          Thanks in advance,

          Regards

           
          New: Hi everyone,

          I have an issue with *Kubernetes Plugin* and *Jenkins Slave*. If I build a simple pipeline, everything works, for example:
          {code:java}
          node {

          git branch: 'master',

          credentialsId: ‘crediantials-number’,

          url: my_repository

          }
          {code}
          However, if I try to build a pipeline via *Kubernetes Plugin*, for example:
          {code:java}
          def label = "test"

          podTemplate(label: label) {

            node(label) {

              stage('Deploy Test on Kubernetes') {

                git branch: 'master',

                credentialsId: ‘crediantials-number’,

                url: my_repository

              }

            }

          }
          {code}
          I receive the next error:
          {code:java}
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:93)
          at java.lang.Thread.run(Thread.java:748)
          Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 10.47.0.152/10.47.0.152:34226
          at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1737)
          at hudson.remoting.UserResponse.retrieve(UserRequest.java:313)
          at hudson.remoting.Channel.call(Channel.java:952)
          at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          {code}
           I attach some files in order to provide further information.

          Thanks in advance,

          Regards

           
          Rodrigo Porto made changes -
          Description Original: Hi everyone,

          I have an issue with *Kubernetes Plugin* and *Jenkins Slave*. If I build a simple pipeline, everything works, for example:
          {code:java}
          node {

          git branch: 'master',

          credentialsId: ‘crediantials-number’,

          url: my_repository

          }
          {code}
          However, if I try to build a pipeline via *Kubernetes Plugin*, for example:
          {code:java}
          def label = "test"

          podTemplate(label: label) {

            node(label) {

              stage('Deploy Test on Kubernetes') {

                git branch: 'master',

                credentialsId: ‘crediantials-number’,

                url: my_repository

              }

            }

          }
          {code}
          I receive the next error:
          {code:java}
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:93)
          at java.lang.Thread.run(Thread.java:748)
          Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 10.47.0.152/10.47.0.152:34226
          at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1737)
          at hudson.remoting.UserResponse.retrieve(UserRequest.java:313)
          at hudson.remoting.Channel.call(Channel.java:952)
          at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          {code}
           I attach some files in order to provide further information.

          Thanks in advance,

          Regards

           
          New: Hi everyone,

          I have an issue with *Kubernetes Plugin* and *Jenkins Slave*. If I build a simple pipeline, everything works, for example:
          {code:java}
          node {

          git branch: 'master',

          credentialsId: ‘crediantials-number’,

          url: my_repository

          }
          {code}
          However, if I try to build a pipeline via *Kubernetes Plugin*, for example:
          {code:java}
          def label = "test"

          podTemplate(label: label) {

            node(label) {

              stage('Deploy Test on Kubernetes') {

                git branch: 'master',

                credentialsId: ‘crediantials-number’,

                url: my_repository

              }

            }

          }
          {code}
          I receive the next error:
          {code:java}
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:93)
          at java.lang.Thread.run(Thread.java:748)
          Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 10.47.0.152/10.47.0.152:34226
          at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1737)
          at hudson.remoting.UserResponse.retrieve(UserRequest.java:313)
          at hudson.remoting.Channel.call(Channel.java:952)
          at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          {code}
          I attach some files in order to provide further information.

          Thanks in advance,

          Regards

           
          Mark Waite made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Mark Waite made changes -
          Summary Original: Repository is not reachable New: ssh_key_exchange connection reset by peer
          Mark Waite made changes -
          Summary Original: ssh_key_exchange connection reset by peer New: ssh_exchange_identification connection reset by peer
          Mark Waite made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            markewaite Mark Waite
            rdrgporto Rodrigo Porto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: