#917519 Unable to open subsequent YouTube videos when not starting a new session

Package:
vlc
Source:
vlc
Description:
multimedia player and streamer
Submitter:
Andoru
Date:
2018-12-28 09:36:07 UTC
Severity:
normal
#917519#5
Date:
2018-12-28 04:58:41 UTC
From:
To:
I started noticing issues with playing YouTube videos through VLC as soon
as I upgraded to version 3.0.4-4. When trying to play multiple YouTube
videos, one after the other, VLC throws in an error saying it's unable to
open the link.
This happens as follows:
Open new VLC session -> Paste in a video URL -> Plays video -> The video
ends -> Paste in another video URL -> Error -> Paste the same video URL, or
another one -> Error -> Rinse & Repeat -> Error

This however doesn't happen if I enqueue the video URLs, for example:
Open new VLC session -> Paste in a video URL -> Pauses video playback after
it starts -> Paste in a video URL (or multiple ones), and hit 'Enqueue'
instead of Play -> Resumes playback -> Video ends -> Plays next video
without errors

Another thing that curiously doesn't trigger the error is if:
Open new VLC session -> Paste in a video URL -> Plays video -> Stops the
video before it finishes -> Hit play again, making VLC replay the same video

Hopefully my explanation makes sense.
Not sure if this is an issue only at my end, or a proper bug.

Here's what's displayed in the error window:

Here's the verbose log from the "Messages" window:

https://hastebin.com/raw/edobizocov

#917519#10
Date:
2018-12-28 09:33:58 UTC
From:
To:
Just in case:

| main debug: processing request item: watch?v=hz_mMLhUinw, node: Playlist, skip: 0
| main debug: rebuilding array of current - root Playlist
| main debug: rebuild done - 7 items, index 6
| main debug: starting playback of new item
| main debug: resyncing on watch?v=hz_mMLhUinw
| main debug: watch?v=hz_mMLhUinw is at 6
| main debug: creating new input thread
| main debug: Creating an input for 'watch?v=hz_mMLhUinw'
| main debug: requesting art for new input thread
| main debug: using timeshift granularity of 50 MiB
| main debug: using default timeshift path
| main debug: `https://www.youtube.com/watch?v=hz_mMLhUinw' gives access `https' demux `any' path `www.youtube.com/watch?v=hz_mMLhUinw'
| main debug: creating demux: access='https' demux='any' location='www.youtube.com/watch?v=hz_mMLhUinw' file='(null)'
| main debug: looking for access_demux module matching "https": 17 candidates
| main debug: no access_demux modules matched
| main debug: creating access: https://www.youtube.com/watch?v=hz_mMLhUinw
| main debug: looking for access module matching "https": 28 candidates
| main debug: looking for tls client module matching "any": 1 candidates
| gnutls debug: using GnuTLS version 3.6.5
| main debug: looking for meta fetcher module matching "any": 1 candidates
| lua debug: Trying Lua scripts in /home/andoru/.local/share/vlc/lua/meta/fetcher
| lua debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/fetcher
| lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
| main debug: no meta fetcher modules matched
| main debug: looking for art finder module matching "any": 2 candidates
| lua debug: Trying Lua scripts in /home/andoru/.local/share/vlc/lua/meta/art
| lua debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art
| lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
| lua debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
| lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
| lua debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
| lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
| lua debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
| lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
| lua debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
| lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
| main debug: no art finder modules matched
| qt debug: IM: Setting an input
| gnutls debug: loaded 133 trusted CAs from system
| main debug: using tls client module "gnutls"
| main debug: resolving www.youtube.com ...
| gnutls debug: TLS handshake: Resource temporarily unavailable, try again.
| gnutls debug: TLS handshake: Success.
| gnutls debug: - safe renegotiation (RFC5746) enabled
| gnutls debug: - extended master secret (RFC7627) enabled
| gnutls debug: - false start (RFC7918) enabled
| http debug: out SETTINGS (0x04) frame of 30 bytes, flags 0x00, global
| http debug: out HEADERS (0x01) frame of 251 bytes, flags 0x05, stream 1
| http debug: in SETTINGS (0x04) frame of 18 bytes, flags 0x00, global
| http debug: setting: Concurrent streams (0x0003): 100
| http debug: setting: Initial window size (0x0004): 1048576
| http debug: setting: Header list size (0x0006): 16384
| http debug: out SETTINGS (0x04) frame of 0 bytes, flags 0x01, global
| http error: peer stream 1 error: Cancellation (0x8)
| http debug: local stream 1 shut down
| http debug: out RST_STREAM (0x03) frame of 4 bytes, flags 0x00, stream 1
| http debug: local shutdown
| http debug: out GOAWAY (0x07) frame of 8 bytes, flags 0x00, global
| access error: HTTP connection failure
| main debug: no access modules matched
| main debug: dead input
| main debug: changing item without a request (current 6/7)
| main debug: nothing to play
| qt debug: IM: Deleting the input

#917519#15
Date:
2018-12-28 09:33:58 UTC
From:
To:
Just in case:

| main debug: processing request item: watch?v=hz_mMLhUinw, node: Playlist, skip: 0
| main debug: rebuilding array of current - root Playlist
| main debug: rebuild done - 7 items, index 6
| main debug: starting playback of new item
| main debug: resyncing on watch?v=hz_mMLhUinw
| main debug: watch?v=hz_mMLhUinw is at 6
| main debug: creating new input thread
| main debug: Creating an input for 'watch?v=hz_mMLhUinw'
| main debug: requesting art for new input thread
| main debug: using timeshift granularity of 50 MiB
| main debug: using default timeshift path
| main debug: `https://www.youtube.com/watch?v=hz_mMLhUinw' gives access `https' demux `any' path `www.youtube.com/watch?v=hz_mMLhUinw'
| main debug: creating demux: access='https' demux='any' location='www.youtube.com/watch?v=hz_mMLhUinw' file='(null)'
| main debug: looking for access_demux module matching "https": 17 candidates
| main debug: no access_demux modules matched
| main debug: creating access: https://www.youtube.com/watch?v=hz_mMLhUinw
| main debug: looking for access module matching "https": 28 candidates
| main debug: looking for tls client module matching "any": 1 candidates
| gnutls debug: using GnuTLS version 3.6.5
| main debug: looking for meta fetcher module matching "any": 1 candidates
| lua debug: Trying Lua scripts in /home/andoru/.local/share/vlc/lua/meta/fetcher
| lua debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/fetcher
| lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
| main debug: no meta fetcher modules matched
| main debug: looking for art finder module matching "any": 2 candidates
| lua debug: Trying Lua scripts in /home/andoru/.local/share/vlc/lua/meta/art
| lua debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art
| lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
| lua debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
| lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
| lua debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
| lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
| lua debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
| lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
| lua debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
| lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
| main debug: no art finder modules matched
| qt debug: IM: Setting an input
| gnutls debug: loaded 133 trusted CAs from system
| main debug: using tls client module "gnutls"
| main debug: resolving www.youtube.com ...
| gnutls debug: TLS handshake: Resource temporarily unavailable, try again.
| gnutls debug: TLS handshake: Success.
| gnutls debug: - safe renegotiation (RFC5746) enabled
| gnutls debug: - extended master secret (RFC7627) enabled
| gnutls debug: - false start (RFC7918) enabled
| http debug: out SETTINGS (0x04) frame of 30 bytes, flags 0x00, global
| http debug: out HEADERS (0x01) frame of 251 bytes, flags 0x05, stream 1
| http debug: in SETTINGS (0x04) frame of 18 bytes, flags 0x00, global
| http debug: setting: Concurrent streams (0x0003): 100
| http debug: setting: Initial window size (0x0004): 1048576
| http debug: setting: Header list size (0x0006): 16384
| http debug: out SETTINGS (0x04) frame of 0 bytes, flags 0x01, global
| http error: peer stream 1 error: Cancellation (0x8)
| http debug: local stream 1 shut down
| http debug: out RST_STREAM (0x03) frame of 4 bytes, flags 0x00, stream 1
| http debug: local shutdown
| http debug: out GOAWAY (0x07) frame of 8 bytes, flags 0x00, global
| access error: HTTP connection failure
| main debug: no access modules matched
| main debug: dead input
| main debug: changing item without a request (current 6/7)
| main debug: nothing to play
| qt debug: IM: Deleting the input