Description
Hi @bonigarcia,
thank you for your great work with this project!
This "issue" is more a note and reminder for further updates, there is no issue in WebDriverManager itself. With this issue I'd also like to provide information for other WebDriverManager users when they experience the same problem (it took me more than 6 hours to find the root cause of the problem).
When using the docker feature with WDM I experienced the following error:
Caused by: org.apache.hc.client5.http.HttpHostConnectException: Connect to unix://localhost:2375 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused
The root cause of the problem is that unix protocol is not officially supported by Apache Http Client (see https://issues.apache.org/jira/browse/HTTPCLIENT-2348) and docker-java uses deprecated API.
This will be fixed in docker-java, pull request has been provided in docker-java/docker-java#2364 but needs to be merge and included in a release.
I've recognized that @bonigarcia explicitly downgraded HttpClient to 5.2.1 in December 2013: 62c7495 . But he didn't provide a cause for this action. Did you experience the same problem, @bonigarcia or is there another issue to be aware of?
I would appreciate an upgrade of docker-java once the fix has been released.