sitespeedio / browsertime

Measure and Optimize Web Performance
https://www.sitespeed.io/documentation/browsertime/
Apache License 2.0
608 stars 137 forks source link

Webdrivererror with firefox #429

Closed mrajiullah closed 6 years ago

mrajiullah commented 6 years ago

Hi!

I have a container based on the docker file available here. I am getting few errors with firefox. I have same version of firefox, nodes and other specified in your docker files. I have gecko driver version 0.18. In most cases, the errors are ( but they dont happen all the times)

[2018-01-22 13:06:49] WebDriverError:SessionNotCreatedError: Tried to run command without establishing a connection [2018-01-22 13:06:49] Could not load URLUrlLoadError: Failed to load https://www.etsy.com, cause: Tried to run command without establishing a connection [2018-01-22 13:06:49] Error running browsertime BrowserError: Tried to run command without establishing a connection at Promise.try.catch.e (/opt/monroe/lib/core/seleniumRunner.js:262:15) From previous event: at SeleniumRunner.stop (/opt/monroe/lib/core/seleniumRunner.js:261:15) at Promise.resolve.tap.tap.tap.tap.tap.tap.tap.tap.tap.tap.finally (/opt/monroe/lib/core/engine.js:300:31) From previous event: at runIteration (/opt/monroe/lib/core/engine.js:300:17) at Promise.reduce (/opt/monroe/lib/core/engine.js:330:27) From previous event: at Promise.resolve.tap.tap.tap.tap.result (/opt/monroe/lib/core/engine.js:327:17) at runCallback (timers.js:789:20) at tryOnImmediate (timers.js:751:5) at processImmediate [as _immediateCallback] (timers.js:722:5) From previous event: at Engine.run (/opt/monroe/lib/core/engine.js:326:8) at /opt/monroe/bin/browsertime.js:63:21 From previous event: at run (/opt/monroe/bin/browsertime.js:62:6) at Object. (/opt/monroe/bin/browsertime.js:137:1) at Module._compile (module.js:643:30) at Object.Module._extensions..js (module.js:654:10) at Module.load (module.js:556:32) at tryModuleLoad (module.js:499:12) at Function.Module._load (module.js:491:3) at Function.Module.runMain (module.js:684:10) at startup (bootstrap_node.js:187:16) at bootstrap_node.js:608:3

[2018-01-22 13:12:52] WebDriverError:SessionNotCreatedError: Tried to run command without establishing a connection [2018-01-22 13:12:52] Could not load URLUrlLoadError: Failed to load https://www.search.yahoo.com, cause: Tried to run command without establishing a connection [2018-01-22 13:12:52] Error running browsertime BrowserError: Tried to run command without establishing a connection at Promise.try.catch.e (/opt/monroe/lib/core/seleniumRunner.js:262:15) From previous event: at SeleniumRunner.stop (/opt/monroe/lib/core/seleniumRunner.js:261:15) at Promise.resolve.tap.tap.tap.tap.tap.tap.tap.tap.tap.tap.finally (/opt/monroe/lib/core/engine.js:300:31) From previous event: at runIteration (/opt/monroe/lib/core/engine.js:300:17) at Promise.reduce (/opt/monroe/lib/core/engine.js:330:27) From previous event: at Promise.resolve.tap.tap.tap.tap.result (/opt/monroe/lib/core/engine.js:327:17) at runCallback (timers.js:789:20) at tryOnImmediate (timers.js:751:5) at processImmediate [as _immediateCallback] (timers.js:722:5) From previous event: at Engine.run (/opt/monroe/lib/core/engine.js:326:8) at /opt/monroe/bin/browsertime.js:63:21 From previous event: at run (/opt/monroe/bin/browsertime.js:62:6) at Object. (/opt/monroe/bin/browsertime.js:137:1) at Module._compile (module.js:643:30) at Object.Module._extensions..js (module.js:654:10) at Module.load (module.js:556:32) at tryModuleLoad (module.js:499:12) at Function.Module._load (module.js:491:3) at Function.Module.runMain (module.js:684:10) at startup (bootstrap_node.js:187:16) at bootstrap_node.js:608:3

[2018-01-22 13:20:20] WebDriverError:WebDriverError: Reached error page: about:neterror?e=unknownProtocolFound&u=nielsenwebid%3A//nuid/YIZbrEAibYEYnKi3HbGG7gxOz41Um1516627219&c=&f=regular&d=Firefox%20doesn%E2%80%99t%20know%20how%20to%20open%20this%20address%2C%20because%20one%20of%20the%20following%20protocols%20%28nielsenwebid%29%20isn%E2%80%99t%20associated%20with%20any%20program%20or%20is%20not%20allowed%20in%20this%20context. [2018-01-22 13:20:20] Could not load URLUrlLoadError: Failed to load https://www.theguardian.com/international, cause: Reached error page: about:neterror?e=unknownProtocolFound&u=nielsenwebid%3A//nuid/YIZbrEAibYEYnKi3HbGG7gxOz41Um1516627219&c=&f=regular&d=Firefox%20doesn%E2%80%99t%20know%20how%20to%20open%20this%20address%2C%20because%20one%20of%20the%20following%20protocols%20%28nielsenwebid%29%20isn%E2%80%99t%20associated%20with%20any%20program%20or%20is%20not%20allowed%20in%20this%20context. [2018-01-22 13:20:21] Error running browsertime UrlLoadError: Failed to load https://www.theguardian.com/international at getUrl.then.then.catch.catch.e (/opt/monroe/lib/core/seleniumRunner.js:176:15) From previous event: at SeleniumRunner.loadAndWait (/opt/monroe/lib/core/seleniumRunner.js:174:13) at Promise.resolve.tap.tap.tap.tap.tap (/opt/monroe/lib/core/engine.js:250:27) From previous event: at runIteration (/opt/monroe/lib/core/engine.js:250:10) at Promise.reduce (/opt/monroe/lib/core/engine.js:330:27) From previous event: at Promise.resolve.tap.tap.tap.tap.result (/opt/monroe/lib/core/engine.js:327:17) at runCallback (timers.js:789:20) at tryOnImmediate (timers.js:751:5) at processImmediate [as _immediateCallback] (timers.js:722:5) From previous event: at Engine.run (/opt/monroe/lib/core/engine.js:326:8) at /opt/monroe/bin/browsertime.js:63:21 From previous event: at run (/opt/monroe/bin/browsertime.js:62:6) at Object. (/opt/monroe/bin/browsertime.js:137:1) at Module._compile (module.js:643:30) at Object.Module._extensions..js (module.js:654:10) at Module.load (module.js:556:32) at tryModuleLoad (module.js:499:12) at Function.Module._load (module.js:491:3) at Function.Module.runMain (module.js:684:10) at startup (bootstrap_node.js:187:16) at bootstrap_node.js:608:3

[2018-01-22 13:18:27] WebDriverError:WebDriverError: Reached error page: about:neterror?e=dnsNotFound&u=https%3A//www.uk.sports.yahoo.com/&c=UTF-8&f=regular&d=Firefox%20can%E2%80%99t%20find%20the%20server%20at%20www.uk.sports.yahoo.com. [2018-01-22 13:18:27] Could not load URLUrlLoadError: Failed to load https://www.uk.sports.yahoo.com, cause: Reached error page: about:neterror?e=dnsNotFound&u=https%3A//www.uk.sports.yahoo.com/&c=UTF-8&f=regular&d=Firefox%20can%E2%80%99t%20find%20the%20server%20at%20www.uk.sports.yahoo.com. [2018-01-22 13:18:27] Error running browsertime UrlLoadError: Failed to load https://www.uk.sports.yahoo.com at getUrl.then.then.catch.catch.e (/opt/monroe/lib/core/seleniumRunner.js:176:15) From previous event: at SeleniumRunner.loadAndWait (/opt/monroe/lib/core/seleniumRunner.js:174:13) at Promise.resolve.tap.tap.tap.tap.tap (/opt/monroe/lib/core/engine.js:250:27) From previous event: at runIteration (/opt/monroe/lib/core/engine.js:250:10) at Promise.reduce (/opt/monroe/lib/core/engine.js:330:27) From previous event: at Promise.resolve.tap.tap.tap.tap.result (/opt/monroe/lib/core/engine.js:327:17) at runCallback (timers.js:789:20) at tryOnImmediate (timers.js:751:5) at processImmediate [as _immediateCallback] (timers.js:722:5) From previous event: at Engine.run (/opt/monroe/lib/core/engine.js:326:8) at /opt/monroe/bin/browsertime.js:63:21 From previous event: at run (/opt/monroe/bin/browsertime.js:62:6) at Object. (/opt/monroe/bin/browsertime.js:137:1) at Module._compile (module.js:643:30) at Object.Module._extensions..js (module.js:654:10) at Module.load (module.js:556:32) at tryModuleLoad (module.js:499:12) at Function.Module._load (module.js:491:3) at Function.Module.runMain (module.js:684:10) at startup (bootstrap_node.js:187:16) at bootstrap_node.js:608:3

Any idea?

soulgalore commented 6 years ago

Hi @mrajiullah I haven't got these myself, can it be a Geckodriver bug? You are on Geckodriver 18 and on FF 54? You could try with FF 57 (but make sure you disable getting the HAR with --skipHar and see if you will get it (you will miss the HAR though).

Best Peter

mrajiullah commented 6 years ago

Hi @soulgalore, yes currently I am using FF 54 and gecko 18. I had --skipHar already with the error I mentioned before. I will try with FF 57 and see if the errors persist.

Thanks, M. Rajiullah

mrajiullah commented 6 years ago

I forgot to mention one more error type 2018-01-22T13:26:06.346164880Z events.js:182 2018-01-22T13:26:06.346374520Z throw er; // Unhandled 'error' event 2018-01-22T13:26:06.346413416Z ^ 2018-01-22T13:26:06.346449993Z 2018-01-22T13:26:06.346573044Z Error: write EPIPE 2018-01-22T13:26:06.346614333Z at _errnoException (util.js:1021:11) 2018-01-22T13:26:06.346649810Z at WriteWrap.afterWrite [as oncomplete] (net.js:860:14) 2018-01-22T13:26:27.389543558Z events.js:182 2018-01-22T13:26:27.389748549Z throw er; // Unhandled 'error' event 2018-01-22T13:26:27.389804716Z ^ 2018-01-22T13:26:27.389833417Z 2018-01-22T13:26:27.389861752Z Error: write EPIPE 2018-01-22T13:26:27.389916837Z at _errnoException (util.js:1021:11) 2018-01-22T13:26:27.389972090Z at WriteWrap.afterWrite [as oncomplete] (net.js:860:14) 2018-01-22T13:26:53.203240853Z [2018-01-22 13:26:53] WebDriverError:WebDriverError: Failed to decode response from marionette 2018-01-22T13:26:53.208142934Z [2018-01-22 13:26:53] Could not load URLUrlLoadError: Failed to load https://www.coursera.com, cause: Failed to decode response from marionette 2018-01-22T13:26:53.337366851Z [2018-01-22 13:26:53] Error running browsertime BrowserError: Tried to run command without establishing a connection 2018-01-22T13:26:53.337506986Z at Promise.try.catch.e (/opt/monroe/lib/core/seleniumRunner.js:262:15) 2018-01-22T13:26:53.337565381Z From previous event: 2018-01-22T13:26:53.337594987Z at SeleniumRunner.stop (/opt/monroe/lib/core/seleniumRunner.js:261:15) 2018-01-22T13:26:53.337624778Z at Promise.resolve.tap.tap.tap.tap.tap.tap.tap.tap.tap.tap.finally (/opt/monroe/lib/core/engine.js:300:31) 2018-01-22T13:26:53.337653855Z From previous event: 2018-01-22T13:26:53.337712237Z at runIteration (/opt/monroe/lib/core/engine.js:300:17) 2018-01-22T13:26:53.337762895Z at Promise.reduce (/opt/monroe/lib/core/engine.js:330:27) 2018-01-22T13:26:53.337818926Z From previous event: 2018-01-22T13:26:53.337858699Z at Promise.resolve.tap.tap.tap.tap.result (/opt/monroe/lib/core/engine.js:327:17) 2018-01-22T13:26:53.337915925Z at runCallback (timers.js:785:20) 2018-01-22T13:26:53.337944172Z at tryOnImmediate (timers.js:747:5) 2018-01-22T13:26:53.337999624Z at processImmediate [as _immediateCallback] (timers.js:718:5) 2018-01-22T13:26:53.338028060Z From previous event: 2018-01-22T13:26:53.338056628Z at Engine.run (/opt/monroe/lib/core/engine.js:326:8) 2018-01-22T13:26:53.338112232Z at /opt/monroe/bin/browsertime.js:63:21 2018-01-22T13:26:53.338224776Z From previous event: 2018-01-22T13:26:53.338252564Z at run (/opt/monroe/bin/browsertime.js:62:6) 2018-01-22T13:26:53.338334889Z at Object. (/opt/monroe/bin/browsertime.js:137:1) 2018-01-22T13:26:53.338391256Z at Module._compile (module.js:624:30) 2018-01-22T13:26:53.338418345Z at Object.Module._extensions..js (module.js:635:10) 2018-01-22T13:26:53.338445370Z at Module.load (module.js:545:32) 2018-01-22T13:26:53.338555507Z at tryModuleLoad (module.js:508:12) 2018-01-22T13:26:53.338642105Z at Function.Module._load (module.js:500:3) 2018-01-22T13:26:53.338696391Z at Function.Module.runMain (module.js:665:10) 2018-01-22T13:26:53.338752436Z at startup (bootstrap_node.js:187:16) 2018-01-22T13:26:53.338808015Z at bootstrap_node.js:608:3

tobli commented 6 years ago

Hi @mrajiullah, What version of Browsertime are you using? Since Browsertime bundles Geckodriver, it won't make a difference if you have other version of Geckodriver installed separately. A given version of Browsertime will always use a given version of Geckodriver.

Currently (since BT 2.0) we bundle the latest version (0.19.1). The recommended versions of Firefox for that is 55.0+. It's not unlikely that there are compatibility issues with earlier versions, since geckodriver and the spec are still evolving. Unfortunately when we have to revert to FF 54 (to get HAR export working), we did not downgrade the bundled Geckodriver to 0.18. (ping @soulgalore)

soulgalore commented 6 years ago

Yeah "recommended" is hard to know what they actually mean. If I remember there was a reason to actual upgrade to 0.19 but I don't remember. They are working on the HAR API and best case it will be there for 59 (if I understand everything correctly).

Best Peter

mrajiullah commented 6 years ago

Hi!

On 22 Jan 2018, at 16:11, Tobias Lidskog <notifications@github.com mailto:notifications@github.com> wrote:

Hi @mrajiullah https://github.com/mrajiullah, What version of Browsertime are you using? Since Browsertime bundles Geckodriver, it won't make a difference if you have other version of Geckodriver installed separately. A given version of Browsertime will always use a given version of Geckodriver.

I am currently using the latest one, 2.1.3 Currently (since BT 2.0) we bundle the latest version (0.19.1). The recommended versions of Firefox for that is 55.0+. It's not unlikely that there are compatibility issues with earlier versions, since geckodriver and the spec are still evolving. Unfortunately when we have to revert to FF 54 (to get HAR export working), we did not downgrade the bundled Geckodriver to 0.18. (ping @soulgalore https://github.com/soulgalore)

I guess too, my recent upgrade of bt might be reason the reason behind these late errors. I havent seen them before. I will downgrade again, will see if I can get rid of teh problem.

Thanks, M. Rajiullah

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sitespeedio/browsertime/issues/429#issuecomment-359452397, or mute the thread https://github.com/notifications/unsubscribe-auth/AEVF2ngkn7hMJGeOFZUpb1N7q8itAWD7ks5tNKUhgaJpZM4RmpmS.

Thanks, M. Rajiullah

mrajiullah commented 6 years ago

Hi!

I see that I dont have back up of the old browsertime version (< 2.0) Anyway I idea how I can manage one to see if I can see it's working better.

Thanks, M. Rajiullah

On 22 Jan 2018, at 19:38, Mohammad Rajiullah mohammad.rajiullah@kau.se wrote:

Hi!

On 22 Jan 2018, at 16:11, Tobias Lidskog <notifications@github.com mailto:notifications@github.com> wrote:

Hi @mrajiullah https://github.com/mrajiullah, What version of Browsertime are you using? Since Browsertime bundles Geckodriver, it won't make a difference if you have other version of Geckodriver installed separately. A given version of Browsertime will always use a given version of Geckodriver.

I am currently using the latest one, 2.1.3 Currently (since BT 2.0) we bundle the latest version (0.19.1). The recommended versions of Firefox for that is 55.0+. It's not unlikely that there are compatibility issues with earlier versions, since geckodriver and the spec are still evolving. Unfortunately when we have to revert to FF 54 (to get HAR export working), we did not downgrade the bundled Geckodriver to 0.18. (ping @soulgalore https://github.com/soulgalore)

I guess too, my recent upgrade of bt might be reason the reason behind these late errors. I havent seen them before. I will downgrade again, will see if I can get rid of teh problem.

Thanks, M. Rajiullah

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sitespeedio/browsertime/issues/429#issuecomment-359452397, or mute the thread https://github.com/notifications/unsubscribe-auth/AEVF2ngkn7hMJGeOFZUpb1N7q8itAWD7ks5tNKUhgaJpZM4RmpmS.

Thanks, M. Rajiullah

soulgalore commented 6 years ago

You can install specific versions using npm npm install <package>@<version> and if you wanna use our Docker container there's a tag per version.

mrajiullah commented 6 years ago

Hi!

Would you like to have a run of BT for the following url for http2 and http1s. I see that some urls are more prone to fail than others. But I am not entirely sure that the problem is url dependent or local.

facebook.com/telia/ http://facebook.com/telia/ en.wikipedia.org/wiki/Timeline_of_the_far_future http://en.wikipedia.org/wiki/Timeline_of_the_far_future linkedin.com/company/teliacompany http://linkedin.com/company/teliacompany uk.sports.yahoo.com http://uk.sports.yahoo.com/ instagram.com/leomessi/ http://instagram.com/leomessi/ google.com/#q=stockholm,+sweden http://google.com/#q=stockholm,+sweden ebay.com http://ebay.com/ nytimes.com http://nytimes.com/ theguardian.com/international http://theguardian.com/international youtube.com/watch?v=544vEgMiMG0 http://youtube.com/watch?v=544vEgMiMG0 wikihow.com http://wikihow.com/ stackoverflow.com http://stackoverflow.com/ search.yahoo.com http://search.yahoo.com/ kayak.com http://kayak.com/ yelp.com http://yelp.com/ etsy.com http://etsy.com/ udemy.com http://udemy.com/ coursera.com http://coursera.com/ sports.yahoo.com http://sports.yahoo.com/ imgur.com http://imgur.com/ 9gag.com http://9gag.com/

Also where are the version numbers of browsertime are available

Thanks, Mohammad

On 22 Jan 2018, at 20:58, Peter Hedenskog <notifications@github.com mailto:notifications@github.com> wrote:

You can install specific versions using npm npm install package>@<version and if you wanna use our Docker container there's a tag per version.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sitespeedio/browsertime/issues/429#issuecomment-359546037, or mute the thread https://github.com/notifications/unsubscribe-auth/AEVF2guiHb-9urQjyBbTOREmIet0NS7Lks5tNOhPgaJpZM4RmpmS.

Thanks, M. Rajiullah

soulgalore commented 6 years ago

Hi @mrajiullah you can see releases in the changelog or using npm, something like *npm show browsertime@ version**

Best Peter

mrajiullah commented 6 years ago

Hi Tobias!

I also tried your docker container with the urls that I found sometime fails in my container. Your container also fails and the error messages are similar.

M. Rajiullah

On 22 Jan 2018, at 16:11, Tobias Lidskog <notifications@github.com mailto:notifications@github.com> wrote:

Hi @mrajiullah https://github.com/mrajiullah, What version of Browsertime are you using? Since Browsertime bundles Geckodriver, it won't make a difference if you have other version of Geckodriver installed separately. A given version of Browsertime will always use a given version of Geckodriver.

Currently (since BT 2.0) we bundle the latest version (0.19.1). The recommended versions of Firefox for that is 55.0+. It's not unlikely that there are compatibility issues with earlier versions, since geckodriver and the spec are still evolving. Unfortunately when we have to revert to FF 54 (to get HAR export working), we did not downgrade the bundled Geckodriver to 0.18. (ping @soulgalore https://github.com/soulgalore)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sitespeedio/browsertime/issues/429#issuecomment-359452397, or mute the thread https://github.com/notifications/unsubscribe-auth/AEVF2ngkn7hMJGeOFZUpb1N7q8itAWD7ks5tNKUhgaJpZM4RmpmS.

Thanks, M. Rajiullah

mrajiullah commented 6 years ago

Hi!

This is few examples of error that I am seeing using the docker container ( sitespeedio/browsertime)

$ sudo docker run --shm-size=1g --rm -v "$(pwd)":/browsertime sitespeedio/browsertime -b firefox https://www.sports.yahoo.com/ -n 1 Google Chrome 63.0.3239.132 Mozilla Firefox 54.0.1 [2018-01-24 13:25:26] Running firefox for url: https://www.sports.yahoo.com/ [2018-01-24 13:25:26] Testing url https://www.sports.yahoo.com/ run 1 [2018-01-24 13:27:08] Error running browsertime ScriptTimeoutError: Timed out at Object.throwDecodedError (/usr/src/app/node_modules/selenium-webdriver/lib/error.js:514:15) at parseHttpResponse (/usr/src/app/node_modules/selenium-webdriver/lib/http.js:519:13) at doSend.then.response (/usr/src/app/node_modules/selenium-webdriver/lib/http.js:441:30) at at process._tickCallback (internal/process/next_tick.js:188:7) at Driver.schedule (/usr/src/app/node_modules/selenium-webdriver/lib/webdriver.js:807:17) at Driver.executeAsyncScript (/usr/src/app/node_modules/selenium-webdriver/lib/webdriver.js:891:17) at Promise.try (/usr/src/app/lib/core/seleniumRunner.js:225:26) From previous event: at SeleniumRunner.runAsyncScript (/usr/src/app/lib/core/seleniumRunner.js:219:23) at FirefoxDelegate.onStopIteration (/usr/src/app/lib/core/engineDelegate/firefoxDelegate.js:46:36) at Promise.resolve.tap.tap.tap.tap.tap.tap.tap.tap.tap.results (/usr/src/app/lib/core/engine.js:282:37) From previous event: at runIteration (/usr/src/app/lib/core/engine.js:282:10) at Promise.reduce (/usr/src/app/lib/core/engine.js:330:27) From previous event: at Promise.resolve.tap.tap.tap.tap.result (/usr/src/app/lib/core/engine.js:327:17) at runCallback (timers.js:789:20) at tryOnImmediate (timers.js:751:5) at processImmediate [as _immediateCallback] (timers.js:722:5) From previous event: at Engine.run (/usr/src/app/lib/core/engine.js:326:8) at /usr/src/app/bin/browsertime.js:63:21 From previous event: at run (/usr/src/app/bin/browsertime.js:62:6) at Object. (/usr/src/app/bin/browsertime.js:137:1) at Module._compile (module.js:643:30) at Object.Module._extensions..js (module.js:654:10) at Module.load (module.js:556:32) at tryModuleLoad (module.js:499:12) at Function.Module._load (module.js:491:3) at Function.Module.runMain (module.js:684:10) at startup (bootstrap_node.js:187:16) at bootstrap_node.js:608:3


$ sudo docker run --shm-size=1g --rm -v "$(pwd)":/browsertime sitespeedio/browsertime -b firefox https://www.search.yahoo.com/ -n 1 Google Chrome 63.0.3239.132 Mozilla Firefox 54.0.1 [2018-01-24 13:46:46] Running firefox for url: https://www.search.yahoo.com/ [2018-01-24 13:46:46] Testing url https://www.search.yahoo.com/ run 1 [2018-01-24 13:48:21] Catched a WebDriverError [Reached error page: about:neterror?e=netTimeout&u=https%3A//www.search.yahoo.com/&c=UTF-8&f=regular&d=The%20server%20at%20www.search.yahoo.com%20is%20taking%20too%20long%20to%20respond.]. Try one more time.WebDriverError: Reached error page: about:neterror?e=netTimeout&u=https%3A//www.search.yahoo.com/&c=UTF-8&f=regular&d=The%20server%20at%20www.search.yahoo.com%20is%20taking%20too%20long%20to%20respond. [2018-01-24 13:49:52] WebDriverError:WebDriverError: Reached error page: about:neterror?e=netTimeout&u=https%3A//www.search.yahoo.com/&c=UTF-8&f=regular&d=The%20server%20at%20www.search.yahoo.com%20is%20taking%20too%20long%20to%20respond. [2018-01-24 13:49:52] Could not load URLUrlLoadError: Failed to load https://www.search.yahoo.com/, cause: Reached error page: about:neterror?e=netTimeout&u=https%3A//www.search.yahoo.com/&c=UTF-8&f=regular&d=The%20server%20at%20www.search.yahoo.com%20is%20taking%20too%20long%20to%20respond. [2018-01-24 13:49:52] Error running browsertime UrlLoadError: Failed to load https://www.search.yahoo.com/ at getUrl.then.then.catch.catch.e (/usr/src/app/lib/core/seleniumRunner.js:176:15) From previous event: at SeleniumRunner.loadAndWait (/usr/src/app/lib/core/seleniumRunner.js:174:13) at Promise.resolve.tap.tap.tap.tap.tap (/usr/src/app/lib/core/engine.js:250:27) From previous event: at runIteration (/usr/src/app/lib/core/engine.js:250:10) at Promise.reduce (/usr/src/app/lib/core/engine.js:330:27) From previous event: at Promise.resolve.tap.tap.tap.tap.result (/usr/src/app/lib/core/engine.js:327:17) at runCallback (timers.js:789:20) at tryOnImmediate (timers.js:751:5) at processImmediate [as _immediateCallback] (timers.js:722:5) From previous event: at Engine.run (/usr/src/app/lib/core/engine.js:326:8) at /usr/src/app/bin/browsertime.js:63:21 From previous event: at run (/usr/src/app/bin/browsertime.js:62:6) at Object. (/usr/src/app/bin/browsertime.js:137:1) at Module._compile (module.js:643:30) at Object.Module._extensions..js (module.js:654:10) at Module.load (module.js:556:32) at tryModuleLoad (module.js:499:12) at Function.Module._load (module.js:491:3) at Function.Module.runMain (module.js:684:10) at startup (bootstrap_node.js:187:16) at bootstrap_node.js:608:3

Thanks, M. Rajiullah

On 24 Jan 2018, at 14:19, Mohammad Rajiullah mohammad.rajiullah@kau.se wrote:

Hi Tobias!

I also tried your docker container with the urls that I found sometime fails in my container. Your container also fails and the error messages are similar.

M. Rajiullah

On 22 Jan 2018, at 16:11, Tobias Lidskog <notifications@github.com mailto:notifications@github.com> wrote:

Hi @mrajiullah https://github.com/mrajiullah, What version of Browsertime are you using? Since Browsertime bundles Geckodriver, it won't make a difference if you have other version of Geckodriver installed separately. A given version of Browsertime will always use a given version of Geckodriver.

Currently (since BT 2.0) we bundle the latest version (0.19.1). The recommended versions of Firefox for that is 55.0+. It's not unlikely that there are compatibility issues with earlier versions, since geckodriver and the spec are still evolving. Unfortunately when we have to revert to FF 54 (to get HAR export working), we did not downgrade the bundled Geckodriver to 0.18. (ping @soulgalore https://github.com/soulgalore)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sitespeedio/browsertime/issues/429#issuecomment-359452397, or mute the thread https://github.com/notifications/unsubscribe-auth/AEVF2ngkn7hMJGeOFZUpb1N7q8itAWD7ks5tNKUhgaJpZM4RmpmS.

Thanks, M. Rajiullah

soulgalore commented 6 years ago

Could it be something with the redirects that you are trying to test? https://www.sports.yahoo.com/ --> https://sports.yahoo.com/

mrajiullah commented 6 years ago

Nope, the error remains the same.

Mohammad

On 25 Jan 2018, at 15:38, Peter Hedenskog <notifications@github.com mailto:notifications@github.com> wrote:

Could it be something with the redirects that you are trying to test? https://www.sports.yahoo.com/ https://www.sports.yahoo.com/ --> https://sports.yahoo.com/ https://sports.yahoo.com/ — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sitespeedio/browsertime/issues/429#issuecomment-360485062, or mute the thread https://github.com/notifications/unsubscribe-auth/AEVF2gb4wDiqJ1eh-YfnClEAXv8CKa2dks5tOJHxgaJpZM4RmpmS.

Thanks, M. Rajiullah

soulgalore commented 6 years ago

In 3.0 we updated Geckodriver to latest and also moved to FF 61 and started using the new HAR export trigger, I tested now with docker run --shm-size=1g --rm -v "$(pwd)":/browsertime sitespeedio/browsertime -b firefox https://www.sports.yahoo.com/ -n 1 and it works for me, so hopefully this is fixed now else please ping the issue so we can re open it.