首页 > 解决方案 > 浏览器会话无法在 elastest 中创建原因:com.spotify.docker.client.exceptions.DockerException

问题描述

在手动端到端测试中,我无法启动浏览器在 elastest 中出现故障错误原因:com.spotify.docker.client.exceptions.DockerException

2021-10-26T08:55:25.830793226Z :    at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
2021-10-26T08:55:25.830796940Z :    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1468)
2021-10-26T08:55:25.830800821Z :    at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
2021-10-26T08:55:25.830805016Z :    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2021-10-26T08:55:25.830808947Z :    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2021-10-26T08:55:25.830812832Z :    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
2021-10-26T08:55:25.830816567Z :    at java.lang.Thread.run(Thread.java:748)
2021-10-26T08:55:25.830823877Z : Caused by: com.spotify.docker.client.exceptions.DockerException: URL http://172.27.0.1:40723/vnc.html?resize=scale&autoconnect=true&password=selenoid not reachable in 20 seconds
2021-10-26T08:55:25.830828448Z :    at io.elastest.epm.client.utils.UtilTools.waitUrl(UtilTools.java:222)
2021-10-26T08:55:25.830832258Z :    at io.elastest.epm.client.utils.UtilTools.waitForHostIsReachable(UtilTools.java:265)
2021-10-26T08:55:25.830836001Z :    ... 64 more
2021-10-26T08:55:25.830839606Z : , stacktraceMessage=URL http://172.27.0.1:40723/vnc.html?resize=scale&autoconnect=true&password=selenoid not reachable in 20 seconds

标签: dockerbrowserelastest

解决方案


推荐阅读