realm authentication

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
tendouser
New Cone
New Cone
Posts: 3
Joined: 17 Jun 2018 06:29
VLC version: 3.0.3-1-0-gc2bb75926
Operating System: debian
Location: panama

realm authentication

Postby tendouser » 12 Oct 2018 05:55

[00007fec380012a0] access stream error: HTTP 401 error
[00007fec380012a0] http stream error: authentication failed without realm

Can anybody help me how to authenticate an IPTV m3u8 please?

Cheers

Rémi Denis-Courmont
Developer
Developer
Posts: 15312
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: realm authentication

Postby Rémi Denis-Courmont » 13 Oct 2018 09:06

Cannot say with incomplete logs, but it looks like you need a password.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

tendouser
New Cone
New Cone
Posts: 3
Joined: 17 Jun 2018 06:29
VLC version: 3.0.3-1-0-gc2bb75926
Operating System: debian
Location: panama

Re: realm authentication

Postby tendouser » 15 Oct 2018 06:01

-- logger module started --
main debug: VLC media player - 3.0.3 Vetinari
main debug: Copyright © 1996-2018 the VideoLAN team
main debug: revision 3.0.3-1-0-gc2bb759264
main debug: configured with ./configure '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--disable-maintainer-mode' '--disable-dependency-tracking' '--config-cache' '--disable-update-check' '--enable-fast-install' '--docdir=/usr/share/doc/vlc' '--with-binary-version=3.0.3-1-0+deb9u1' '--enable-a52' '--enable-aa' '--enable-bluray' '--enable-avahi' '--enable-caca' '--enable-chromaprint' '--enable-chromecast' '--enable-dbus' '--enable-dca' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freerdp' '--enable-freetype' '--enable-fribidi' '--enable-gles2' '--enable-gnutls' '--enable-harfbuzz' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libmpeg2' '--enable-libxml2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-matroska' '--enable-mod' '--enable-mpc' '--enable-mpg123' '--enable-mtp' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-opus' '--enable-pulse' '--enable-qt' '--enable-realrtsp' '--enable-samplerate' '--enable-sdl-image' '--enable-sftp' '--enable-shine' '--enable-shout' '--enable-skins2' '--enable-sndio' '--enable-soxr' '--enable-speex' '--enable-svg' '--enable-svgdec' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vdpau' '--enable-vnc' '--enable-vorbis' '--enable-x264' '--enable-x265' '--enable-zvbi' '--with-kde-solid=/usr/share/solid/actions/' '--disable-aribsub' '--disable-d3d11va' '--disable-decklink' '--disable-directx' '--disable-dsm' '--disable-dxva2' '--disable-fdkaac' '--disable-fluidlite' '--disable-goom' '--disable-gst-decode' '--disable-libplacebo' '--disable-libtar' '--disable-macosx' '--disable-macosx-avfoundation' '--disable-macosx-qtkit' '--disable-mfx' '--disable-opencv' '--disable-projectm' '--disable-schroedinger' '--disable-sparkle' '--disable-srt' '--disable-telx' '--disable-vpx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-dc1394' '--enable-dv1394' '--enable-linsys' '--enable-nfs' '--enable-omxil' '--enable-udev' '--enable-v4l2' '--enable-wayland' '--enable-libva' '--enable-vcd' '--enable-smbclient' '--disable-oss' '--enable-crystalhd' '--enable-mmx' '--enable-sse' '--disable-neon' '--disable-altivec' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/vlc-SXzg1C/vlc-3.0.3-1=. -fstack-protector-strong -Wformat -Werror=format-security ' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fdebug-prefix-map=/build/vlc-SXzg1C/vlc-3.0.3-1=. -fstack-protector-strong -Wformat -Werror=format-security ' 'OBJCFLAGS=-g -O2 -fdebug-prefix-map=/build/vlc-SXzg1C/vlc-3.0.3-1=. -fstack-protector-strong -Wformat -Werror=format-security'
main debug: searching plug-in modules
main debug: loading plugins cache file /usr/lib/x86_64-linux-gnu/vlc/plugins/plugins.dat
main debug: recursively browsing `/usr/lib/x86_64-linux-gnu/vlc/plugins'
main debug: plug-ins loaded: 514 modules
main debug: opening config file (/home/dante-user/.config/vlc/vlcrc)
main debug: looking for logger module matching "any": 4 candidates
file debug: opening logfile `vlc-log.txt'
main debug: using logger module "file"
main debug: translation test: code is "en_GB"
main debug: looking for keystore module matching "memory": 4 candidates
main debug: using keystore module "memory"
main debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU
main debug: Creating an input for 'Media Library'
main debug: Input is a meta file: disabling unneeded options
main debug: using timeshift granularity of 50 MiB
main debug: using default timeshift path
main debug: `file/directory:///home/dante-user/.local/share/vlc/ml.xspf' gives access `file' demux `directory' path `/home/dante-user/.local/share/vlc/ml.xspf'
main debug: creating demux: access='file' demux='directory' location='/home/dante-user/.local/share/vlc/ml.xspf' file='/home/dante-user/.local/share/vlc/ml.xspf'
main debug: looking for access_demux module matching "file": 17 candidates
main debug: no access_demux modules matched
main debug: creating access: file:///home/dante-user/.local/share/vlc/ml.xspf
main debug: (path: /home/dante-user/.local/share/vlc/ml.xspf)
main debug: looking for access module matching "file": 27 candidates
main debug: using access module "filesystem"
main debug: looking for stream_filter module matching "prefetch,cache_read": 26 candidates
cache_read debug: Using stream method for AStream*
cache_read debug: starting pre-buffering
cache_read debug: received first data after 0 ms
cache_read debug: pre-buffering done 296 bytes in 0s - 5781 KiB/s
main debug: using stream_filter module "cache_read"
main debug: looking for stream_filter module matching "any": 26 candidates
playlist debug: using XSPF playlist reader
main debug: using stream_filter module "playlist"
main debug: stream filter added to 0x559fe05af890
main debug: looking for stream_filter module matching "any": 26 candidates
main debug: no stream_filter modules matched
main debug: looking for stream_directory module matching "any": 1 candidates
main debug: no stream_directory modules matched
main debug: attachment of directory-extractor failed for file:///home/dante-user/.local/share/vlc/ml.xspf
main debug: looking for stream_filter module matching "record": 26 candidates
main debug: using stream_filter module "record"
main debug: creating demux: access='file' demux='directory' location='/home/dante-user/.local/share/vlc/ml.xspf' file='/home/dante-user/.local/share/vlc/ml.xspf'
main debug: looking for demux module matching "directory": 55 candidates
main debug: using demux module "directory"
main debug: looking for meta reader module matching "any": 2 candidates
lua debug: Trying Lua scripts in /home/dante-user/.local/share/vlc/lua/meta/reader
lua debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/reader
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/reader/filename.luac
lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
main debug: no meta reader modules matched
main debug: `file/directory:///home/dante-user/.local/share/vlc/ml.xspf' successfully opened
main debug: looking for xml reader module matching "any": 1 candidates
main debug: using xml reader module "xml"
main debug: EOF reached
main debug: removing module "directory"
main debug: removing module "record"
main debug: removing module "playlist"
main debug: removing module "cache_read"
main debug: removing module "filesystem"
main debug: creating audio output
main debug: looking for audio output module matching "any": 6 candidates
vlcpulse debug: using library version 10.0.0
vlcpulse debug: (compiled with version 10.0.0, protocol 32)
vlcpulse debug: connected locally to unix:/run/user/1000/pulse/native as client #92
vlcpulse debug: using protocol 32, server protocol 32
pulse debug: adding sink 0: alsa_output.pci-0000_00_1b.0.analog-stereo (Built-in Audio Analog Stereo)
main debug: using audio output module "pulse"
main debug: keeping audio output
main debug: looking for interface module matching "dbus,none": 18 candidates
dbus debug: listening on dbus as: org.mpris.MediaPlayer2.vlc.instance14043
main debug: using interface module "dbus"
main debug: looking for interface module matching "hotkeys,none": 18 candidates
main debug: using interface module "hotkeys"
main debug: looking for interface module matching "globalhotkeys,none": 18 candidates
main debug: using interface module "xcb_hotkeys"
main: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
main debug: looking for interface module matching "any": 18 candidates
main debug: looking for extension module matching "any": 1 candidates
lua debug: Opening Lua Extension module
lua debug: Trying Lua scripts in /home/dante-user/.local/share/vlc/lua/extensions
lua debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/extensions
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/extensions/VLSub.luac
lua debug: Scanning Lua script /usr/lib/x86_64-linux-gnu/vlc/lua/extensions/VLSub.luac
lua debug: Script /usr/lib/x86_64-linux-gnu/vlc/lua/extensions/VLSub.luac has the following capability flags: 0x5
lua debug: Trying Lua scripts in /usr/share/vlc/lua/extensions
main debug: using extension module "lua"
main debug: looking for services probe module matching "any": 11 candidates
main debug: no services probe modules matched
qt debug: Sorting by column -1, order 0
qt debug: Sorting by column -1, order 0
main debug: using interface module "qt"
main debug: processing request item: null, node: Playlist, skip: 0
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 1 items, index -1
main debug: starting playback of new item
main debug: resyncing on 1375.m3u8
main debug: 1375.m3u8 is at 0
main debug: creating new input thread
main debug: Creating an input for '1375.m3u8'
main debug: requesting art for new input thread
main debug: using timeshift granularity of 50 MiB
main debug: using default timeshift path
main debug: `http://195.154.255.148:25461/live/YkvGJ ... /1375.m3u8' gives access `http' demux `any' path `195.154.255.148:25461/live/YkvGJ2rVKT/YkvGJ2rVKT/1375.m3u8'
main debug: creating demux: access='http' demux='any' location='195.154.255.148:25461/live/YkvGJ2rVKT/YkvGJ2rVKT/1375.m3u8' file='(null)'
main debug: looking for access_demux module matching "http": 17 candidates
main debug: no access_demux modules matched
main debug: creating access: http://195.154.255.148:25461/live/YkvGJ ... /1375.m3u8
main debug: looking for access module matching "http": 27 candidates
main debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in /home/dante-user/.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/dante-user/.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
main debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in /home/dante-user/.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/dante-user/.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: Trying Lua playlist script /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: Trying Lua playlist script /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
http debug: resolving 195.154.255.148 ...
http debug: outgoing request:
GET /live/YkvGJ2rVKT/YkvGJ2rVKT/1375.m3u8 HTTP/1.1
Host: 195.154.255.148:25461
Accept: */*
Accept-Language: en_GB
User-Agent: VLC/3.0.3 LibVLC/3.0.3
Range: bytes=0-


qt debug: IM: Setting an input
http debug: incoming response:
HTTP/1.1 401 Unauthorized
Server: nginx
Date: Mon, 15 Oct 2018 04:31:56 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Access-Control-Allow-Origin: *


access error: HTTP 401 error
http debug: querying proxy for http://195.154.255.148:25461/live/YkvGJ ... /1375.m3u8
http debug: no proxy
http debug: http: server='195.154.255.148' port=25461 file='/live/YkvGJ2rVKT/YkvGJ2rVKT/1375.m3u8'
main debug: net: connecting to 195.154.255.148 port 25461
main debug: connection succeeded (socket = 25)
http debug: sending request:
GET /live/YkvGJ2rVKT/YkvGJ2rVKT/1375.m3u8 HTTP/1.0
Host: 195.154.255.148:25461
User-Agent: VLC/3.0.3 LibVLC/3.0.3
Icy-MetaData: 1


http debug: HTTP answer code 401
http debug: Server: nginx
http debug: Content-Type: text/html; charset=UTF-8
http error: authentication failed without realm
main debug: no access modules matched
main debug: dead input
main debug: changing item without a request (current 0/1)
main debug: nothing to play
qt debug: IM: Deleting the input

Rémi Denis-Courmont
Developer
Developer
Posts: 15312
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: realm authentication

Postby Rémi Denis-Courmont » 15 Oct 2018 18:05

This is a server (or transparent proxy) bug.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

tendouser
New Cone
New Cone
Posts: 3
Joined: 17 Jun 2018 06:29
VLC version: 3.0.3-1-0-gc2bb75926
Operating System: debian
Location: panama

Re: realm authentication

Postby tendouser » 15 Oct 2018 18:37

This is a server (or transparent proxy) bug.
is REALM a kind of authentication method?

Cheers!

Rémi Denis-Courmont
Developer
Developer
Posts: 15312
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: realm authentication

Postby Rémi Denis-Courmont » 15 Oct 2018 19:56

The server fails to specify the authentication method, and no.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

DGUERRERO
New Cone
New Cone
Posts: 1
Joined: 08 May 2019 04:04

Re: realm authentication

Postby DGUERRERO » 08 May 2019 04:22

Sorry for reviving an "old" thread but i'm having the same issue with 3.0.4, please see log attached: (username, password stream and server changed due privacy)

Code: Select all

[000055c263e095a0] main playlist debug: creating new input thread [00007f8010000c40] main input debug: Creating an input for 'stream' [000055c263e095a0] main playlist debug: requesting art for new input thread [00007f8010000c40] main input debug: using timeshift granularity of 50 MiB [00007f8010000c40] main input debug: using default timeshift path [00007f8010000c40] main input debug: `http://server.com:8080/username/Password/stream' gives access `http' demux `any' path `server.com:8080/username/Password/stream' [00007f800c0020b0] main input source debug: creating demux: access='http' demux='any' location='server.com:8080/username/Password/stream' file='(null)' [00007f800c002490] main demux debug: looking for access_demux module matching "http": 17 candidates [00007f800c002490] main demux debug: no access_demux modules matched [00007f800c001500] main stream debug: creating access: http://server.com:8080/username/Password/stream [00007f800c001500] main stream debug: looking for access module matching "http": 28 candidates [00007f8014000e20] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates [00007f8014000e20] lua meta fetcher debug: Trying Lua scripts in /home/dguerrero/.local/share/vlc/lua/meta/fetcher ... (some output ommited due to char limit)... [00007f8014000e20] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art [00007f8014000e20] main art finder debug: no art finder modules matched [00007f800c001500] http stream debug: resolving server.com ... [00007f800c001500] http stream debug: outgoing request: GET /username/Password/stream HTTP/1.1 Host: server.com:8080 Accept: */* Accept-Language: en_US User-Agent: VLC/3.0.4 LibVLC/3.0.4 Cookie: __cfduid=d1301b428aedcd11b9e5dcbfbfb2561241557279183 Range: bytes=0- uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu [00007f800c001500] http stream debug: incoming response: HTTP/1.1 401 Unauthorized Date: Wed, 08 May 2019 01:54:21 GMT Content-Type: text/html; charset=UTF-8 Transfer-Encoding: chunked Connection: keep-alive Access-Control-Allow-Origin: * Server: cloudflare CF-RAY: 4d37ce2548e25e0e-BNA [00007f800c001500] access stream error: HTTP 401 error [00007f800c001500] http stream debug: connection failed [00007f800c001500] http stream debug: querying proxy for http://server.com:8080/username/Password/stream [00007f800c001500] http stream debug: no proxy [00007f800c001500] http stream debug: http: server='server.com' port=8080 file='/username/Password/stream' [00007f800c001500] main stream debug: net: connecting to server.com port 8080 [00007f800c001500] main stream debug: connection succeeded (socket = 21) [00007f800c001500] http stream debug: sending request: GET /username/Password/stream HTTP/1.0 Host: server.com:8080 User-Agent: VLC/3.0.4 LibVLC/3.0.4 Icy-MetaData: 1 [00007f800c001500] http stream debug: HTTP answer code 401 [00007f800c001500] http stream debug: Content-Type: text/html; charset=UTF-8 [00007f800c001500] http stream debug: Server: cloudflare [00007f800c001500] http stream error: authentication failed without realm [00007f800c001500] main stream debug: no access modules matched [000055c263e095a0] main playlist debug: dead input [000055c263e095a0] main playlist debug: changing item without a request (current 0/1) [000055c263e095a0] main playlist debug: nothing to play [000055c263ee25f0] qt interface debug: IM: Deleting the input
the weird thing is i have an old machine with 2.2.7 and works without issues. There's any way to further troubleshoot and fix the issue? I've tried the suggestions from other threads ( [url]https://forum.videolan.org/viewtopic.php?t=129392[/url] ) suggesting to add the username and password to the URL but didn't worked either


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: Gurujeet and 60 guests