docker - 浏览器会话无法在 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
解决方案
推荐阅读
- python - 如何在 Python 中使用 concurrent.futures 避免附加错误?
- python - 如何将值添加到字典中的特定列表?
- flutter - 如何将 TabBarView 与 BLoC 一起使用?
- python - 硒按钮单击不触发内联javascript事件处理程序
- azure-active-directory - 使用 react-adal 为 aad authentiactionn 添加错误页面
- php - 在 MySQLi 查询中使用三元运算符
- javascript - 在 Avatar 组件下方居中社交媒体图标
- google-analytics - 当我仅使用“sourceMedium”或“sourceMedium”+“campaign”维度时,为什么用户数和会话数不同?
- javascript - 是否有推荐/有效的方法来实现具有反应生产的单个文件包?
- node.js - 如何更新 mongo db 中特定数组元素的值