Streaming video in VLC causes authentication problem after upgrade

*nix specific usage questions
rrrssssss
New Cone
New Cone
Posts: 8
Joined: 19 Jan 2018 03:32

Streaming video in VLC causes authentication problem after upgrade

Postby rrrssssss » 19 Jan 2018 03:46

Hello Forum,

After version 3.0.0.0-0-35 VLC no longer streams the live image from my Foscam IP camera using the http protocol, from rpmfusion and unifiedRPMs in Fedora.

http://username:password@camerahostname:portnumber/videostream.cgi gives me an 401 error message (authentication problem)

http://username:@camerahostname:portnumber/videostream.cgi also gives me the 401 error with no dialog box popping up asking for a password like it used to do.

I might add the camera streams perfectly in Firefox browser

Would someone please help.

Roy
Last edited by rrrssssss on 19 Jan 2018 14:15, edited 1 time in total.

chouquette
Developer
Developer
Posts: 291
Joined: 15 Apr 2010 00:54

Re: Streaming video in VLC causes authentication problem after upgrade

Postby chouquette » 19 Jan 2018 10:07

What happens if you completely omit the credentials from the URL? Does a dialog pops up and ask you for them?

Could you provide the logs?

rrrssssss
New Cone
New Cone
Posts: 8
Joined: 19 Jan 2018 03:32

Re: Streaming video in VLC causes authentication problem after upgrade

Postby rrrssssss » 19 Jan 2018 13:59

vlc -vvv http://camerahostname:hostname/videostream.cgi (no dialog box appears asking for username and password)

Code: Select all

[000055e884abba30] main libvlc debug: plug-ins loaded: 479 modules [000055e884abba30] main libvlc debug: opening config file (/home/roy/.config/vlc/vlcrc) [000055e884abbd70] main logger debug: looking for logger module matching "any": 4 candidates [000055e884abbd70] main logger debug: using logger module "console" [000055e884abba30] main libvlc debug: translation test: code is "C" [000055e884abcc10] main keystore debug: looking for keystore module matching "memory": 4 candidates [000055e884abcc10] main keystore debug: using keystore module "memory" [000055e884abba30] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX FPU [000055e884abe880] main input debug: Creating an input for 'Media Library' [000055e884abe880] main input debug: Input is a meta file: disabling unneeded options [000055e884abe880] main input debug: using timeshift granularity of 50 MiB [000055e884abe880] main input debug: using default timeshift path [000055e884abe880] main input debug: `file/directory:///home/roy/.local/share/vlc/ml.xspf' gives access `file' demux `directory' path `/home/roy/.local/share/vlc/ml.xspf' [000055e884d21fe0] main input source debug: creating demux: access='file' demux='file' location='/home/roy/.local/share/vlc/ml.xspf' file='/home/roy/.local/share/vlc/ml.xspf' [000055e884b1f7e0] main demux debug: looking for access_demux module matching "file": 19 candidates [000055e884b1f7e0] main demux debug: no access_demux modules matched [000055e884abf370] main stream debug: creating access: file:///home/roy/.local/share/vlc/ml.xspf [000055e884abf370] main stream debug: (path: /home/roy/.local/share/vlc/ml.xspf) [000055e884abf370] main stream debug: looking for access module matching "file": 26 candidates [000055e884abf370] main stream debug: using access module "filesystem" [000055e884b44d70] main stream debug: looking for stream_filter module matching "prefetch,cache_read": 26 candidates [000055e884b44d70] cache_read stream debug: Using stream method for AStream* [000055e884b44d70] cache_read stream debug: starting pre-buffering [000055e884b44d70] cache_read stream debug: received first data after 0 ms [000055e884b44d70] cache_read stream debug: pre-buffering done 296 bytes in 0s - 10323 KiB/s [000055e884b44d70] main stream debug: using stream_filter module "cache_read" [000055e884b44f50] main stream debug: looking for stream_filter module matching "any": 26 candidates [000055e884b44f50] playlist stream debug: using XSPF playlist reader [000055e884b44f50] main stream debug: using stream_filter module "playlist" [000055e884b44f50] main stream debug: stream filter added to 0x55e884b44d70 [000055e884b455f0] main stream debug: looking for stream_filter module matching "any": 26 candidates [000055e884b455f0] main stream debug: no stream_filter modules matched [000055e884b1f7e0] main stream_directory debug: looking for stream_directory module matching "any": 1 candidates [000055e884b1f7e0] main stream_directory debug: no stream_directory modules matched [000055e884d21fe0] main input source debug: attachment of directory-extractor failed for file:///home/roy/.local/share/vlc/ml.xspf [000055e884b455f0] main stream debug: looking for stream_filter module matching "record": 26 candidates [000055e884b455f0] main stream debug: using stream_filter module "record" [000055e884d21fe0] main input source debug: creating demux: access='file' demux='directory' location='/home/roy/.local/share/vlc/ml.xspf' file='/home/roy/.local/share/vlc/ml.xspf' [000055e884b1f7e0] main demux debug: looking for demux module matching "directory": 54 candidates [000055e884b1f7e0] main demux debug: using demux module "directory" [000055e884afb440] main demux meta debug: looking for meta reader module matching "any": 2 candidates [000055e884afb440] lua demux meta debug: Trying Lua scripts in /home/roy/.local/share/vlc/lua/meta/reader [000055e884afb440] lua demux meta debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/reader [000055e884afb440] lua demux meta debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/reader/filename.luac [000055e884afb440] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [000055e884afb440] main demux meta debug: no meta reader modules matched [000055e884abe880] main input debug: `file/directory:///home/roy/.local/share/vlc/ml.xspf' successfully opened [000055e884c43c50] main xml reader debug: looking for xml reader module matching "any": 1 candidates [000055e884c43c50] main xml reader debug: using xml reader module "xml" [000055e884abe880] main input debug: EOF reached [000055e884b1f7e0] main demux debug: removing module "directory" [000055e884b455f0] main stream debug: removing module "record" [000055e884b44f50] main stream debug: removing module "playlist" [000055e884b44d70] main stream debug: removing module "cache_read" [000055e884abf370] main stream debug: removing module "filesystem" [000055e884ad5b20] main playlist debug: creating audio output [000055e884b1c7e0] main audio output debug: looking for audio output module matching "any": 5 candidates [000055e884b1c7e0] vlcpulse audio output debug: using library version 11.1.0 [000055e884b1c7e0] vlcpulse audio output debug: (compiled with version 11.1.0, protocol 32) [000055e884b1c7e0] vlcpulse audio output debug: connected locally to unix:/run/user/1000/pulse/native as client #340 [000055e884b1c7e0] vlcpulse audio output debug: using protocol 32, server protocol 32 [000055e884b1c7e0] pulse audio output debug: adding sink 0: alsa_output.pci-0000_00_1b.0.analog-stereo (Built-in Audio Analog Stereo) [000055e884b1c7e0] main audio output debug: using audio output module "pulse" [000055e884ad5b20] main playlist debug: keeping audio output [000055e884d32800] main interface debug: looking for interface module matching "dbus,none": 17 candidates [000055e884d32800] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc [000055e884d32800] main interface debug: using interface module "dbus" [000055e884d34b30] main interface debug: looking for interface module matching "hotkeys,none": 17 candidates [000055e884d34b30] main interface debug: using interface module "hotkeys" [000055e884d34f70] main interface debug: looking for interface module matching "globalhotkeys,none": 17 candidates [000055e884d34f70] main interface debug: using interface module "xcb_hotkeys" [000055e884abba30] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [000055e884d35360] main interface debug: looking for interface module matching "any": 17 candidates [000055e884d32800] dbus interface debug: Getting All properties [000055e884d32800] dbus interface debug: Getting All properties [00007f8b841e4430] main generic debug: looking for extension module matching "any": 1 candidates [00007f8b841e4430] lua generic debug: Opening Lua Extension module [00007f8b841e4430] lua generic debug: Trying Lua scripts in /home/roy/.local/share/vlc/lua/extensions [00007f8b841e4430] lua generic debug: Trying Lua playlist script /home/roy/.local/share/vlc/lua/extensions/vlsub.lua [00007f8b841e4430] lua generic debug: Scanning Lua script /home/roy/.local/share/vlc/lua/extensions/vlsub.lua [00007f8b841e4430] lua generic debug: Script /home/roy/.local/share/vlc/lua/extensions/vlsub.lua has the following capability flags: 0x5 [00007f8b841e4430] lua generic debug: Trying Lua scripts in /usr/lib64/vlc/lua/extensions [00007f8b841e4430] lua generic debug: Trying Lua playlist script /usr/lib64/vlc/lua/extensions/VLSub.luac [00007f8b841e4430] lua generic debug: Scanning Lua script /usr/lib64/vlc/lua/extensions/VLSub.luac [00007f8b841e4430] lua generic debug: Script /usr/lib64/vlc/lua/extensions/VLSub.luac has the following capability flags: 0x5 [00007f8b841e4430] lua generic debug: Trying Lua scripts in /usr/share/vlc/lua/extensions [00007f8b841e4430] main generic debug: using extension module "lua" [000055e884d35360] main interface debug: using interface module "qt" [000055e884ad5b20] main playlist debug: processing request item: null, node: Playlist, skip: 0 [000055e884ad5b20] main playlist debug: rebuilding array of current - root Playlist [000055e884ad5b20] main playlist debug: rebuild done - 1 items, index -1 [000055e884ad5b20] main playlist debug: starting playback of new item [000055e884ad5b20] main playlist debug: resyncing on videostream.cgi [000055e884ad5b20] main playlist debug: videostream.cgi is at 0 [000055e884ad5b20] main playlist debug: creating new input thread [00007f8b64000c40] main input debug: Creating an input for 'videostream.cgi' [000055e884ad5b20] main playlist debug: requesting art for new input thread [00007f8b64000c40] main input debug: using timeshift granularity of 50 MiB [00007f8b64000c40] main input debug: using default timeshift path [00007f8b64000c40] main input debug: `http://192.168.1.72:8008/videostream.cgi' gives access `http' demux `any' path `192.168.1.72:8008/videostream.cgi' [00007f8b5c000dc0] main input source debug: creating demux: access='http' demux='http' location='192.168.1.72:8008/videostream.cgi' file='(null)' [00007f8b5c000f60] main demux debug: looking for access_demux module matching "http": 19 candidates [00007f8b5c000f60] main demux debug: no access_demux modules matched [00007f8b5c001420] main stream debug: creating access: http://192.168.1.72:8008/videostream.cgi [00007f8b5c001420] main stream debug: looking for access module matching "http": 26 candidates [00007f8b54000be0] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates [00007f8b54000be0] lua meta fetcher debug: Trying Lua scripts in /home/roy/.local/share/vlc/lua/meta/fetcher [00007f8b5c001420] http stream debug: resolving 192.168.1.72 ... [00007f8b54000be0] lua meta fetcher debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/fetcher [00007f8b54000be0] lua meta fetcher debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher [00007f8b54000be0] main meta fetcher debug: no meta fetcher modules matched [000055e884d32800] dbus interface debug: Getting property Position [00007f8b54000be0] main art finder debug: looking for art finder module matching "any": 2 candidates [00007f8b54000be0] lua art finder debug: Trying Lua scripts in /home/roy/.local/share/vlc/lua/meta/art [00007f8b54000be0] lua art finder debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/art [00007f8b54000be0] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/00_musicbrainz.luac [000055e884d35360] qt interface debug: IM: Setting an input [00007f8b54000be0] lua art finder debug: skipping script (unmatched scope) /usr/lib64/vlc/lua/meta/art/00_musicbrainz.luac [00007f8b5c001420] http stream debug: outgoing request: GET /videostream.cgi HTTP/1.1 Host: 192.168.1.72:8008 Accept: */* Accept-Language: en_US User-Agent: VLC/4.0.0-dev LibVLC/4.0.0-dev Range: bytes=0- [00007f8b54000be0] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/01_googleimage.luac [00007f8b54000be0] lua art finder debug: skipping script (unmatched scope) /usr/lib64/vlc/lua/meta/art/01_googleimage.luac [00007f8b54000be0] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/02_frenchtv.luac [00007f8b54000be0] lua art finder debug: skipping script (unmatched scope) /usr/lib64/vlc/lua/meta/art/02_frenchtv.luac [00007f8b54000be0] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/03_lastfm.luac [00007f8b54000be0] lua art finder debug: skipping script (unmatched scope) /usr/lib64/vlc/lua/meta/art/03_lastfm.luac [00007f8b54000be0] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art [00007f8b54000be0] main art finder debug: no art finder modules matched [00007f8b54007210] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates [00007f8b54007210] lua meta fetcher debug: Trying Lua scripts in /home/roy/.local/share/vlc/lua/meta/fetcher [00007f8b54007210] lua meta fetcher debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/fetcher [00007f8b54007210] lua meta fetcher debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher [00007f8b54007210] main meta fetcher debug: no meta fetcher modules matched [00007f8b540084c0] main art finder debug: looking for art finder module matching "any": 2 candidates [00007f8b540084c0] lua art finder debug: Trying Lua scripts in /home/roy/.local/share/vlc/lua/meta/art [00007f8b540084c0] lua art finder debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/art [00007f8b540084c0] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/00_musicbrainz.luac [00007f8b540084c0] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/01_googleimage.luac [00007f8b540084c0] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/02_frenchtv.luac [00007f8b540084c0] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/03_lastfm.luac [00007f8b540084c0] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art [00007f8b540084c0] main art finder debug: no art finder modules matched [00007f8b5c001420] http stream debug: incoming response: HTTP/1.1 401 Unauthorized Server: Boa/0.94.13 Date: Fri, 19 Jan 2018 13:25:15 GMT WWW-Authenticate: Digest realm="ipcamera_000DC5DA02A5",qop="auth",algorithm=MD5,nonce="157cf16294e318fd88da68ae94d45ae4" Content-Type: text/html Content-Length: 140 Connection: close [00007f8b5c001420] access stream error: HTTP 401 error [00007f8b5c001420] http stream debug: querying proxy for http://192.168.1.72:8008/videostream.cgi [00007f8b5c001420] http stream debug: no proxy [00007f8b5c001420] http stream debug: http: server='192.168.1.72' port=8008 file='/videostream.cgi' [00007f8b5c001420] main stream debug: net: connecting to 192.168.1.72 port 8008 [00007f8b5c001420] main stream debug: connection succeeded (socket = 22) [00007f8b5c001420] http stream debug: sending request: GET /videostream.cgi HTTP/1.0 Host: 192.168.1.72:8008 User-Agent: VLC/4.0.0-dev LibVLC/4.0.0-dev Icy-MetaData: 1

rrrssssss
New Cone
New Cone
Posts: 8
Joined: 19 Jan 2018 03:32

Re: Streaming video in VLC causes authentication problem after upgrade

Postby rrrssssss » 19 Jan 2018 14:06

vlc -vvv http://@192.168.1.72:8008/videostream.cgi (dialog box pops up but vlc rejects username and password)

before putting username and password in dialog box

Code: Select all

[000056330e628a30] main libvlc debug: plug-ins loaded: 479 modules [000056330e628a30] main libvlc debug: opening config file (/home/roy/.config/vlc/vlcrc) [000056330e628d70] main logger debug: looking for logger module matching "any": 4 candidates [000056330e628d70] main logger debug: using logger module "console" [000056330e628a30] main libvlc debug: translation test: code is "C" [000056330e629c10] main keystore debug: looking for keystore module matching "memory": 4 candidates [000056330e629c10] main keystore debug: using keystore module "memory" [000056330e628a30] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX FPU [000056330e62b880] main input debug: Creating an input for 'Media Library' [000056330e62b880] main input debug: Input is a meta file: disabling unneeded options [000056330e62b880] main input debug: using timeshift granularity of 50 MiB [000056330e62b880] main input debug: using default timeshift path [000056330e62b880] main input debug: `file/directory:///home/roy/.local/share/vlc/ml.xspf' gives access `file' demux `directory' path `/home/roy/.local/share/vlc/ml.xspf' [000056330e88efe0] main input source debug: creating demux: access='file' demux='file' location='/home/roy/.local/share/vlc/ml.xspf' file='/home/roy/.local/share/vlc/ml.xspf' [000056330e68c7e0] main demux debug: looking for access_demux module matching "file": 19 candidates [000056330e68c7e0] main demux debug: no access_demux modules matched [000056330e62c370] main stream debug: creating access: file:///home/roy/.local/share/vlc/ml.xspf [000056330e62c370] main stream debug: (path: /home/roy/.local/share/vlc/ml.xspf) [000056330e62c370] main stream debug: looking for access module matching "file": 26 candidates [000056330e62c370] main stream debug: using access module "filesystem" [000056330e6b1d70] main stream debug: looking for stream_filter module matching "prefetch,cache_read": 26 candidates [000056330e6b1d70] cache_read stream debug: Using stream method for AStream* [000056330e6b1d70] cache_read stream debug: starting pre-buffering [000056330e6b1d70] cache_read stream debug: received first data after 0 ms [000056330e6b1d70] cache_read stream debug: pre-buffering done 296 bytes in 0s - 9033 KiB/s [000056330e6b1d70] main stream debug: using stream_filter module "cache_read" [000056330e6b1f50] main stream debug: looking for stream_filter module matching "any": 26 candidates [000056330e6b1f50] playlist stream debug: using XSPF playlist reader [000056330e6b1f50] main stream debug: using stream_filter module "playlist" [000056330e6b1f50] main stream debug: stream filter added to 0x56330e6b1d70 [000056330e6b25f0] main stream debug: looking for stream_filter module matching "any": 26 candidates [000056330e6b25f0] main stream debug: no stream_filter modules matched [000056330e68c7e0] main stream_directory debug: looking for stream_directory module matching "any": 1 candidates [000056330e68c7e0] main stream_directory debug: no stream_directory modules matched [000056330e88efe0] main input source debug: attachment of directory-extractor failed for file:///home/roy/.local/share/vlc/ml.xspf [000056330e6b25f0] main stream debug: looking for stream_filter module matching "record": 26 candidates [000056330e6b25f0] main stream debug: using stream_filter module "record" [000056330e88efe0] main input source debug: creating demux: access='file' demux='directory' location='/home/roy/.local/share/vlc/ml.xspf' file='/home/roy/.local/share/vlc/ml.xspf' [000056330e68c7e0] main demux debug: looking for demux module matching "directory": 54 candidates [000056330e68c7e0] main demux debug: using demux module "directory" [000056330e668440] main demux meta debug: looking for meta reader module matching "any": 2 candidates [000056330e668440] lua demux meta debug: Trying Lua scripts in /home/roy/.local/share/vlc/lua/meta/reader [000056330e668440] lua demux meta debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/reader [000056330e668440] lua demux meta debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/reader/filename.luac [000056330e668440] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [000056330e668440] main demux meta debug: no meta reader modules matched [000056330e62b880] main input debug: `file/directory:///home/roy/.local/share/vlc/ml.xspf' successfully opened [000056330e7b0c50] main xml reader debug: looking for xml reader module matching "any": 1 candidates [000056330e7b0c50] main xml reader debug: using xml reader module "xml" [000056330e62b880] main input debug: EOF reached [000056330e68c7e0] main demux debug: removing module "directory" [000056330e6b25f0] main stream debug: removing module "record" [000056330e6b1f50] main stream debug: removing module "playlist" [000056330e6b1d70] main stream debug: removing module "cache_read" [000056330e62c370] main stream debug: removing module "filesystem" [000056330e642b20] main playlist debug: creating audio output [000056330e6897e0] main audio output debug: looking for audio output module matching "any": 5 candidates [000056330e6897e0] vlcpulse audio output debug: using library version 11.1.0 [000056330e6897e0] vlcpulse audio output debug: (compiled with version 11.1.0, protocol 32) [000056330e6897e0] vlcpulse audio output debug: connected locally to unix:/run/user/1000/pulse/native as client #341 [000056330e6897e0] vlcpulse audio output debug: using protocol 32, server protocol 32 [000056330e6897e0] pulse audio output debug: adding sink 0: alsa_output.pci-0000_00_1b.0.analog-stereo (Built-in Audio Analog Stereo) [000056330e6897e0] main audio output debug: using audio output module "pulse" [000056330e642b20] main playlist debug: keeping audio output [000056330e89f800] main interface debug: looking for interface module matching "dbus,none": 17 candidates [000056330e89f800] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc [000056330e89f800] main interface debug: using interface module "dbus" [000056330e8a1b60] main interface debug: looking for interface module matching "hotkeys,none": 17 candidates [000056330e8a1b60] main interface debug: using interface module "hotkeys" [000056330e8a1fa0] main interface debug: looking for interface module matching "globalhotkeys,none": 17 candidates [000056330e8a1fa0] main interface debug: using interface module "xcb_hotkeys" [000056330e628a30] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [000056330e8a2390] main interface debug: looking for interface module matching "any": 17 candidates [000056330e89f800] dbus interface debug: Getting All properties [000056330e89f800] dbus interface debug: Getting All properties [000056330e89f800] dbus interface debug: Getting All properties [000056330e89f800] dbus interface debug: Getting All properties [000056330e89f800] dbus interface debug: Getting property Position [00007fce4c1a68c0] main generic debug: looking for extension module matching "any": 1 candidates [00007fce4c1a68c0] lua generic debug: Opening Lua Extension module [00007fce4c1a68c0] lua generic debug: Trying Lua scripts in /home/roy/.local/share/vlc/lua/extensions [00007fce4c1a68c0] lua generic debug: Trying Lua playlist script /home/roy/.local/share/vlc/lua/extensions/vlsub.lua [00007fce4c1a68c0] lua generic debug: Scanning Lua script /home/roy/.local/share/vlc/lua/extensions/vlsub.lua [00007fce4c1a68c0] lua generic debug: Script /home/roy/.local/share/vlc/lua/extensions/vlsub.lua has the following capability flags: 0x5 [00007fce4c1a68c0] lua generic debug: Trying Lua scripts in /usr/lib64/vlc/lua/extensions [00007fce4c1a68c0] lua generic debug: Trying Lua playlist script /usr/lib64/vlc/lua/extensions/VLSub.luac [00007fce4c1a68c0] lua generic debug: Scanning Lua script /usr/lib64/vlc/lua/extensions/VLSub.luac [00007fce4c1a68c0] lua generic debug: Script /usr/lib64/vlc/lua/extensions/VLSub.luac has the following capability flags: 0x5 [00007fce4c1a68c0] lua generic debug: Trying Lua scripts in /usr/share/vlc/lua/extensions [00007fce4c1a68c0] main generic debug: using extension module "lua" [000056330e8a2390] main interface debug: using interface module "qt" [000056330e642b20] main playlist debug: processing request item: null, node: Playlist, skip: 0 [000056330e642b20] main playlist debug: rebuilding array of current - root Playlist [000056330e642b20] main playlist debug: rebuild done - 1 items, index -1 [000056330e642b20] main playlist debug: starting playback of new item [000056330e642b20] main playlist debug: resyncing on videostream.cgi [000056330e642b20] main playlist debug: videostream.cgi is at 0 [000056330e642b20] main playlist debug: creating new input thread [00007fce28000c40] main input debug: Creating an input for 'videostream.cgi' [000056330e642b20] main playlist debug: requesting art for new input thread [00007fce28000c40] main input debug: using timeshift granularity of 50 MiB [00007fce28000c40] main input debug: using default timeshift path [00007fce28000c40] main input debug: `http://@192.168.1.72:8008/videostream.cgi' gives access `http' demux `any' path `@192.168.1.72:8008/videostream.cgi' [00007fce20000dc0] main input source debug: creating demux: access='http' demux='http' location='@192.168.1.72:8008/videostream.cgi' file='(null)' [00007fce20000f60] main demux debug: looking for access_demux module matching "http": 19 candidates [00007fce20000f60] main demux debug: no access_demux modules matched [00007fce20001420] main stream debug: creating access: http://@192.168.1.72:8008/videostream.cgi [00007fce20001420] main stream debug: looking for access module matching "http": 26 candidates [00007fce20001420] http stream debug: resolving 192.168.1.72 ... [00007fce20001420] http stream debug: outgoing request: GET /videostream.cgi HTTP/1.1 Host: 192.168.1.72:8008 Accept: */* Accept-Language: en_US User-Agent: VLC/4.0.0-dev LibVLC/4.0.0-dev Range: bytes=0- [00007fce18000be0] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates [00007fce18000be0] lua meta fetcher debug: Trying Lua scripts in /home/roy/.local/share/vlc/lua/meta/fetcher [00007fce18000be0] lua meta fetcher debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/fetcher [00007fce18000be0] lua meta fetcher debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher [00007fce18000be0] main meta fetcher debug: no meta fetcher modules matched [00007fce18000be0] main art finder debug: looking for art finder module matching "any": 2 candidates [00007fce18000be0] lua art finder debug: Trying Lua scripts in /home/roy/.local/share/vlc/lua/meta/art [00007fce18000be0] lua art finder debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/art [00007fce18000be0] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/00_musicbrainz.luac [00007fce18000be0] lua art finder debug: skipping script (unmatched scope) /usr/lib64/vlc/lua/meta/art/00_musicbrainz.luac [000056330e89f800] dbus interface debug: Getting property Position [00007fce18000be0] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/01_googleimage.luac [00007fce18000be0] lua art finder debug: skipping script (unmatched scope) /usr/lib64/vlc/lua/meta/art/01_googleimage.luac [00007fce18000be0] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/02_frenchtv.luac [00007fce18000be0] lua art finder debug: skipping script (unmatched scope) /usr/lib64/vlc/lua/meta/art/02_frenchtv.luac [00007fce18000be0] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/03_lastfm.luac [00007fce18000be0] lua art finder debug: skipping script (unmatched scope) /usr/lib64/vlc/lua/meta/art/03_lastfm.luac [00007fce18000be0] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art [00007fce18000be0] main art finder debug: no art finder modules matched [00007fce18007210] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates [00007fce18007210] lua meta fetcher debug: Trying Lua scripts in /home/roy/.local/share/vlc/lua/meta/fetcher [00007fce18007210] lua meta fetcher debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/fetcher [00007fce18007210] lua meta fetcher debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher [00007fce18007210] main meta fetcher debug: no meta fetcher modules matched [00007fce180084c0] main art finder debug: looking for art finder module matching "any": 2 candidates [00007fce180084c0] lua art finder debug: Trying Lua scripts in /home/roy/.local/share/vlc/lua/meta/art [00007fce180084c0] lua art finder debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/art [00007fce180084c0] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/00_musicbrainz.luac [00007fce180084c0] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/01_googleimage.luac [00007fce180084c0] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/02_frenchtv.luac [00007fce180084c0] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/03_lastfm.luac [00007fce180084c0] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art [00007fce180084c0] main art finder debug: no art finder modules matched [000056330e8a2390] qt interface debug: IM: Setting an input [00007fce20001420] http stream debug: incoming response: HTTP/1.1 401 Unauthorized Server: Boa/0.94.13 Date: Fri, 19 Jan 2018 13:31:27 GMT WWW-Authenticate: Digest realm="ipcamera_000DC5DA02A5",qop="auth",algorithm=MD5,nonce="bd453baa0a574deea5dcfddad6382f41" Content-Type: text/html Content-Length: 140 Connection: close [00007fce20001420] access stream error: HTTP 401 error [00007fce20001420] http stream debug: querying proxy for http://@192.168.1.72:8008/videostream.cgi [00007fce20001420] http stream debug: no proxy [00007fce20001420] http stream debug: http: server='192.168.1.72' port=8008 file='/videostream.cgi' [00007fce20001420] main stream debug: net: connecting to 192.168.1.72 port 8008 [00007fce20001420] main stream debug: connection succeeded (socket = 21) [00007fce20001420] http stream debug: sending request: GET /videostream.cgi HTTP/1.0 Host: 192.168.1.72:8008 User-Agent: VLC/4.0.0-dev LibVLC/4.0.0-dev Icy-MetaData: 1 [00007fce20001420] http stream debug: HTTP answer code 401 [00007fce20001420] http stream debug: Server: Boa/0.94.13 [00007fce20001420] http stream debug: Authentication header: Digest realm="ipcamera_000DC5DA02A5",qop="auth",algorithm=MD5,nonce="86b98ea0429ed9bfefdca424d28657e2" [00007fce20001420] main stream debug: Using Digest Access Authentication [00007fce20001420] http stream debug: Content-Type: text/html [00007fce20001420] http stream debug: authentication failed for realm ipcamera_000DC5DA02A5 [00007fce200027e0] main keystore debug: looking for keystore module matching "any": 4 candidates [00007fce200027e0] main keystore debug: using keystore module "kwallet"



after putting username and password in dialog box

Code: Select all

[00007fce180084c0] main art finder debug: no art finder modules matched [000056330e8a2390] qt interface debug: IM: Setting an input [00007fce20001420] http stream debug: incoming response: HTTP/1.1 401 Unauthorized Server: Boa/0.94.13 Date: Fri, 19 Jan 2018 13:31:27 GMT WWW-Authenticate: Digest realm="ipcamera_000DC5DA02A5",qop="auth",algorithm=MD5,nonce="bd453baa0a574deea5dcfddad6382f41" Content-Type: text/html Content-Length: 140 Connection: close [00007fce20001420] access stream error: HTTP 401 error [00007fce20001420] http stream debug: querying proxy for http://@192.168.1.72:8008/videostream.cgi [00007fce20001420] http stream debug: no proxy [00007fce20001420] http stream debug: http: server='192.168.1.72' port=8008 file='/videostream.cgi' [00007fce20001420] main stream debug: net: connecting to 192.168.1.72 port 8008 [00007fce20001420] main stream debug: connection succeeded (socket = 21) [00007fce20001420] http stream debug: sending request: GET /videostream.cgi HTTP/1.0 Host: 192.168.1.72:8008 User-Agent: VLC/4.0.0-dev LibVLC/4.0.0-dev Icy-MetaData: 1 [00007fce20001420] http stream debug: HTTP answer code 401 [00007fce20001420] http stream debug: Server: Boa/0.94.13 [00007fce20001420] http stream debug: Authentication header: Digest realm="ipcamera_000DC5DA02A5",qop="auth",algorithm=MD5,nonce="86b98ea0429ed9bfefdca424d28657e2" [00007fce20001420] main stream debug: Using Digest Access Authentication [00007fce20001420] http stream debug: Content-Type: text/html [00007fce20001420] http stream debug: authentication failed for realm ipcamera_000DC5DA02A5 [00007fce200027e0] main keystore debug: looking for keystore module matching "any": 4 candidates [00007fce200027e0] main keystore debug: using keystore module "kwallet" [00007fce20001420] http stream error: retrying with user=roy [00007fce20001420] main stream debug: net: connecting to 192.168.1.72 port 8008 [00007fce20001420] main stream debug: connection succeeded (socket = 21) [00007fce20001420] http stream debug: sending request: GET /videostream.cgi HTTP/1.0 Host: 192.168.1.72:8008 User-Agent: VLC/4.0.0-dev LibVLC/4.0.0-dev Authorization: Basic cm95OmRyaXZlMQ== Icy-MetaData: 1

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: Streaming video in VLC causes authentication problem after upgrade

Postby InTheWings » 21 Jan 2018 15:04

Keystore issue ?

How valid is storing temporary auths in, here, kwallet ?
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

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

Re: Streaming video in VLC causes authentication problem after upgrade

Postby Rémi Denis-Courmont » 21 Jan 2018 17:24

Make sure the server accepts basic authentication.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

rrrssssss
New Cone
New Cone
Posts: 8
Joined: 19 Jan 2018 03:32

Re: Streaming video in VLC causes authentication problem after upgrade

Postby rrrssssss » 22 Jan 2018 19:09

Hello again,

The server (ip camera) works fine when being viewed through the Firefox browser. Unless VLC changed its authentication requirements from basic to something else, that would not be the problem since lower versions of VLC works fine with the camera.

As far as Kwallet (KDE) being the problem, the issue persists in Fedora Xfce also which does not use Kwallet.

I'm surprised that I seem to be the only user with this problem which makes me think the problem is specific to my setup because I have googled for months and can't find anybody who has this same problem.

Any suggestions?

Roy

foscamVLC3
New Cone
New Cone
Posts: 1
Joined: 09 Feb 2018 21:56

Re: Streaming video in VLC causes authentication problem after upgrade

Postby foscamVLC3 » 09 Feb 2018 21:59

This happens to me as well. I have two foscams in my two kids rooms that I use VLC to monitor them. I upgraded the VLC3 today and the same playlist that I've been using for years now with VLC2 stopped working.

#EXTM3U
http://url.com:port1/videostream.asf?user=username&pwd=password
http://url.com:port2/videostream.asf?user=username&pwd=password

Mac OS X 10.3.3

Thanks for a great product! I'll switch back to VLC2 until this is resolved.

jayki
New Cone
New Cone
Posts: 1
Joined: 23 Mar 2018 15:53

Re: Streaming video in VLC causes authentication problem after upgrade

Postby jayki » 23 Mar 2018 15:56

Hi,
i have the same Problem with vlc 3.0.1:

Code: Select all

GET /playlist/channels HTTP/1.0 Host: server:9981 User-Agent: VLC/3.0.1 LibVLC/3.0.1 Authorization: Basic "xxxxxxxxxx" Icy-MetaData: 1 [00007f98400015e0] http stream debug: HTTP answer code 401 [00007f98400015e0] http stream debug: Server: HTS/tvheadend [00007f98400015e0] http stream debug: Authentication header: Digest realm="tvheadend", qop="auth", nonce="1f7dd484262b442286a45dcd98e11fc8", opaque="1a24276fd92422c3154ad607d50fa5e3" [00007f98400015e0] main stream debug: Using Digest Access Authentication [00007f98400015e0] http stream debug: Content-Type: text/html [00007f98400015e0] main stream debug: net: connecting to server port 9981 [00007f98400015e0] main stream debug: connection succeeded (socket = 26)
With vlc2.x it was working fine :(

rrrssssss
New Cone
New Cone
Posts: 8
Joined: 19 Jan 2018 03:32

Re: Streaming video in VLC causes authentication problem after upgrade

Postby rrrssssss » 30 Nov 2018 22:01

Hello forum,

Even though this post is 8 months old I hope it is okay to resurrect it to inform the readers I seem to have found a workaround for any versions of VLC 3.0 or later not being to stream an IP camera using the http protocol. It seems VLC later than 3.0 does not recognize user names and/or passwords either from a terminal or using a bash script or by using the username and password prompt that pops up for VLC. The only way to get it to work (to recognize username and password) is to go to "media", "open network stream, and type the credentials in the field provided using this format: http://cameraIP:portnumber/videostream.cgi?user=username&pwd=password. I discovered this workaround with VLC 3.0.5 I only assume all other versions will also work with this method.

Best regards,
Roy

UPDATE
The above method will also work in a bash script or a terminal if the command is put in double quotes. Versions under 3.0 did not require double quotes. That was the problem the whole time.

bachoo786
New Cone
New Cone
Posts: 5
Joined: 25 Jan 2020 15:52

Re: Streaming video in VLC causes authentication problem after upgrade

Postby bachoo786 » 14 Feb 2020 14:15

Hello @rrrssssss

Do you still have issues with vlc asking for authentication when viewing http links?

I tried your method of double quotes in a bash script in linux but it still asks for my username and password.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 27 guests