New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blob URLs broken on Chrome 71 in headless mode #3463
Comments
Works on 72 |
Getting the same error with puppeteer 1.10.0 |
Same issue here, with Mac OS 10.14.1, node 8.12.0, puppeteer 1.10.0 in headless mode only, and whatever version of Chromium is bundled with that (looks like chromium_revision = 599821 in package.json). For me it works in 1.9.0. |
Also seeing this on 1.10.0 and 1.9.0, works in 1.8.0. |
Any luck with this guys? I am having the same problem. |
I ended up downloading chrome-stable instead of using the packed chromium (which I needed anyway as I'm relying on mp4 codecs) |
The solution is to download Chrome or Chromium 70 or 72 and set its path on puppetter's config object |
This is a regression in our network stack in headless; filed upstream - https://crbug.com/902918 Thanks for reporting this! |
Same issue. I downloaded google-chrome-stable (Google Chrome 70.0.3538.77 ) and provided it's path to pupeteer. Same results. |
What is your OS? |
same here - |
I get this with CesiumJS as well |
Having the same issue with Chrome stable 71 headless now (after switching off puppeteer, works fine without the headless flag), so it's not only affecting puppeteer. |
I am also having problems with this - No problems after updating to Chrome 72 beta though |
Headless Chrome version 71 is known to have an issue that seems to prevent jsTree-related tests from running: puppeteer/puppeteer#3463
Common support for running tests (unit & integration) in browser using mocha-webdriver-runner. Initial support for firefox headless, with suspended support for headless Chrome due to bug [1]. [1]: puppeteer/puppeteer#3463
Looks like this is working fine on newer Chrome; closing this. |
Still not working on 71 - which version do you think it is working on? How can this be reopened? |
@nsleigh I think the assumption is that it's closed in 72 beta so it'll be fixed when we tick over to 72 |
But that is at least 20 days away and our end to end testing has been broken for a for long time now. We really need a 71 fix. |
@nsleigh this can't be backported to stable channel since it's not a security issue. Can you use beta channel for your e2e tests? |
As a temp workaround for those who run E2E on Jenkins - Xvnc plugin is working great allowing for head mode where the problem does not exist. |
@aslushnikov I did try the beta and didn't think it was stable (well our test results were worse, I guess that might mean they will fail on 72). How stable is beta? Is it more like a preview? @RafalSkorka I'll take a look at that, we use Jenkins. |
Beta is very stable; it can be easily used in a day-to-day life. |
Can confirm that this is fixed in v72. However, I wanted to add a note that I observed about this bug (not sure if it is indicative of another bug that should be reported elsewhere or not): I encountered this error while using a library that created a web worker similar to this (summarized code):
However, it took me awhile to figure out what was going on, as the error thrown by the library was not very helpful. This is because a) The error from It would seem that passing a plain |
@JoshuaCWebDeveloper this looks like a Chromium bug; I'd file it to https://crbug.com/new |
Thanks for getting back to me @aslushnikov. For anyone who is interested: after some further investigation, it seems that a) there is some conflicting info in the docs, b) there is nothing about invalid url handling in the w3 spec, and c) Chrome, Firefox, and Edge all have the same behavior, so in lieu of filing a Chromium bug, I've asked a question on SO for some more input: https://stackoverflow.com/questions/54190092/how-do-i-detect-an-invalid-url-being-given-to-worker |
Common support for running tests (unit & integration) in browser using mocha-webdriver-runner. Initial support for firefox headless, with suspended support for headless Chrome due to bug [1]. [1]: puppeteer/puppeteer#3463
Common support for running tests (unit & integration) in browser using mocha-webdriver-runner. Initial support for firefox headless, with suspended support for headless Chrome due to bug [1]. [1]: puppeteer/puppeteer#3463
Common support for running tests (unit & integration) in browser using mocha-webdriver-runner. Initial support for firefox headless, with suspended support for headless Chrome due to bug [1]. [1]: puppeteer/puppeteer#3463
It seems like this now also broken in the latest 72 beta release (72.0.3626.64-1). Previously a fix was switching to the beta channel, but it seems that that now no longer helps. |
I think I am seeing an issue too, it was ok with 72.0.3626.53 but 72.0.3626.64 seems to have an issue but I am not sure it is the same. Still investigating. After a bit more investigation I think 72.0.3626.64 is still ok. |
When I installed beta 3 days ago, the version that was installed was 72.0.3626.64. This issue was and still is fixed on that version for me. When I go to check for updates, beta informs me that google chrome is up to date, and that the current version is 72.0.3626.64. I'm not sure where the 72.0.3626.64-1 version referenced by @johanneswilm is coming from. |
@JoshuaCWebDeveloper It's probably the same version. I simply downloaded the beta version of chrome that travis downloads on linux and that was the version info the deb-installer gave me. If it's not the same issue, it is very similar. I had an issue in testing a few weeks ago. I fixed it by simply switching to the chrome beta channel in travis without investigating what was causing it. A few days ago it stopped working, and today I spent some hours trying to find the cause of it, arrived at a worker that was packaged into a blob and from there I found this issue. |
Sorry about the confusion. It seems that the issue is that Travis runs webdriver on Chrome 71 even though it downloads and installs Chrome 72 when 'beta' is selected. Will investigate further, but it appears not to be related to this issue. |
because of a bug loading blobs in Chrome 71: puppeteer/puppeteer#3463
Common support for running tests (unit & integration) in browser using mocha-webdriver-runner. Initial support for firefox headless, with suspended support for headless Chrome due to bug [1]. [1]: puppeteer/puppeteer#3463
Steps to reproduce
Tell us about your environment:
What steps will reproduce the problem?
The smallest example I was able to make:
What is the expected result?
On Chrome 70 or Chrome 71 headfull it works fine
What happens instead?
On Chrome 71 in headless mode I get:
Failed to load resource: net::ERR_UNKNOWN_URL_SCHEME
The text was updated successfully, but these errors were encountered: