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

Connection to Docker using a secured TCP socket fails

    Details

    • Similar Issues:

      Description

      Using a secured TCP socket (e.g. tcp://127.0.0.1:2376) fails with the following error log:

      $ docker -H tcp://x.x.x.x:2376 exec --tty 3a4f3e1a0130362dd3683c02fcd2993906254afa30d04b09b674cbcaa216212f env
      Post http://x.x.x.x:2376/v1.22/containers/3a4f3e1a0130362dd3683c02fcd2993906254afa30d04b09b674cbcaa216212f/exec: malformed HTTP response "\x15\x03\x01\x00\x02\x02\x16".
      * Are you trying to connect to a TLS-enabled daemon without TLS?
      ERROR: Build step failed with exception
      

        Attachments

          Activity

          lrd Mario Loriedo created issue -
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Nicolas De Loof
          Path:
          src/main/java/com/cloudbees/jenkins/plugins/docker_build_env/Docker.java
          http://jenkins-ci.org/commit/docker-custom-build-environment-plugin/6bdc6385dd7887265170b23855bab676da32c859
          Log:
          JENKINS-33212 env not set when running `docker exec`

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De Loof Path: src/main/java/com/cloudbees/jenkins/plugins/docker_build_env/Docker.java http://jenkins-ci.org/commit/docker-custom-build-environment-plugin/6bdc6385dd7887265170b23855bab676da32c859 Log: JENKINS-33212 env not set when running `docker exec`
          ndeloof Nicolas De Loof made changes -
          Field Original Value New Value
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 169093 ] JNJira + In-Review [ 209762 ]

            People

            • Assignee:
              ndeloof Nicolas De Loof
              Reporter:
              lrd Mario Loriedo
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: