Socket Exception when building
See original GitHub issueHi,
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 ?
Issue Analytics
- State:
- Created 7 years ago
- Comments:14
Top Results From Across the Web
How to Handle Java SocketException - Baeldung
The most common cause of SocketException is writing or reading data to or from a closed socket connection. Another cause of it is...
Read more >What's causing my java.net.SocketException: Connection reset?
The Exception means that the socket was closed unexpectedly from the other side. Since you are calling a web service, ...
Read more >SocketException (Java Platform SE 7 ) - Oracle Help Center
Class SocketException Thrown to indicate that there is an error creating or accessing a Socket.
Read more >java.net.SocketException in Java with Examples
This SocketException occurs on the server-side when the client closed the socket connection before the response could be returned over the ...
Read more >SocketException when connection to Visual Studio
The only way to get ridd of this error is to restart Windows. Maybe it works to close unity and wait for socket...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok fixed it. Now the error message looks like
Hope that its a bit clearer now 😉
Great thanks @rhuss !
Much better than the original
broken pipe
.