Skip to content

Socket Exception when building #419

Closed
@cescoffier

Description

Hi,

I cannot build an image. I get:

[INFO] Building tar: /Users/clement/Projects/vert.x/vertx-microservices-examples/aggregation-http/A/target/docker/vertx-microservices-example/aggregation-http-A/1.0-SNAPSHOT/tmp/docker-build.tar
[INFO] I/O exception (java.net.SocketException) caught when processing request to {s}->https://192.168.99.100:2376: Broken pipe
[INFO] Retrying request to {s}->https://192.168.99.100:2376
[INFO] I/O exception (java.net.SocketException) caught when processing request to {s}->https://192.168.99.100:2376: Broken pipe
[INFO] Retrying request to {s}->https://192.168.99.100:2376
[INFO] I/O exception (java.net.SocketException) caught when processing request to {s}->https://192.168.99.100:2376: Broken pipe
[INFO] Retrying request to {s}->https://192.168.99.100:2376
[ERROR] DOCKER> Broken pipe

Docker is running fine (I'm using a docker-machine).

I'm using a docker machine, my env is:

set -gx DOCKER_TLS_VERIFY "1";
set -gx DOCKER_HOST "tcp://192.168.99.100:2376";
set -gx DOCKER_CERT_PATH "/Users/clement/.docker/machine/machines/dev";
set -gx DOCKER_MACHINE_NAME "dev";

The debug mode does not give much details:

[DEBUG] http-outgoing-6 >> "[write] I/O error: Connection has been shutdown: javax.net.ssl.SSLException: java.net.SocketException: Broken pipe"
[DEBUG] http-outgoing-6: Shutdown connection
[DEBUG] Connection discarded
[DEBUG] http-outgoing-6: Close connection
[DEBUG] Connection released: [id: 6][route: {s}->https://192.168.99.100:2376][total kept alive: 3; route allocated: 3 of 100; total allocated: 3 of 20]
[ERROR] DOCKER> Broken pipe

Any idea ?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions