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

Container cannot connect to node because it doesn't exist

      We recently updated our version of Jenkins to 2.176.3. And now a connection error with docker-agent randomly block the queue of jobs :

      Refusing headers from remote: Unknown client name: docker-00026wu6nor9w
      

      The docker container is ready and try to connect to the Jenkins master but the node doesn't exist yet.

      I saw in the code of docker-plugin that the container is created and started before the Jenkins node. While the connection method is JNLP, the commands to download and run the remoting.jar are executed at the start of the container. But at this moment, the node wasn't added to Jenkins master.

      Have you ever encountered this error? Is there a solution?

      Is it possible to modify provision methods and create the Jenkins node before instanciate the container to fix this issue?

      Jenkins version : 2.176.3

      docker-plugin version : 1.1.7

      docker host version : 1.13.1

          [JENKINS-59790] Container cannot connect to node because it doesn't exist

          Mathieu Delrocq created issue -
          Gregory PICOT made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Gregory PICOT made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          Mathieu Delrocq made changes -
          Description Original: We recently updated our version of Jenkins. Now a connection error with docker-agent block the queue of jobs :
          {code:java}
          Refusing headers from remote: Unknown client name: docker-00026wu6nor9w
          {code}
          The docker container is ready and try to connect to the Jenkins master but the node doesn't exist yet.

          I saw in the code of docker-plugin that the container is created before the Jenkins node.

          I purpose to modify provision methods to create the Jenkins node before instanciate the container to fix this issue.
          New: We recently updated our version of Jenkins. Now a connection error with docker-agent block the queue of jobs :
          {code:java}
          Refusing headers from remote: Unknown client name: docker-00026wu6nor9w
          {code}
          The docker container is ready and try to connect to the Jenkins master but the node doesn't exist yet.

          I saw in the code of docker-plugin that the container is created before the Jenkins node.

          I purpose to modify provision methods to create the Jenkins node before instanciate the container to fix this issue.

          Jenkins version : 2.176.3

          docker-plugin version : 1.1.7
          Mathieu Delrocq made changes -
          Description Original: We recently updated our version of Jenkins. Now a connection error with docker-agent block the queue of jobs :
          {code:java}
          Refusing headers from remote: Unknown client name: docker-00026wu6nor9w
          {code}
          The docker container is ready and try to connect to the Jenkins master but the node doesn't exist yet.

          I saw in the code of docker-plugin that the container is created before the Jenkins node.

          I purpose to modify provision methods to create the Jenkins node before instanciate the container to fix this issue.

          Jenkins version : 2.176.3

          docker-plugin version : 1.1.7
          New: We recently updated our version of Jenkins. Now a connection error with docker-agent block the queue of jobs :
          {code:java}
          Refusing headers from remote: Unknown client name: docker-00026wu6nor9w
          {code}
          The docker container is ready and try to connect to the Jenkins master but the node doesn't exist yet.

          I saw in the code of docker-plugin that the container is created before the Jenkins node.

          I suggest to modify provision methods to create the Jenkins node before instanciate the container to fix this issue.

          Jenkins version : 2.176.3

          docker-plugin version : 1.1.7
          Mathieu Delrocq made changes -
          Description Original: We recently updated our version of Jenkins. Now a connection error with docker-agent block the queue of jobs :
          {code:java}
          Refusing headers from remote: Unknown client name: docker-00026wu6nor9w
          {code}
          The docker container is ready and try to connect to the Jenkins master but the node doesn't exist yet.

          I saw in the code of docker-plugin that the container is created before the Jenkins node.

          I suggest to modify provision methods to create the Jenkins node before instanciate the container to fix this issue.

          Jenkins version : 2.176.3

          docker-plugin version : 1.1.7
          New: We recently updated our version of Jenkins to 2.176.3. And now a connection error with docker-agent randomly block the queue of jobs :
          {code:java}
          Refusing headers from remote: Unknown client name: docker-00026wu6nor9w
          {code}
          The docker container is ready and try to connect to the Jenkins master but the node doesn't exist yet.

          I saw in the code of docker-plugin that the container is created and started before the Jenkins node. While the connection method is JNLP, the commands to download and run the remoting.jar are executed at the start of the container. But at this moment, the node wasn't added to Jenkins master.

          I suggest to modify provision methods to create the Jenkins node before instanciate the container to fix this issue.

          Jenkins version : 2.176.3

          docker-plugin version : 1.1.7
          Mathieu Delrocq made changes -
          Description Original: We recently updated our version of Jenkins to 2.176.3. And now a connection error with docker-agent randomly block the queue of jobs :
          {code:java}
          Refusing headers from remote: Unknown client name: docker-00026wu6nor9w
          {code}
          The docker container is ready and try to connect to the Jenkins master but the node doesn't exist yet.

          I saw in the code of docker-plugin that the container is created and started before the Jenkins node. While the connection method is JNLP, the commands to download and run the remoting.jar are executed at the start of the container. But at this moment, the node wasn't added to Jenkins master.

          I suggest to modify provision methods to create the Jenkins node before instanciate the container to fix this issue.

          Jenkins version : 2.176.3

          docker-plugin version : 1.1.7
          New: We recently updated our version of Jenkins to 2.176.3. And now a connection error with docker-agent randomly block the queue of jobs :
          {code:java}
          Refusing headers from remote: Unknown client name: docker-00026wu6nor9w
          {code}
          The docker container is ready and try to connect to the Jenkins master but the node doesn't exist yet.

          I saw in the code of docker-plugin that the container is created and started before the Jenkins node. While the connection method is JNLP, the commands to download and run the remoting.jar are executed at the start of the container. But at this moment, the node wasn't added to Jenkins master.

          Have you ever encountered this error ? Is there a solution ?


          If not I suggest to modify provision methods to create the Jenkins node before instanciate the container to fix this issue.

          Jenkins version : 2.176.3

          docker-plugin version : 1.1.7
          Mathieu Delrocq made changes -
          Description Original: We recently updated our version of Jenkins to 2.176.3. And now a connection error with docker-agent randomly block the queue of jobs :
          {code:java}
          Refusing headers from remote: Unknown client name: docker-00026wu6nor9w
          {code}
          The docker container is ready and try to connect to the Jenkins master but the node doesn't exist yet.

          I saw in the code of docker-plugin that the container is created and started before the Jenkins node. While the connection method is JNLP, the commands to download and run the remoting.jar are executed at the start of the container. But at this moment, the node wasn't added to Jenkins master.

          Have you ever encountered this error ? Is there a solution ?


          If not I suggest to modify provision methods to create the Jenkins node before instanciate the container to fix this issue.

          Jenkins version : 2.176.3

          docker-plugin version : 1.1.7
          New: We recently updated our version of Jenkins to 2.176.3. And now a connection error with docker-agent randomly block the queue of jobs :
          {code:java}
          Refusing headers from remote: Unknown client name: docker-00026wu6nor9w
          {code}
          The docker container is ready and try to connect to the Jenkins master but the node doesn't exist yet.

          I saw in the code of docker-plugin that the container is created and started before the Jenkins node. While the connection method is JNLP, the commands to download and run the remoting.jar are executed at the start of the container. But at this moment, the node wasn't added to Jenkins master.

          Have you ever encountered this error ? Is there a solution ?

          Is it possible to modify provision methods and create the Jenkins node before instanciate the container to fix this issue?

          Jenkins version : 2.176.3

          docker-plugin version : 1.1.7
          Mathieu Delrocq made changes -
          Description Original: We recently updated our version of Jenkins to 2.176.3. And now a connection error with docker-agent randomly block the queue of jobs :
          {code:java}
          Refusing headers from remote: Unknown client name: docker-00026wu6nor9w
          {code}
          The docker container is ready and try to connect to the Jenkins master but the node doesn't exist yet.

          I saw in the code of docker-plugin that the container is created and started before the Jenkins node. While the connection method is JNLP, the commands to download and run the remoting.jar are executed at the start of the container. But at this moment, the node wasn't added to Jenkins master.

          Have you ever encountered this error ? Is there a solution ?

          Is it possible to modify provision methods and create the Jenkins node before instanciate the container to fix this issue?

          Jenkins version : 2.176.3

          docker-plugin version : 1.1.7
          New: We recently updated our version of Jenkins to 2.176.3. And now a connection error with docker-agent randomly block the queue of jobs :
          {code:java}
          Refusing headers from remote: Unknown client name: docker-00026wu6nor9w
          {code}
          The docker container is ready and try to connect to the Jenkins master but the node doesn't exist yet.

          I saw in the code of docker-plugin that the container is created and started before the Jenkins node. While the connection method is JNLP, the commands to download and run the remoting.jar are executed at the start of the container. But at this moment, the node wasn't added to Jenkins master.

          Have you ever encountered this error? Is there a solution?

          Is it possible to modify provision methods and create the Jenkins node before instanciate the container to fix this issue?

          Jenkins version : 2.176.3

          docker-plugin version : 1.1.7
          Mathieu Delrocq made changes -
          Priority Original: Critical [ 2 ] New: Major [ 3 ]
          Mathieu Delrocq made changes -
          Priority Original: Major [ 3 ] New: Blocker [ 1 ]

            pjdarton pjdarton
            matttt Mathieu Delrocq
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: