After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 756022 - Error when watching videos and coming to advertisements
Error when watching videos and coming to advertisements
Status: RESOLVED NOTGNOME
Product: epiphany
Classification: Core
Component: General
3.14.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-10-03 22:06 UTC by Alfred Hanny
Modified: 2015-10-04 20:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gst log file (422.44 KB, application/x-xz)
2015-10-04 02:03 UTC, Alfred Hanny
Details

Description Alfred Hanny 2015-10-03 22:06:03 UTC
Always, when watching videos on Youtube and there comes an advertisement,
the video stops and it displays: An error has occurred, please try again later.

I am forced to reload the page and get to the point where the error occurred.
The video then plays normally until the next advertisement comes and it again stops like described above.

I have no ad-blockers installed. This problem is never connected to network problems. There is no crash, only the video is stopped and error message is displayed. I could not find any error messages related to that problem in /var/log/messages.


Please let me know if you need further information.

Regards,
Alfred

--

Epiphany version: 3.14.1-1 amd64

Operating system: 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u4 (2015-09-19) x86_64 GNU/Linux
Comment 1 Michael Catanzaro 2015-10-03 23:29:13 UTC
For a workaround, you can open Preferences and check Allow Advertisements.

*** This bug has been marked as a duplicate of bug 754954 ***
Comment 2 Diogo Campos 2015-10-03 23:32:35 UTC
He said adblocker is already OFF, Michael.
Comment 3 Diogo Campos 2015-10-03 23:33:07 UTC
Ah, nevermind...
Comment 4 Diogo Campos 2015-10-03 23:45:25 UTC
...or not.

Maybe I missing something, or the English language is tricking me, but:

He doesn't seem to have the AdBlocker enabled, because he wrote "I have no ad-blockers installed" and because in Web 3.14 the AdBlocker is OFF by default.

Anyway, can you (as Michael told) check if 'App Menu' -> 'Preferences' -> 'Allow Advertisements' is checked or unchecked, Alfred?
Comment 5 Alfred Hanny 2015-10-04 00:18:53 UTC
I checked the settings for web content:
 allow popup windows is checked
 allow advertisements is checked
 enable plugins is checked

(In reply to Diogo Campos from comment #4)
> ...or not.
> 
> Maybe I missing something, or the English language is tricking me, but:
> 
> He doesn't seem to have the AdBlocker enabled, because he wrote "I have no
> ad-blockers installed" and because in Web 3.14 the AdBlocker is OFF by
> default.
> 
> Anyway, can you (as Michael told) check if 'App Menu' -> 'Preferences' ->
> 'Allow Advertisements' is checked or unchecked, Alfred?
Comment 6 Diogo Campos 2015-10-04 00:26:18 UTC
(In reply to Alfred Hanny from comment #5)
> I checked the settings for web content:
>  allow popup windows is checked
>  allow advertisements is checked
>  enable plugins is checked

Good! Thank you.

As you are willing to help, can you also give us one (or more) links where this always happen (or, at least, happened)?
Comment 7 Alfred Hanny 2015-10-04 01:00:07 UTC
This are two of them:
https://www.youtube.com/watch?v=njW4ln5ob04
https://www.youtube.com/watch?v=MSK8klRI5Zk

There's one thing that I overlooked: I used the command 'dmesg' and found the following line;

[19829.126759] traps: plugin-containe[5573] general protection ip:7f0ae3c5f3d5 sp:7ffca9f227c8 error:0 in libglib-2.0.so.0.4200.1[7f0ae3bd1000+10c000]

Sorry, but I have no idea if this happened when the error in epiphany occurred.

I'm listening to audio books. These videos are rather large (~7 hours). Just now I increased (in preferences) the disk space for temporary files to 512 MB but the problem persists. I checked that I have enough hard disk space available and I also monitored the memory consumption while playing the video and there's always plenty of RAM available.

Thanks for trying to help.
Comment 8 Michael Catanzaro 2015-10-04 01:28:14 UTC
OK, well it seems very likely to be a duplicate of the other YouTube advertisements bug, but seems not. :p

We'll probably wind up asking you to move this to WebKit Bugzilla but for a start, please try running this to get a debug log, so we can maybe have something more for a bug report:

GST_DEBUG_NO_COLOR=1 GST_DEBUG=3,webkit*:5 epiphany ... 2> gst.log

> Just now I increased (in preferences) the disk space for temporary files to 512 MB but the problem persists.

FYI, that setting isn't hooked up to anything so it's since been removed.
Comment 9 Alfred Hanny 2015-10-04 02:03:45 UTC
Created attachment 312617 [details]
gst log file

Log file created by using this command:

GST_DEBUG_NO_COLOR=1 GST_DEBUG=3,webkit*:5 epiphany https://www.youtube.com/watch?v=njW4ln5ob04 2> gst.log

and closed the browser after the first occurrence of the error.

Then I compressed the log file like this: tar cvfJ gst.log.tar.xz gst.log
Comment 10 Diogo Campos 2015-10-04 02:33:59 UTC
I can't reproduce this (advertisements work fine).
    - Web 3.18
    - WebKitGTK 2.10
    - Gstreamer 1.5.91 (no 'RPMFusion')
    - Fedora 23
    - 'Allow Advertisements' checked.
    - No 'Flash' plugin.
Comment 11 Alfred Hanny 2015-10-04 02:59:40 UTC
I would not mind working or not working ads, if only the video would not stop
and force me to reload the page and find the position where it stopped.

I tried using the browser iceweasel, but that uses adobe flash plugin which crashes constantly so I can not watch any video.

Maybe you have advice for me, what to do?
Comment 12 Michael Catanzaro 2015-10-04 03:12:52 UTC
I've CCed Philippe; maybe he might spot something in the log.

I guess this is bad:

0:15:27.789981077  8850       0xf7ea00 DEBUG           webkitwebsrc /tmp/buildd/webkit2gtk-2.6.2+dfsg1/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:551:webKitWebSrcChangeState:<source> PAUSED->READY
0:15:27.797857321  8850       0xf7ea00 DEBUG           webkitwebsrc /tmp/buildd/webkit2gtk-2.6.2+dfsg1/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:441:webKitWebSrcStop:<source> Stopped request

And this at the top looks like an unrelated bug with the Flash plugin:

Error scanning plugin /usr/lib/mozilla/plugins/flash-mozilla.so, /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitPluginProcess2 returned 256 exit status

(In reply to Diogo Campos from comment #10)
> I can't reproduce this (advertisements work fine).
>     - Web 3.18
>     - WebKitGTK 2.10
>     - Gstreamer 1.5.91 (no 'RPMFusion')
>     - Fedora 23
>     - 'Allow Advertisements' checked.
>     - No 'Flash' plugin.

Same for me with the F22 stack. I am going to leave this as NEEDINFO. Alfred, when your distro gets WebKitGTK+ 2.8 or 2.10, please try again... I think there's a good chance it's been fixed in the past year. (Also, be aware that it's not safe to use WebKitGTK+ 2.6.2 anymore. I guess that's Debian, which unfortunately doesn't provide security updates for WebKit packages.)
Comment 13 Diogo Campos 2015-10-04 03:16:30 UTC
(In reply to Alfred Hanny from comment #11)
> Maybe you have advice for me, what to do?

You can, at least:

- Try to un-check 'Allow Advertisements' (so, the browser can try to skip the ads and play the videos normally).

Or

- Look if this page ( https://www.youtube.com/html5 ) have a "switch", and, if yes, change the state of it and try playing the videos again. (you can try this with Iceweasel, too).

Or

- Try to open the video links with Totem (or a video player of your preference).

Or

- Try to install Epiphany 3.16 from Debian Testing repo (caution, advanced stuff, can break a lot of things).

----------

By the way, just to confirm, do you have 'Flash' plugin installed?
Comment 14 Diogo Campos 2015-10-04 03:48:41 UTC
(In reply to Alfred Hanny from comment #11)
> Maybe you have advice for me, what to do?

Oh, and another (very good) try is to install and use Chromium, from the Debian repos. It is the current upstream version. And is "from Google". So, YouTube should work pretty fine in it.
Comment 15 Alfred Hanny 2015-10-04 04:00:08 UTC
No, the only plugin I found on my system related to browsers is this:

browser-plugin-lightspark 0.7.2-6 amd64

Looking for software related to webkit with 'dpkg -l|grep -i webkit' gives:

ii  gir1.2-javascriptcoregtk-3.0:amd64     2.4.8-2                              amd64        JavaScript engine library from WebKitGTK+ - GObject introspection data
ii  gir1.2-webkit-3.0:amd64                2.4.8-2                              amd64        Web content engine library for GTK+ - GObject introspection data
ii  libjavascriptcoregtk-3.0-0:amd64       2.4.8-2                              amd64        JavaScript engine library from WebKitGTK+
ii  libjavascriptcoregtk-4.0-18:amd64      2.6.2+dfsg1-4                        amd64        JavaScript engine library from WebKitGTK+
ii  libqtwebkit4:amd64                     2.3.4.dfsg-3                         amd64        Web content engine library for Qt
ii  libwebkit2gtk-4.0-37:amd64             2.6.2+dfsg1-4                        amd64        Web content engine library for GTK+
ii  libwebkitgtk-3.0-0:amd64               2.4.8-2                              amd64        Web content engine library for GTK+
ii  libwebkitgtk-3.0-common                2.4.8-2                              all          Web content engine library for GTK+ - data files

Michael mentioned that its not safe to use WebKitGTK+ 2.6.2, so I just tried your suggestion using Totem which seems works perfect for me.

I will try with Chromium the other day.

Thank you for your help.
Comment 16 Diogo Campos 2015-10-04 04:19:35 UTC
(In reply to Alfred Hanny from comment #15)
> No, the only plugin I found on my system related to browsers is this:
> 
> browser-plugin-lightspark 0.7.2-6 amd64

This is an "open Flash replacement"[1]. If you continue to have problems with browsers, try uninstalling it.

[1]: https://en.wikipedia.org/wiki/Lightspark

> Michael mentioned that its not safe to use WebKitGTK+ 2.6.2

Yes, definitely. It is a version from 1 year ago: http://webkitgtk.org/news.html

> so I just tried
> your suggestion using Totem which seems works perfect for me.

Great!

> I will try with Chromium the other day.

Good luck.
This extension is awesome, by the way: https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm

> Thank you for your help.
Thank you for your time and Bug Report. S2.
Comment 17 Michael Catanzaro 2015-10-04 14:45:08 UTC
Since it works in Totem it's a WebKit bug, which can be reported on bugzilla.webkit.org, Media Elements component, prefix the title with [GStreamer]... but again, please don't report until you test to see if it's fixed in a newer version. :)
Comment 18 Alfred Hanny 2015-10-04 20:15:06 UTC
I see. Again, thank you all so much for your help!