You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
clone solution
docker pull selenoid/vnc:chrome_102.0
cd to healenium
docker-compose up -d
open Healenium.Selenium.Tests.sln and run tests after nuget restore
Logs appeared during using Healenium
2023-01-24 06:08:30.119 INFO 1 --- [nio-8085-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms
2023-01-24 11:38:31 2023-01-24 06:08:31.294 ERROR 1 --- [nio-8085-exec-1] c.e.h.h.h.HealeniumProxyHttpHandler : Error during handle Proxy Request. Message: Connect to localhost:4444 [localhost/127.0.0.1] failed: Connection refused (Connection refused), Exception: {}
2023-01-24 11:38:31
2023-01-24 11:38:31 org.apache.http.conn.HttpHostConnectException: Connect to localhost:4444 [localhost/127.0.0.1] failed: Connection refused (Connection refused)
2023-01-24 11:38:31 at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:156) ~[httpclient-4.5.13.jar!/:4.5.13]
2023-01-24 11:38:31 at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376) ~[httpclient-4.5.13.jar!/:4.5.13]
2023-01-24 11:38:31 at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) ~[httpclient-4.5.13.jar!/:4.5.13]
2023-01-24 11:38:31 at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) ~[httpclient-4.5.13.jar!/:4.5.13]
2023-01-24 11:38:31 at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) ~[httpclient-4.5.13.jar!/:4.5.13]
2023-01-24 11:38:31 at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[httpclient-4.5.13.jar!/:4.5.13]
2023-01-24 11:38:31 at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[httpclient-4.5.13.jar!/:4.5.13]
2023-01-24 11:38:31 at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[httpclient-4.5.13.jar!/:4.5.13]
2023-01-24 11:38:31 at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[httpclient-4.5.13.jar!/:4.5.13]
2023-01-24 11:38:31 at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) ~[httpclient-4.5.13.jar!/:4.5.13]
2023-01-24 11:38:31 at com.epam.healenium.healenium_proxy.request.HealeniumBaseRequest.executeToSeleniumServer(HealeniumBaseRequest.java:29) ~[classes!/:1.2.0]
2023-01-24 11:38:31 at com.epam.healenium.healenium_proxy.request.post.override.HealeniumCreateSessionPostRequest.execute(HealeniumCreateSessionPostRequest.java:71) ~[classes!/:1.2.0]
2023-01-24 11:38:31 at com.epam.healenium.healenium_proxy.request.post.HealeniumPostRequest.execute(HealeniumPostRequest.java:38) ~[classes!/:1.2.0]
2023-01-24 11:38:31 at com.epam.healenium.healenium_proxy.handler.HealeniumProxyHttpHandler.handleRequest(HealeniumProxyHttpHandler.java:36) ~[classes!/:1.2.0]
2023-01-24 11:38:31 at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:52) [spring-webmvc-5.3.15.jar!/:5.3.15]
2023-01-24 11:38:31 at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1067) [spring-webmvc-5.3.15.jar!/:5.3.15]
2023-01-24 11:38:31 at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963) [spring-webmvc-5.3.15.jar!/:5.3.15]
2023-01-24 11:38:31 at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) [spring-webmvc-5.3.15.jar!/:5.3.15]
2023-01-24 11:38:31 at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) [spring-webmvc-5.3.15.jar!/:5.3.15]
2023-01-24 11:38:31 at javax.servlet.http.HttpServlet.service(HttpServlet.java:681) [tomcat-embed-core-9.0.56.jar!/:4.0.1]
2023-01-24 11:38:31 at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) [spring-webmvc-5.3.15.jar!/:5.3.15]
2023-01-24 11:38:31 at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) [tomcat-embed-core-9.0.56.jar!/:4.0.1]
2023-01-24 11:38:31 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) [tomcat-embed-core-9.0.56.jar!/:na]
2023-01-24 11:38:31 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar!/:na]
2023-01-24 11:38:31 at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat-embed-websocket-9.0.56.jar!/:na]
2023-01-24 11:38:31 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.56.jar!/:na]
2023-01-24 11:38:31 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar!/:na]
2023-01-24 11:38:31 at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) [spring-web-5.3.15.jar!/:5.3.15]
2023-01-24 11:38:31 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) [spring-web-5.3.15.jar!/:5.3.15]
2023-01-24 11:38:31 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.56.jar!/:na]
2023-01-24 11:38:31 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar!/:na]
2023-01-24 11:38:31 at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) [spring-web-5.3.15.jar!/:5.3.15]
2023-01-24 11:38:31 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) [spring-web-5.3.15.jar!/:5.3.15]
2023-01-24 11:38:31 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.56.jar!/:na]
2023-01-24 11:38:31 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar!/:na]
2023-01-24 11:38:31 at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) [spring-web-5.3.15.jar!/:5.3.15]
2023-01-24 11:38:31 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) [spring-web-5.3.15.jar!/:5.3.15]
2023-01-24 11:38:31 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.56.jar!/:na]
2023-01-24 11:38:31 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar!/:na]
2023-01-24 11:38:31 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) [tomcat-embed-core-9.0.56.jar!/:na]
2023-01-24 11:38:31 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [tomcat-embed-core-9.0.56.jar!/:na]
2023-01-24 11:38:31 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540) [tomcat-embed-core-9.0.56.jar!/:na]
2023-01-24 11:38:31 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) [tomcat-embed-core-9.0.56.jar!/:na]
2023-01-24 11:38:31 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.56.jar!/:na]
2023-01-24 11:38:31 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [tomcat-embed-core-9.0.56.jar!/:na]
2023-01-24 11:38:31 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357) [tomcat-embed-core-9.0.56.jar!/:na]
2023-01-24 11:38:31 at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:382) [tomcat-embed-core-9.0.56.jar!/:na]
2023-01-24 11:38:31 at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.56.jar!/:na]
2023-01-24 11:38:31 at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:895) [tomcat-embed-core-9.0.56.jar!/:na]
2023-01-24 11:38:31 at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1732) [tomcat-embed-core-9.0.56.jar!/:na]
2023-01-24 11:38:31 at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.56.jar!/:na]
2023-01-24 11:38:31 at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat-embed-core-9.0.56.jar!/:na]
2023-01-24 11:38:31 at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat-embed-core-9.0.56.jar!/:na]
2023-01-24 11:38:31 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.56.jar!/:na]
2023-01-24 11:38:31 at java.lang.Thread.run(Thread.java:748) [na:1.8.0_212]
2023-01-24 11:38:31 Caused by: java.net.ConnectException: Connection refused (Connection refused)
2023-01-24 11:38:31 at java.net.PlainSocketImpl.socketConnect(Native Method) ~[na:1.8.0_212]
2023-01-24 11:38:31 at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[na:1.8.0_212]
2023-01-24 11:38:31 at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[na:1.8.0_212]
2023-01-24 11:38:31 at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[na:1.8.0_212]
2023-01-24 11:38:31 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_212]
2023-01-24 11:38:31 at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_212]
2023-01-24 11:38:31 at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:75) ~[httpclient-4.5.13.jar!/:4.5.13]
2023-01-24 11:38:31 at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142) ~[httpclient-4.5.13.jar!/:4.5.13]
2023-01-24 11:38:31 ... 54 common frames omitted
Describe the bug
Below are the exception details thrown when running tests:
OpenQA.Selenium.WebDriverException
HResult=0x80131500
Message=Connect to localhost:4444 [localhost/127.0.0.1] failed: Connection refused (Connection refused)
Source=WebDriver
StackTrace:
at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse)
at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.WebDriver.StartSession(ICapabilities desiredCapabilities)
at OpenQA.Selenium.WebDriver..ctor(ICommandExecutor executor, ICapabilities capabilities)
at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities)
at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(Uri remoteAddress, ICapabilities desiredCapabilities, TimeSpan commandTimeout)
at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(Uri remoteAddress, ICapabilities desiredCapabilities)
at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(Uri remoteAddress, DriverOptions options)
at Healenium.Selenium.Tests.BaseTest.SetUp() in C:\Projects\tmp\healenium-example-dotnet\Healenium.Selenium.Tests\Healenium.Selenium.Tests\BaseTest.cs:line 23
when tried accessing localhost:8085 in browser same error
{
"value": {
"message": "Connect to localhost:4444 [localhost\u002f127.0.0.1] failed: Connection refused (Connection refused)",
"error": "unknown error"
}
}
How to reproduce the issue
clone solution docker pull selenoid/vnc:chrome_102.0 cd to healenium docker-compose up -d open Healenium.Selenium.Tests.sln and run tests after nuget restore
Logs appeared during using Healenium
Expected behavior
No response
Actual behavior
No response
Healenium Proxy version
1.2.1
Healenium Backend version
3.2.5
Selenium version
No response
Additional context
when I reverted to below commit it's working fine
Commit a37f91e
Author: Aliaksei-Ashukha [email protected]
Date: Tuesday, August 30, 2022 6:35 PM
Parent: 15de02d
Update docker-compose.yaml
The text was updated successfully, but these errors were encountered: