FAQ  •  Register  •  Login

Apache2 https - hlsjs video file not found

<<

Saulius

Serviio newbie

Posts: 6

Joined: Sun Feb 04, 2018 8:53 pm

Post Sun Feb 04, 2018 9:03 pm

Apache2 https - hlsjs video file not found

Hi,

I'm using serviio pro, and trying to setup on Ubuntu 16.04 server
Reading through all manuals/forums I managed to set working apache2 - serviio settings for http
however when I setup SSL for https redirected https page give me "hlsjs video file not found" error.
here is http confg: (works perfect not errors appears)
<VirtualHost *:80> $
ServerName video.server.org

ProxyPass /cds/ http://192.168.x.xxx:23424/cds/
ProxyPassReverse /cds/ http://192.168.x.xxx:23424/cds/

ProxyPass / http://192.168.x.xxx:23424/mediabrowser/
ProxyPassReverse / http://192.168.x.xxx:23424/mediabrowser/

</VirtualHost>

here is https confg: (the "hlsjs video file not found" error appears by trying to play video)

<IfModule mod_ssl.c>
<VirtualHost *:443>

ServerName video.server.org

ProxyPreserveHost On
ProxyRequests Off

ProxyPass /cds/ http://192.168.x.xxx:23424/cds/
ProxyPassReverse /cds/ http://192.168.x.xxx:23424/cds/

ProxyPass / http://192.168.x.xxx:23424/mediabrowser/
ProxyPassReverse / http://192.168.x.xxx:23424/mediabrowser/

SSLCertificateFile /etc/letsencrypt/live/video.server.org/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/video.server.org/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>

Kindly asking for your support.
<<

atc98092

User avatar

DLNA master

Posts: 2377

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Sun Feb 04, 2018 10:19 pm

Re: Apache2 https - hlsjs video file not found

The first suggestion is to clear your browser cache. That has resolved the issue for some people. Although I don't recall if anyone was using an Apache redirect.
Dan

Panasonic ST30 Plasma, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Roku 2 XS, 4, Ultra and Stick, Yamaha RX-V679 AVR.
Primary server: Intel i5-6400, 8 gig ram, Windows 10 Pro, 18 TB hard drive space | Test server Windows 7 Home Premium, AMD Phenom II X4 965, 8 gig ram

Enable debug logging Identify video file contents
<<

Saulius

Serviio newbie

Posts: 6

Joined: Sun Feb 04, 2018 8:53 pm

Post Mon Feb 05, 2018 6:57 pm

Re: Apache2 https - hlsjs video file not found

Hi Dan,

I checked all you advised and seems like from serviio or from additional packages (ffempg and draw) are ok.
I tired to clean the cache and still like I mention in my previous post.
If I'm switching from https to http video plays if I open the link in https I receive hosts error.
logs:
2018-02-05 19:52:00,727 DEBUG [GETMethodProcessor] Stream entity has length: 21272
2018-02-05 19:52:01,189 DEBUG [LocalContentCacheDecorator] Found entry in the cache (local_default), returning it
2018-02-05 19:52:01,210 DEBUG [LocalContentCacheDecorator] Found entry in the cache (local_default), returning it
2018-02-05 19:52:01,210 DEBUG [FolderDAOImpl] Getting number of sub-Folders in folder 2 [Any]
2018-02-05 19:52:01,210 DEBUG [VideoDAOImpl] Retrieving list of videos for folder 2 (from=21, count=18) [Any]
2018-02-05 19:52:01,225 DEBUG [FolderDAOImpl] Getting number of VIDEO sub-folders and media items in folder 2 (filter: ALL) [Any]
2018-02-05 19:52:01,225 DEBUG [LocalContentCacheDecorator] Stored entry in the cache (local_default), returning it
2018-02-05 19:52:01,717 DEBUG [CDSRetrieveMediaServerResource] GET http://video.manageyourdata.org/cds/res ... cde7500295 HTTP/1.1, headers = [host: video.manageyourdata.org,accept-encoding: br, gzip, deflate,accept: image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5,user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6,accept-language: en-us,referer: https://video.manageyourdata.org/,dnt: 1,x-forwarded-proto: https,x-forwarded-for: 127.0.0.1,x-forwarded-host: video.manageyourdata.org,x-forwarded-server: video.manageyourdata.org,connection: Keep-Alive]
2018-02-05 19:52:01,718 DEBUG [CDSRetrieveMediaServerResource] Creating client with id '192.168.2.200' and name 'Remote client'
2018-02-05 19:52:01,718 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.2.200, Profile=HTML5, Name=Remote client'
2018-02-05 19:52:01,718 DEBUG [ResourceDeliveryProcessor] Request for resource 5 and type 'COVER_IMAGE' received
2018-02-05 19:52:01,718 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 5)
2018-02-05 19:52:01,720 DEBUG [CoverImageRetrievalStrategy] Retrieving info of Cover image with id 5
2018-02-05 19:52:01,720 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 5)
2018-02-05 19:52:01,722 DEBUG [CoverImageRetrievalStrategy] Retrieving Cover image (HD) with id 5
2018-02-05 19:52:01,722 DEBUG [GETMethodProcessor] Stream entity has length: 20107
2018-02-05 19:52:02,726 DEBUG [CDSRetrieveMediaServerResource] GET http://video.manageyourdata.org/cds/res ... cde7500295 HTTP/1.1, headers = [host: video.manageyourdata.org,accept-encoding: br, gzip, deflate,accept: image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5,user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6,accept-language: en-us,referer: https://video.manageyourdata.org/,dnt: 1,x-forwarded-proto: https,x-forwarded-for: 127.0.0.1,x-forwarded-host: video.manageyourdata.org,x-forwarded-server: video.manageyourdata.org,connection: Keep-Alive]
2018-02-05 19:52:02,727 DEBUG [CDSRetrieveMediaServerResource] Creating client with id '192.168.2.200' and name 'Remote client'
2018-02-05 19:52:02,727 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.2.200, Profile=HTML5, Name=Remote client'
2018-02-05 19:52:02,727 DEBUG [ResourceDeliveryProcessor] Request for resource 6 and type 'COVER_IMAGE' received
2018-02-05 19:52:02,727 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 6)
2018-02-05 19:52:02,727 DEBUG [CoverImageRetrievalStrategy] Retrieving info of Cover image with id 6
2018-02-05 19:52:02,728 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 6)
2018-02-05 19:52:02,728 DEBUG [CoverImageRetrievalStrategy] Retrieving Cover image (HD) with id 6
2018-02-05 19:52:02,728 DEBUG [GETMethodProcessor] Stream entity has length: 19620
2018-02-05 19:52:10,178 DEBUG [FeedUpdaterWorker] Checking for new and expired online resources
2018-02-05 19:52:10,179 DEBUG [OnlineRepositoryDAOImpl] Reading all OnlineRepositories
2018-02-05 19:52:15,572 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:dial-multiscreen-org:service:dial:1 from address /192.168.2.10:52210s
2018-02-05 19:52:30,134 DEBUG [FlowPlayerV7KeyGeneratorServerResource] Generating v7 security key for domain 'video.manageyourdata.org'
2018-02-05 19:52:30,134 DEBUG [FlowPlayerV7KeyGeneratorServerResource] RefererRef of the incoming request is 'video.manageyourdata.org'
2018-02-05 19:52:30,147 DEBUG [LocalContentCacheDecorator] Found entry in the cache (local_default), returning it
2018-02-05 19:52:32,965 DEBUG [DiscoveryAdvertisementNotifier] Multicasting SSDP alive using interface eno1 (eno1) and address 192.168.2.200, timeout = 0
2018-02-05 19:52:32,966 DEBUG [DiscoveryAdvertisementNotifier] Sending 6 'alive' messages describing device 38bdd81f-c4ad-3aa8-a05b-a26bb8b2b74d
2018-02-05 19:52:34,775 DEBUG [DiscoveryAdvertisementNotifier] Will advertise again in 00:03:48 (advertisement duration is 1800 sec.)
2018-02-05 19:52:39,010 DEBUG [RendererSearchSender] Searching for Renderer devices
2018-02-05 19:52:39,011 DEBUG [RendererSearchSender$RendererSearchWorker] Multicasting SSDP M-SEARCH using interface eno1 (eno1) and address 192.168.2.200, timeout = 0
2018-02-05 19:52:39,012 DEBUG [RendererSearchSender$RendererSearchWorker] Sending 1 'm-search' messages
2018-02-05 19:52:39,012 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:schemas-upnp-org:device:MediaRenderer:1 from address /192.168.2.200:36853s
2018-02-05 19:52:39,012 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:schemas-upnp-org:device:MediaRenderer:1 from address /192.168.2.200:36853s
2018-02-05 19:52:39,013 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:schemas-upnp-org:device:MediaRenderer:1 from address /192.168.2.200:36853s
2018-02-05 19:52:45,019 DEBUG [RendererSearchSender] Finished searching for Renderer devices
2018-02-05 19:52:48,293 DEBUG [CDSRetrieveMediaServerResource] GET http://video.manageyourdata.org/cds/res ... diaBrowser HTTP/1.1, headers = [host: video.manageyourdata.org,accept-encoding: br, gzip, deflate,accept: */*,user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6,accept-language: en-us,referer: https://video.manageyourdata.org/,dnt: 1,x-forwarded-proto: https,x-forwarded-for: 127.0.0.1,x-forwarded-host: video.manageyourdata.org,x-forwarded-server: video.manageyourdata.org,connection: Keep-Alive]
2018-02-05 19:52:48,294 DEBUG [CDSRetrieveMediaServerResource] Creating client with id '192.168.2.200' and name 'MediaBrowser'
2018-02-05 19:52:48,294 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.2.200, Profile=HTML5, Name=MediaBrowser'
2018-02-05 19:52:48,294 DEBUG [ResourceDeliveryProcessor] Request for resource 1 and type 'MANIFEST' received
2018-02-05 19:52:48,294 DEBUG [ManifestRetrievalStrategy] Retrieving info of Manifest for media item with id 1
2018-02-05 19:52:48,295 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1 (local)
2018-02-05 19:52:48,295 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 1)
2018-02-05 19:52:48,296 DEBUG [VideoDAOImpl] Reading a Video (id = 1)
2018-02-05 19:52:48,296 DEBUG [VideoDAOImpl] Reading a Video (id = 1)
2018-02-05 19:52:48,297 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1 and profile HTML5
2018-02-05 19:52:48,297 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "Alien Covenant (2017).mkv": HLS
2018-02-05 19:52:48,297 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "Alien Covenant (2017).mkv": HLS
2018-02-05 19:52:48,297 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "Alien Covenant (2017).mkv": HLS
2018-02-05 19:52:48,298 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 1)
2018-02-05 19:52:48,298 DEBUG [ManifestRetrievalStrategy] Retrieving Manifest for media item with id 1
2018-02-05 19:52:48,299 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1 (local)
2018-02-05 19:52:48,299 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 1)
2018-02-05 19:52:48,299 DEBUG [VideoDAOImpl] Reading a Video (id = 1)
2018-02-05 19:52:48,299 DEBUG [VideoDAOImpl] Reading a Video (id = 1)
2018-02-05 19:52:48,299 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1 and profile HTML5
2018-02-05 19:52:48,300 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "Alien Covenant (2017).mkv": HLS
2018-02-05 19:52:48,300 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "Alien Covenant (2017).mkv": HLS
2018-02-05 19:52:48,300 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "Alien Covenant (2017).mkv": HLS
2018-02-05 19:52:48,300 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 1)
2018-02-05 19:52:48,301 DEBUG [GETMethodProcessor] Stream entity has length: 214
2018-02-05 19:53:10,182 DEBUG [FeedUpdaterWorker] Checking for new and expired online resources
2018-02-05 19:53:10,183 DEBUG [OnlineRepositoryDAOImpl] Reading all OnlineRepositories
2018-02-05 19:53:37,314 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:dial-multiscreen-org:service:dial:1 from address /192.168.2.15:52512s
2018-02-05 19:53:38,315 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:dial-multiscreen-org:service:dial:1 from address /192.168.2.15:52512s
2018-02-05 19:53:39,337 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:dial-multiscreen-org:service:dial:1 from address /192.168.2.15:52512s
2
<<

atc98092

User avatar

DLNA master

Posts: 2377

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Mon Feb 05, 2018 11:06 pm

Re: Apache2 https - hlsjs video file not found

I believe there might also have been an issue with the current version of player that is used in MediaBrowser. I know Zip was waiting for an update from the developer. I believe he now has it and is getting close to releasing a new version of Serviio. If you can hold off for a couple of weeks that might resolve it. But I honestly don't know for sure when the next release will be. Also, Zip might be able to see something in the log you've posted that he might recognize and know a resolution.
Dan

Panasonic ST30 Plasma, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Roku 2 XS, 4, Ultra and Stick, Yamaha RX-V679 AVR.
Primary server: Intel i5-6400, 8 gig ram, Windows 10 Pro, 18 TB hard drive space | Test server Windows 7 Home Premium, AMD Phenom II X4 965, 8 gig ram

Enable debug logging Identify video file contents
<<

Saulius

Serviio newbie

Posts: 6

Joined: Sun Feb 04, 2018 8:53 pm

Post Tue Feb 06, 2018 4:53 am

Re: Apache2 https - hlsjs video file not found

I have found the problem.
By looking in to the logs you can see that media player comes back to http and not to https.

2018-02-05 19:52:45,019 DEBUG [RendererSearchSender] Finished searching for Renderer devices
2018-02-05 19:52:48,293 DEBUG [CDSRetrieveMediaServerResource] GET http://video.manageyourdata.org/cds/res ... diaBrowser HTTP/1.1, headers = [host: video.manageyourdata.org,accept-encoding: br, gzip, deflate,accept: */*,user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6,accept-language: en-us,referer: https://video.manageyourdata.org/,dnt: 1,x-forwarded-proto: https,x-forwarded-for: 127.0.0.1,x-forwarded-host: video.manageyourdata.org,x-


It comes that i requesting https but playre comes back to http
Any idea were in configurations to adjust that?
<<

atc98092

User avatar

DLNA master

Posts: 2377

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Tue Feb 06, 2018 1:23 pm

Re: Apache2 https - hlsjs video file not found

Have to let Zip respond to that.
Dan

Panasonic ST30 Plasma, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Roku 2 XS, 4, Ultra and Stick, Yamaha RX-V679 AVR.
Primary server: Intel i5-6400, 8 gig ram, Windows 10 Pro, 18 TB hard drive space | Test server Windows 7 Home Premium, AMD Phenom II X4 965, 8 gig ram

Enable debug logging Identify video file contents
<<

Saulius

Serviio newbie

Posts: 6

Joined: Sun Feb 04, 2018 8:53 pm

Post Thu Feb 08, 2018 5:26 am

Re: Apache2 https - hlsjs video file not found

Ang how that works?? Will you let know Zip or I should reach ou to him ?
<<

atc98092

User avatar

DLNA master

Posts: 2377

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Thu Feb 08, 2018 1:14 pm

Re: Apache2 https - hlsjs video file not found

Saulius wrote:Ang how that works?? Will you let know Zip or I should reach ou to him ?


He watches the forum pretty closely, so he should see it. If he hasn't responded within a week or so try a PM to him, referencing this thread.
Dan

Panasonic ST30 Plasma, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Roku 2 XS, 4, Ultra and Stick, Yamaha RX-V679 AVR.
Primary server: Intel i5-6400, 8 gig ram, Windows 10 Pro, 18 TB hard drive space | Test server Windows 7 Home Premium, AMD Phenom II X4 965, 8 gig ram

Enable debug logging Identify video file contents
<<

Saulius

Serviio newbie

Posts: 6

Joined: Sun Feb 04, 2018 8:53 pm

Post Thu Feb 08, 2018 4:50 pm

Re: Apache2 https - hlsjs video file not found

Thanks, I will wait for a week.
To text him PM I will not be able as I’m new user and private messages are not enabled

Thanks for all your support
<<

Saulius

Serviio newbie

Posts: 6

Joined: Sun Feb 04, 2018 8:53 pm

Post Mon Feb 19, 2018 6:23 am

Re: Apache2 https - hlsjs video file not found

Hi,

I haven't received any update from Zip.
Would be so kind to contact him for assistance.

Thanks
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16594

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Feb 19, 2018 9:40 am

Re: Apache2 https - hlsjs video file not found

Can you try 1.9.1 ?

Return to Serviio Support & Help

Who is online

Users browsing this forum: Google [Bot] and 6 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.