question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Connection is still allocated error on Windows

See original GitHub issue

Description

d-m-p 0.28.0 is not working on Windows, e.g. mvn docker:build Error: Connection is still allocated 0.28.0 works fine on Linux. Old version 0.27.2 works on Windows. The issue is reproducible with d-m-p version switching back and forth, restarting, colleagues machine. I found this issue from f-m-p, which looks related: https://github.com/fabric8io/fabric8-maven-plugin/issues/1468

> mvn docker:build
[INFO] Scanning for projects...
... download artifacts ...
[INFO]
[INFO] --------------------------< com.example:test >--------------------------
[INFO] Building test 1.0-SNAPSHOT
[INFO] ----------------------------[ docker-build ]----------------------------
[INFO]
[INFO] --- docker-maven-plugin:0.28.0:build (default-cli) @ test ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.089 s
[INFO] Finished at: 2019-01-17T14:55:35+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.28.0:build (default-cli) on project test: Execution default-cli of goal io.fabric8:docker-maven-plugin:0.28.0:build failed: Connection is still allocated -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

Info

  • d-m-p version : 0.28.0
  • Maven version (mvn -v) : 3.5.4 or 3.6.0
  • Windows version : 10.0.14393 Build 14393
  • Docker version : Docker Desktop 2.0.0.2 (30215)
  • How to reproduce : windows-0.28.0.zip

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:6
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
rhusscommented, Apr 6, 2019

I’m going to make a release this weekend. Sorry for any inconvenience and the long delay.

3reactions
JoepWeijerscommented, Jan 17, 2019

Running into exactly the same issue. Reverting to 0.27.2 as a workaround for now.

  • Windows 10 version 1803, build 17134.523
  • mvn 3.5.2
  • Docker Desktop 2.0.0.2 (30215) = Docker Engine 18.09.1
Read more comments on GitHub >

github_iconTop Results From Across the Web

docker, maven start failed: Connection is still allocated
i use a big project with maven + docker, all build war work fine , but i get a error when ...
Read more >
Invalid use of SingleClientConnManager: connection still ...
SingleClientConnManager: connection still allocated. Make sure to release the connection before allocating another one. at org.apache.http.impl.conn.
Read more >
TCP/IP connectivity issues troubleshooting - Windows Client
TCP reset is an abrupt closure of the session; it causes the resources allocated to the connection to be immediately released and all...
Read more >
TCP/IP port exhaustion troubleshooting - Windows Client
In a scenario where the same browser is creating many connections to ... not correctly closing the ports when an error was encountered....
Read more >
"No more Internet handles can be allocated" error from ...
This is not an inherent limitation of the FTP protocol but rather appears to be a defect in the implementation of the FTP...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found