Open GoogleCodeExporter opened 9 years ago
[deleted comment]
java.lang.AssertionError: error:org.openqa.selenium.TimeoutException: timeout:
Timed out receiving message from renderer: 10.000
(Session info: chrome=37.0.2062.103)
(Driver info: chromedriver=2.10.267521,platform=Windows NT 6.1 SP1 x86) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 310.01 seconds
Build info: version: '2.41.0', revision: 'bd32d4e', time: '2013-12-05 16:15:38'
System info: host: 'manak-PC', ip: 'xxxxxxxx', os.name: 'Windows 7', os.arch:
'x86', os.version: '6.1', java.version: '1.7.0_67'
Session ID: eb2caca35f704b7cdb006b9c714f85c5
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{platform=XP, acceptSslCerts=true, javascriptEnabled=true,
browserName=chrome,
chrome={userDataDir=C:\Users\manak\AppData\Local\Temp\scoped_dir6784_21328},
rotatable=false, locationContextEnabled=true, version=37.0.2062.103,
takesHeapSnapshot=true, cssSelectorsEnabled=true, databaseEnabled=false,
handlesAlerts=true, browserConnectionEnabled=false, nativeEvents=true,
webStorageEnabled=true, applicationCacheEnabled=false, takesScreenshot=true}]
Command duration or timeout: 310.80 seconds
Build info: version: '2.41.0', revision: 'a7c61cb', time: '2013-10-18 17:14:00'
System info: host: 'PARAS', ip: 'xxxxxx', os.name: 'Windows 7', os.arch: 'x86',
os.version: '6.1', java.version: '1.7.0_67'
Session ID: c888fcbe-09c4-45de-b5e5-0c681ce0d59f
Driver info: com.on24.bdd.pmxd.Base.CustomWebDriver
Capabilities [{platform=XP, acceptSslCerts=true, javascriptEnabled=true,
browserName=chrome,
chrome={userDataDir=C:\Users\manak\AppData\Local\Temp\scoped_dir6784_21328},
rotatable=false, locationContextEnabled=true,
webdriver.remote.sessionid=c888fcbe-09c4-45de-b5e5-0c681ce0d59f,
version=37.0.2062.103, takesHeapSnapshot=true, cssSelectorsEnabled=true,
databaseEnabled=false, handlesAlerts=true, browserConnectionEnabled=false,
webStorageEnabled=true, nativeEvents=true, applicationCacheEnabled=false,
takesScreenshot=true}]
I also found this issue on chrome 35,36,37 browser also tried all latest
combination(selenium jar, chromedriver,chrome browser etc) but still occurs
randomly. Also found that it occurs more frequently in AJAX based web
application.
Please let me know if this is fixed or issue. Workaround will be helpful.
Original comment by paras.pa...@lmsin.com
on 8 Sep 2014 at 8:32
So, is there a fix for this? Do we wait for new version of chrome/selenium?
Original comment by dejan999...@gmail.com
on 15 Sep 2014 at 9:02
[deleted comment]
[deleted comment]
I don't think, this issue depends on the version of selenium/chrome. I face the
issue in chrome 34,35,36,37. Here is one thing, I tried to overcome this failure
When the browser hangs after some time, press shift+Esc to check the number the process and memory taken by each process.
There are some cases where the js used in the third party ads may hang the
browser, Find out which process makes the browser to hang.
Try to avoid that.
In my case, a third party ad makes the browser hangs indefinitely.
So, I've just installed ad-blocker plus and blocked the ad during test run.
This is not the fix, But hope it will definitely help some of the selenium
users preparing test reports at daily basis.
If there is any reproducible test case, please feel free to post here. It might
help to find out the exact scenario for this expection.
Thanks
Ajmalkhan
Original comment by ajmalkha...@gmail.com
on 15 Sep 2014 at 10:07
In my case, it happens on chrome version 37, selenium version 2.40.0 We didn't
upgrade selenium for 6 months, and tests started failing recently with this
error, maybe once in 20-30 runs. If we rerun tests, works fine. Might be
something with new version of chrome.
Original comment by dejan999...@gmail.com
on 17 Sep 2014 at 1:54
Even I am facing this issue. Below is the error what I got and the logs which
was reported while clicking a link in Iframe. I tried upgrading the drivers
aswell as the browser.
Error :
Result Message: Assert.Fail failed. disconnected: Unable to receive message
from renderer
(Session info: chrome=37.0.2062.120)
(Driver info: chromedriver=2.10.267521,platform=Windows NT 6.1 SP1 x86_64) (102)
Log:
[206.125][INFO]: COMMAND ClickElement {
"id": "0.7071966589428484-5"
}
[206.126][INFO]: Waiting for pending navigations...
[206.126][INFO]: Done waiting for pending navigations
[206.300][INFO]: Waiting for pending navigations...
Original comment by ba.raghu@gmail.com
on 22 Sep 2014 at 9:37
This error happens every time on one of our tests. We have the latest driver
2.10, latest RC 2.43 and the latest Chrome 38
Original comment by jessstok...@gmail.com
on 14 Oct 2014 at 12:47
I have a verbose log where I can reproduce the problem but I can't upload the
log. Guess it's due to that it says "Issue attachment storage quota exceeded."
below my comment when writing the comment. Should I send this log to anyone, or
can the quota problem be solved?
Unfortunately I won't be able to provide a public URL where the problem can be
reproduced since the environment I'm testing is under development at the moment.
Original comment by Henrik.A...@mobenga.com
on 14 Oct 2014 at 12:53
I've observed the following behaviour. Hope it can help to identify the root
cause of this issue.
How we reproduced the issue:
============================
Our Selenium tests repeatedly encountered this issue on ThankYou.aspx page on
hiring.monster.com site. We couldn't reproduce this issue on all computers
though. After a further check, we updated hosts file on some computers (located
in Malaysia) to block 3pty tracking sites (US servers) which slowed down our
testing. This caused a lot of 404 errors especially for Thank You page.
Solution that worked for us:
============================
After removing all disabled domains from hosts file, the issue was gone. I may
be wrong, but it seems ChromeDriver cannot handle too many 404 errors, and
crashes.
Example of banned 3pty tracking sites:
======================================
## DISABLE TRACKING TAG SITES - Used to eliminate marketing tag calls to
production servers when testing in QA Environment.
## Add the following entries to end of current QAx host file being used.
127.0.0.1 secure.ace-lb.advertising.com
127.0.0.1 secure.ace-tag.advertising.com
127.0.0.1 www.googleadservices.com
127.0.0.1 bizographics.com
127.0.0.1 d.p-td.com
127.0.0.1 trk.enecto.com
127.0.0.1 research-int.se
127.0.0.1 monster.research-int.se
...
Original comment by radek.bo...@gmail.com
on 14 Oct 2014 at 1:13
I agree with #61. That is what I've mentioned in comment #56. Thanks to radek
for providing more information on this :) :)
Original comment by ajmalkha...@gmail.com
on 14 Oct 2014 at 1:16
Original comment by st...@chromium.org
on 14 Oct 2014 at 4:00
[deleted comment]
Hello I got the same issue when running a test sample but there is no
information that I can know where the root error.
Can anyone help me to detect it?
Thank you
The error is:
Test set: TestSuite
-------------------------------------------------------------------------------
Tests run: 5, Failures: 1, Errors: 0, Skipped: 4, Time elapsed: 25.384 sec <<<
FAILURE!
beforeSuite(com. val.e3.samples.Test01) Time elapsed: 0 sec <<< FAILURE!
java.lang.AssertionError: unknown error: unable to discover open pages
(Driver info: chromedriver=2.0,platform=Windows NT 6.2 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 23.91 seconds
Build info: version: '2.33.0', revision:
'4ecaf82108b2a6cc6f006aae81961236eba93358', time: '2013-05-22 12:00:17'
System info: os.name: 'Windows 8.1', os.arch: 'amd64', os.version: '6.3',
java.version: '1.8.0_25'
Driver info: org.openqa.selenium.chrome.ChromeDriver expected [true] but found
[false]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertTrue(Assert.java:42)
at com.val.e3.common.TestBase.beforeSuite(TestBase.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:277)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:74)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
Original comment by thanho...@gmail.com
on 16 Oct 2014 at 2:57
[deleted comment]
reply for #65
The issue mentioned in the above comment #65 was "java.lang.AssertionError:
unknown error: unable to discover open pages"
It is not related to the issue we are discussing here. Chrome team have
provided a solution to your problem on this below ticket
https://code.google.com/p/chromedriver/issues/detail?id=615
It looks like you are using a outdated chrome driver for your projects. Update
the driver and try it once.
Before adding a comment please make sure. Is your error is related to what we
are discussing here.
Thanks
Ajmal
Original comment by ajmalkha...@gmail.com
on 16 Oct 2014 at 5:34
I update new version of chrome.
But I still see the errors... but it runs instead of hanging and not filling
URL inside the URL field.
Thanks for your help.
I will try to debug more...
Original comment by thanho...@gmail.com
on 17 Oct 2014 at 7:00
reply for #68
I haven't mention to change the chrome version. I just told to update the
version of chrome driver you are using. I used chrome driver 2.8,2.9,2.10 with
chrome 35.x and above. So u can try this combination
Original comment by ajmalkha...@gmail.com
on 17 Oct 2014 at 8:54
I got this to work by using an Eclipse installation other than Luna.
Original comment by pdpon...@gmail.com
on 12 Nov 2014 at 10:38
Is there any news with this issue?
Original comment by Tartu...@gmail.com
on 27 Dec 2014 at 11:33
We can't find a reproducible scenario yet. please refer #56 and #61. The
solution mentioned in the above case solves the issue to an extend(frequency of
the failure get reduced.).
But, We are running the tests on windows 64 bit machine with chrome
driver(32bit). Will this cause any failure?. Is anyone running the test on
Windows 32 bit and facing the same failure??
Original comment by ajmalkha...@gmail.com
on 6 Jan 2015 at 1:29
In a 64 bit win7 machine, I still get this issue.
chrome=39.0.2171.95)
(Driver info: chromedriver=2.9.248315
I am trying to just open a Adobe Omniture (Digital pulse) debugger window and
switch to it. Nothing else. It opens this popup window and then when it is time
to switch, it hangs. This switching is seamless in Firefox but has issues in
Chrome. So still not fixed.
56 will not work as that is one of the test scenarios for me.
61 is not a fix as there are no domain host files .. all of these issues are
reproducible locally.
How to reproduce this:
A very simple test would be have the webdrive open a test html or
www.google.com page or something like that. Have the same webdriver open a
debugger popup. Say this one:
javascript:void(window.open("","dp_debugger","width=600,height=600,location=0,me
nubar=0,status=1,toolbar=0,resizable=1,scrollbars=1").document.write("<script
language='JavaScript' id=dbg
src='https://www.adobetag.com/d1/digitalpulsedebugger/live/DPD.js?auto_refresh=0
'></"+"script>"));
The popup is the Adobe digital pulse debugger popop. Now once the popup and
google home page opens .. try to switch between windows. And it hangs. And
gives the above error.
Original comment by shailesh...@gmail.com
on 19 Jan 2015 at 6:23
[deleted comment]
#72 - 64 bit windows handle 32-bit application without problem.
#73 - you are running older chromedriver + chrome. update and try again.
Original comment by andrewch...@chromium.org
on 20 Jan 2015 at 11:58
I've had the same problem with multiple combinations of chrome and chromedriver
with varying levels of frequency.
Some things I noticed when the problem happens that may aid diagnosis:
The tab that I was waiting for will not respond to Shift-Escape (other tabs in
the same browser will).
More Tools->Developer tools opens the side panel, but the side panel remains
blank.
Opening the javascript console gives you a ">" prompt which will take input,
but no output appears.
Once the browser eventually dies, it leaves a chromedriver process which has to
be killed with taskkill /f
I've attached a stack dump of all the threads from the chrome process - all the
threads appear to be in ntdll.dll waiting.
TimeoutException: Message: u'timeout: Timed out receiving message from
renderer: 10.000\n (Session info: chrome=39.0.2171.99)\n (Driver info:
chromedriver=2.13.307647
(5a7d0541ebc58e69994a6fb2ed930f45261f3c29),platform=Windows NT 6.1 SP1 x86_64)'
Original comment by ian.ip.s...@gmail.com
on 29 Jan 2015 at 11:42
Attachments:
if you can share your test case, it will be helpful to trouble shoot the issue.
Original comment by andrewch...@chromium.org
on 29 Jan 2015 at 6:25
Unfortunately the site isn't one that is generally accessible and all the
python test case is doing at the time is refreshing the page (although the test
runs for many hours and periodically refreshes the page amongst other actions -
it happened 5 times in 691 page refreshes in a 24 hour period).
driver.refresh()
File "c:\Python27\lib\site-packages\selenium-2.42.1-py2.7.egg\selenium\webdriver\remote\webdriver.py", line 546, in refresh
self.execute(Command.REFRESH)
File "c:\Python27\lib\site-packages\selenium-2.42.1-py2.7.egg\selenium\webdriver\remote\webdriver.py", line 173, in execute
self.error_handler.check_response(response)
File "c:\Python27\lib\site-packages\selenium-2.42.1-py2.7.egg\selenium\webdriver\remote\errorhandler.py", line 164, in check_response
Is there any additional diagnostics I can enable that might help? The test
machine also has Visual Studio 2010 installed if there is anything that can be
done from that...
Original comment by ian.ip.s...@gmail.com
on 30 Jan 2015 at 12:11
Original comment by samu...@chromium.org
on 21 Feb 2015 at 12:18
@ #78 , I tried your testcase having page refresh driver.navigate().refresh();
along with the other actions and executed it continuously for around 400times.
But the issue is not reproducible.
Can you please describe your test case more in detail. This will help to
recreate the issue.
Original comment by gmanikp...@chromium.org
on 4 Mar 2015 at 10:16
I get the error using appium and android emulator.
info: [debug] Making http request with opts: {"url":"http://127.0.0.1:9515/wd/hub/session/afceb4171f771252a578b711348550b5/url","method":"POST","json":{"url":"https://weather.yahoo.com/"}}
> info: [debug] [CHROMEDRIVER STDERR] [316.248][SEVERE]: Timed out receiving
message from renderer: 299.803
> info: [debug] Didn't get a new command in 500 secs, shutting down...
> info: Shutting down appium session
my cucumber steps:
Then I go to the url "https://weather.yahoo.com/"
Then I wait 8 seconds
Then I go to the url "https://weather.yahoo.com/"
Did not successfully proxy server command (Selenium::WebDriver::Error::Unk
nownError)
Appium::Driver.new(caps)
$driver.start_driver
@browser = Watir::Browser.new($driver.driver)
@browser.goto url
Original comment by Konstant...@gmail.com
on 18 Mar 2015 at 6:26
Attachments:
This may be what we are now seeing. We have a Windows 8 virtual machine as a
Jenkins slave operating in headless mode. It worked for a time last year albeit
interrupted by https://code.google.com/p/chromium/issues/detail?id=422218 which
is very similar.
The build we're running works fine on my local Windows 7 machine but just sits
there doing nothing on the Win 8 slave. The following is logged:
Starting ChromeDriver 2.14.313457 (3d645c400edf2e2c500566c9aa096063e707c9cf) on
port 11023
Only local connections are allowed.
( followed by a long pause )
Tests in error:
timeout: Timed out receiving message from renderer: 10.000
(Session info: chrome=41.0.2272.89)
(Driver info: chromedriver=2.14.313457 (3d645c400edf2e2c500566c9aa096063e707c9cf),platform=Windows NT 6.3 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 910.40 seconds
Build info: version: '2.45.0', revision:
'5017cb8e7ca8e37638dc3091b2440b90a1d8686f', time: '2015-02-27 09:10:26'
System info: host: 'Win8Jenkins', ip: '10.10.0.4', os.name: 'Windows 8.1',
os.arch: 'amd64', os.version: '6.3', java.version: '1.7.0_55'
Session ID: 36a0f49f6ba8c8a4c67adb0a2698fabc
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{platform=WIN8_1, acceptSslCerts=true, javascriptEnabled=true,
browserName=chrome, chrome={userDataDir=C:\WINDOWS\TEMP\scoped_dir4092_13227},
rotatable=false, locationContextEnabled=true, mobileEmulationEnabled=false,
version=41.0.2272.89, takesHeapSnapshot=true, cssSelectorsEnabled=true,
databaseEnabled=false, handlesAlerts=true, browserConnectionEnabled=false,
webStorageEnabled=true, nativeEvents=true, applicationCacheEnabled=false,
takesScreenshot=true}]
timeout: Timed out receiving message from renderer: 10.000
(Session info: chrome=41.0.2272.89)
(Driver info: chromedriver=2.14.313457 (3d645c400edf2e2c500566c9aa096063e707c9cf),platform=Windows NT 6.3 x86_64) (WARNING: The server did not provide any stacktrace information)
Uncertain if this is the same bug or not...
Original comment by james.gr...@mjog.com
on 20 Mar 2015 at 10:02
See also https://code.google.com/p/chromedriver/issues/detail?id=928
Original comment by james.mk...@gmail.com
on 20 Mar 2015 at 10:08
Tried to reproduce but no luck, with these methods
driver.navigate().refresh(); AND driver.manage().timeouts().implicitlyWait(2000,
TimeUnit.MILLISECONDS); in bunch of websites which
deliver huge web traffic.
Can anyone please attach sample testcase if this issue is reliably reproducible.
Original comment by agau...@chromium.org
on 9 Apr 2015 at 9:40
Original issue reported on code.google.com by
prasanna...@gmail.com
on 24 Jun 2013 at 2:00