HLS stream calls inner playlist with default port 80 instead of provided one in master playlist URL

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
zarej
New Cone
New Cone
Posts: 2
Joined: 17 Aug 2021 11:14

HLS stream calls inner playlist with default port 80 instead of provided one in master playlist URL

Postby zarej » 17 Aug 2021 11:29

When I enter the HLS URL with port 443 it tries to reach the same inner HLS URL with port 80. I have 2 Nginx reverse proxies configured in front of the target URL stream. Also, this URL works with ffplay and mplayer but with VLC it shows 404 because port it is trying to reach port 80 instead of 443. Bellow is debugging log output I just replaced IP with 20.20.20.20. This is a problem with all VLC versions that I tried including the Android one.

Code: Select all

main debug: `http://20.20.20.20:443/output/5usa_sd/playlist.m3u8?org=czh1&ticket=ticket&user=loft&external=true' successfully opened adaptive debug: Retrieving http://20.20.20.20/output/5usa_sd/track_0_600/playlist.m3u8?org=czh1&ticket=ticket&user=loft&external=true @0 main debug: creating access: http://20.20.20.20/output/5usa_sd/track_0_600/playlist.m3u8?org=czh1&ticket=ticket&user=loft&external=true main debug: looking for access module matching "http": 28 candidates http debug: resolving 20.20.20.20 ... http debug: outgoing request: GET /output/5usa_sd/track_0_600/playlist.m3u8?org=czh1&ticket=ticket&user=loft&external=true HTTP/1.1 Host: 20.20.20.20 Accept: */* Accept-Language: en_US User-Agent: VLC/3.0.9.2 LibVLC/3.0.9.2 Range: bytes=0- http debug: incoming response: HTTP/1.1 404 Not Found Date: Tue, 17 Aug 2021 09:16:06 GMT Server: Apache/2.4.25 (Debian) Content-Length: 316 Content-Type: text/html; charset=iso-8859-1 access error: HTTP 404 error http debug: querying proxy for http://20.20.20.20/output/5usa_sd/track_0_600/playlist.m3u8?org=czh1&ticket=ticket&user=loft&external=true http debug: no proxy http debug: http: server='20.20.20.20' port=80 file='/output/5usa_sd/track_0_600/playlist.m3u8' main debug: net: connecting to 20.20.20.20 port 80 main debug: connection succeeded (socket = 24) http debug: sending request: GET /output/5usa_sd/track_0_600/playlist.m3u8?org=czh1&ticket=ticket&user=loft&external=true HTTP/1.0 Host: 20.20.20.20 User-Agent: VLC/3.0.9.2 LibVLC/3.0.9.2 Icy-MetaData: 1 http debug: HTTP answer code 404 http error: error: HTTP/1.1 404 Not Found
If some of VLC developers can point me maybe some Nginx reverse proxy headers are missing? It works with the other players so for me looks like it is a bug in VLC. I can provide URL for testing in private message.

zarej
New Cone
New Cone
Posts: 2
Joined: 17 Aug 2021 11:14

Re: HLS stream calls inner playlist with default port 80 instead of provided one in master playlist URL

Postby zarej » 19 Aug 2021 14:31

Looks like the problem was port 443 and http. When I switched stream to port 8080 it started to work.

Looks like VLC cannot do playback stream with http protocol on port 443.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 40 guests