top of page
Search
grekahruba

How to Resolve Google Chrome Err timed out Issue on Windows 10



I've tried changing different settings and "uninstalling" and reinstalling the browser; Can't really uninstall, just uninstall the updates. I've resorted to used Firefox to browse anything now, which is a pain because it's so much more obviously slower than Chrome on a phone. I could try another browser, but I really just want chrome to work like it used to.




Google Chrome Err timed out



In our case, we found the problem was a performance issue because the screenshot taken was huge but it happened because we realized the screenshot resolution of the screenshots created by Chrome was double than the specified in code for calling the chromedriver, for example, if we specified width 1024px and height 2000px in the screenshot, it was creating an image of 2048px width and 4000px height so that is why was taking too much for rendering and the timeout breaks the process, in cases when the process finished (after long wait) it was creating a heavy screenshot images. We found it was an option (problem) of Chrome for supporting retina devices which increase the resolution of the screenshot, so, we forced using a flag to deactivate the option and render the original resolution configured and it works well, taking between 8 seconds to 13 seconds to create the screenshot (depending on the content of the page) and the image size is less than at the begenning. This is the flag into the ChromeOptions object:


First of all the other answers have been of great help and as everyone, I too have been struggling to make the chrome webdriver work, using the endless list of arguments that it requires.Below are some of my observations after breaking my head over this for a while:


First of all, make sure the chrome driver and chrome are on the stable recent cross-compatible versions. (most common error)Since I use docker for my use-case, I let my code handle to download the latest stable versions of both chrome and chromedriver during docker build, to rule out compatibility issues.Refer here for a simple explanation of the same.


I was seeing the Timed out receiving message from renderer: aka Net::ReadTimeout issue 100% of the time in a Cucumber test running in a Jenkins build env after the docker selenium/standalone-chrome image was updated in late Jan 2018. Adding the --disable-gpu attribute to the ChromeOptions did not fix it for me, but adding the --disable-browser-side-navigation option fixed it 100%. I found that recommendation here: =2239#c10


Err Connection Timed Out is the most common error which is often seen in Google Chrome web browser. Chrome running on Windows, Mac, Android, iOS is no exception for this error. Internet speaks that connection timed out error is frequent while accessing YouTube, Facebook, Yahoo Mail, Dropbox, GitHub, Google PlayStore, Netflix, Tumblr etc.


Resetting profile settings is the second best way to resolve this issue. Logging with your Google account on multiple chrome instances is the reason for this issue. To resolve this conflict, resetting profile settings is the best way to do. Here is the step by step guide to reset profile settings in Goole Chrome.


Unblocking the blocked IP is one of the common solutions for the above problem. Since most of the companies/ organizations/ schools/ colleges will block certain restricted websites via hosts file. If the website you are accessing comes under this blocked category, then you will end up with err_connection_timed_out until you unblock the website. Let us show you how to unblock the websites or IP from windows hosts file.


Turning off the firewall will solve the err_connection_timed_out error in most of the cases. If it is your personal network, then go ahead and turn off. Unless it is an educational institution or for educational purpose, we recommend you not to do this.


Using system restore should be the ultimate fix if your PC is infected with any malware and that malware is causing the err_connection_timed_out issue. Restore the system to last comfortable working point and get rid of this error. Here is the step by step procedure to perform a system restore.


Try to use a different browser to access the same URL. This is the simplest way to resolve err_connection_timed_out. Try these browsers other than Google Chrome to access your required URL. If the problem is related to the browser then it must be resolved by now.


By now you must have solved the err_connection_timed_out issue. Your time and patience are highly appreciated. If the issue still persists after going through all the listed methods, reach us through the comments section, will try to help you.


I have a same problem everytime I try to make a screenshot:[1552636837.732][SEVERE]: Timed out receiving message from renderer: 10.000Chrome: 73.0.3683.75 (Official Build) (64-bit)ChromeDriver 73.0.3683.68OS: Windows Server 2012 R2I have a stacktrace:org.openqa.selenium.TimeoutException: timeout: Timed out receiving message from renderer: 10.000 (Session info: headless chrome=73.0.3683.75) (Driver info: chromedriver=73.0.3683.68 (47787ec04b6e38e22703e856e101e840b65afe72),platform=Windows NT 6.3.9600 x86_64) (WARNING: The server did not provide any stacktrace information)Command duration or timeout: 0 millisecondsBuild info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'System info: host: 'WIN-XXX', ip: 'XXX', os.name: 'Windows Server 2012 R2', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_111'Driver info: org.openqa.selenium.chrome.ChromeDriverCapabilities acceptInsecureCerts: true, acceptSslCerts: true, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: chromedriverVersion: 73.0.3683.68 (47787ec04b6e3..., userDataDir: C:\Windows\TEMP\scoped_dir1..., cssSelectorsEnabled: true, databaseEnabled: false, goog:chromeOptions: debuggerAddress: localhost:60422, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, proxy: Proxy(), rotatable: false, setWindowRect: true, strictFileInteractability: false, takesHeapSnapshot: true, takesScreenshot: true, timeouts: implicit: 0, pageLoad: 300000, script: 30000, unexpectedAlertBehaviour: ignore, unhandledPromptBehavior: ignore, version: 73.0.3683.75, webStorageEnabled: trueSession ID: 76db5204c8be03b0b4ab39b878cec1c5at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [?:1.8.0_111]at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [?:1.8.0_111]at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [?:1.8.0_111]at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [?:1.8.0_111]at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214) [selenium-remote-driver-3.141.59.jar:?]at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166) [selenium-remote-driver-3.141.59.jar:?]at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40) [selenium-remote-driver-3.141.59.jar:?]at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80) [selenium-remote-driver-3.141.59.jar:?]at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44) [selenium-remote-driver-3.141.59.jar:?]at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158) [selenium-remote-driver-3.141.59.jar:?]at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83) [selenium-remote-driver-3.141.59.jar:?]at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) [selenium-remote-driver-3.141.59.jar:?]at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:609) [selenium-remote-driver-3.141.59.jar:?]at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295) [selenium-remote-driver-3.141.59.jar:?]at com.XXX.core.gui.Driver.takeScreenshot(Driver.java:387) [automation-core-5.0.32.jar:?]at com.XXX.core.config.ProjectConfig.embedScreenshot(ProjectConfig.java:153) [automation-core-5.0.32.jar:?]at com.XXX.XXX.XXX.teardown(XXX.java:63) [classes/:?]at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.8.0_111]at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [?:1.8.0_111]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_111]at java.lang.reflect.Method.invoke(Method.java:498) [?:1.8.0_111]at cucumber.runtime.Utils$1.call(Utils.java:40) [cucumber-core-1.2.5.jar:?]at cucumber.runtime.Timeout.timeout(Timeout.java:16) [cucumber-core-1.2.5.jar:?]at cucumber.runtime.Utils.invoke(Utils.java:34) [cucumber-core-1.2.5.jar:?]at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60) [cucumber-java-1.2.5.jar:?]at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:224) [cucumber-core-1.2.5.jar:?]at cucumber.runtime.Runtime.runHooks(Runtime.java:212) [cucumber-core-1.2.5.jar:?]at cucumber.runtime.Runtime.runAfterHooks(Runtime.java:206) [cucumber-core-1.2.5.jar:?]at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:46) [cucumber-core-1.2.5.jar:?]at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:102) [cucumber-junit-1.2.5.jar:?]at org.junit.runners.Suite.runChild(Suite.java:128) [junit-4.12.jar:4.12]at org.junit.runners.Suite.runChild(Suite.java:27) [junit-4.12.jar:4.12]at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [junit-4.12.jar:4.12]at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [junit-4.12.jar:4.12]at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [junit-4.12.jar:4.12]at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [junit-4.12.jar:4.12]at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [junit-4.12.jar:4.12]at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [junit-4.12.jar:4.12]at cucumber.runtime.junit.ExamplesRunner.run(ExamplesRunner.java:59) [cucumber-junit-1.2.5.jar:?]at org.junit.runners.Suite.runChild(Suite.java:128) [junit-4.12.jar:4.12]at org.junit.runners.Suite.runChild(Suite.java:27) [junit-4.12.jar:4.12]at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [junit-4.12.jar:4.12]at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [junit-4.12.jar:4.12]at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [junit-4.12.jar:4.12]at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [junit-4.12.jar:4.12]at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [junit-4.12.jar:4.12]at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [junit-4.12.jar:4.12]at cucumber.runtime.junit.ScenarioOutlineRunner.run(ScenarioOutlineRunner.java:53) [cucumber-junit-1.2.5.jar:?]at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63) [cucumber-junit-1.2.5.jar:?]at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18) [cucumber-junit-1.2.5.jar:?]at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [junit-4.12.jar:4.12]at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [junit-4.12.jar:4.12]at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [junit-4.12.jar:4.12]at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [junit-4.12.jar:4.12]at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [junit-4.12.jar:4.12]at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [junit-4.12.jar:4.12]at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70) [cucumber-junit-1.2.5.jar:?]at cucumber.api.junit.Cucumber.runChild(Cucumber.java:95) [cucumber-junit-1.2.5.jar:?]at cucumber.api.junit.Cucumber.runChild(Cucumber.java:38) [cucumber-junit-1.2.5.jar:?]at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [junit-4.12.jar:4.12]at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [junit-4.12.jar:4.12]at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [junit-4.12.jar:4.12]at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [junit-4.12.jar:4.12]at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [junit-4.12.jar:4.12]at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [junit-4.12.jar:4.12]at cucumber.api.junit.Cucumber.run(Cucumber.java:100) [cucumber-junit-1.2.5.jar:?]at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:369) [surefire-junit4-2.20.1.jar:2.20.1]at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:275) [surefire-junit4-2.20.1.jar:2.20.1]at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:239) [surefire-junit4-2.20.1.jar:2.20.1]at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:160) [surefire-junit4-2.20.1.jar:2.20.1]at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) [surefire-booter-2.20.1.jar:2.20.1]at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) [surefire-booter-2.20.1.jar:2.20.1]at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) [surefire-booter-2.20.1.jar:2.20.1]at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) [surefire-booter-2.20.1.jar:2.20.1] 2ff7e9595c


0 views0 comments

Recent Posts

See All

Comments


bottom of page