Page 1 of 1

Serviio V1.9 Windows 10 Prof "hlsjs error" *partly solved*

PostPosted: Mon Aug 21, 2017 10:25 am
by dbase25
Hi,

i have Ver 1.8 and it works perfect. Now i have install V1.9 (as Upgrade) and it was successfully.
But when i try to play a video (mkv,mov,avi, RTSP Stream) i get a "hlsjs error". i found nothing in the serviio.log file with my testet video files.

i will fall back to v1.8 and all works perfectly. i try it with 64B Firefox.

2nd step was i create a clean install from serviio, add the video folder. the index will be created but when i try to play same error.

can i activate a debug mode to see more in the log?

thanks and regars
david

-----------------------------------
testet again:
i restart my browser (i delete automaticaly all cache files and cookies when i close the browser) same error. i try it with IE11 i can push the play button and the the video windows appears black

------------------------------------
aha: i have testet it on localhost and this is working. when i try from the public internet i get a error message.

my config:

ISP -> STUNNEL (HTTPS) -> Serviio 23424 (doesnt work)
Localhost -> Serviio 23424 (work)
localhost -> stunnel -> serviio (doesnt work)
ISP -> Serviio 23424 (work)

The problem is the stunnel and the new html video plugin / processing

------------------------------------
Log:

2017-08-21 23:52:16,622 DEBUG [FolderDAOImpl] Getting number of sub-Folders in folder 1 [Any]
2017-08-21 23:52:16,623 DEBUG [VideoDAOImpl] Retrieving list of videos for folder 1 (from=1, count=18) [Any]
2017-08-21 23:52:16,629 DEBUG [FolderDAOImpl] Getting number of VIDEO sub-folders and media items in folder 1 (filter: ALL) [Any]
2017-08-21 23:52:16,630 DEBUG [LocalContentCacheDecorator] Stored entry in the cache (local_default), returning it
2017-08-21 23:52:16,825 DEBUG [CDSRetrieveMediaServerResource] GET http://external.domain.net:55551/cds/re ... 14608bacf1 HTTP/1.1, headers = [host: external.domain.net:55551,user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0,accept: */*,accept-language: de,en-US;q=0.7,en;q=0.3,accept-encoding: gzip, deflate, br,referer: https://external.domain.net:55551/mediabrowser/,cookie: CactiEZ=lge5kpuq3hc5q4qc0l2daek7e1,connection: keep-alive]
2017-08-21 23:52:16,825 DEBUG [CDSRetrieveMediaServerResource] Creating client with id '127.0.0.1' and name 'Remote client'
2017-08-21 23:52:16,825 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=127.0.0.1, Profile=HTML5, Name=Remote client'
2017-08-21 23:52:16,826 DEBUG [ResourceDeliveryProcessor] Request for resource 22 and type 'COVER_IMAGE' received
2017-08-21 23:52:16,826 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 22)
2017-08-21 23:52:16,826 DEBUG [CoverImageRetrievalStrategy] Retrieving info of Cover image with id 22
2017-08-21 23:52:16,826 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 22)
2017-08-21 23:52:16,827 DEBUG [CoverImageRetrievalStrategy] Retrieving Cover image (HD) with id 22
2017-08-21 23:52:16,827 DEBUG [GETMethodProcessor] Stream entity has length: 11000
2017-08-21 23:52:17,460 DEBUG [FolderDAOImpl] Getting number of sub-Folders in folder 2 [Any]
2017-08-21 23:52:17,464 DEBUG [VideoDAOImpl] Retrieving list of videos for folder 2 (from=0, count=18) [Any]
2017-08-21 23:52:17,474 DEBUG [GenreDAOImpl] Retrieving list of genres for media item 1
2017-08-21 23:52:17,474 DEBUG [VideoDAOImpl] Reading a Video (id = 1)
2017-08-21 23:52:17,475 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1 and profile HTML5

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

[CDSRetrieveMediaServerResource] GET http://external.domain.net:55551/cds/re ... diaBrowser HTTP/1.1, headers = [host: external.domain.net:55551,user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0,accept: */*,accept-language: de,en-US;q=0.7,en;q=0.3,accept-encoding: gzip, deflate, br,referer: https://external.domain.net:55551/mediabrowser/,cookie: CactiEZ=lge5kpuq3hc5q4qc0l2daek7e1,connection: keep-alive]
2017-08-21 23:52:20,688 DEBUG [CDSRetrieveMediaServerResource] Creating client with id '127.0.0.1' and name 'MediaBrowser'
2017-08-21 23:52:20,688 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=127.0.0.1, Profile=HTML5, Name=MediaBrowser'
2017-08-21 23:52:20,689 DEBUG [ResourceDeliveryProcessor] Request for resource 1 and type 'MANIFEST' received
2017-08-21 23:52:20,691 DEBUG [ManifestRetrievalStrategy] Retrieving info of Manifest for media item with id 1
2017-08-21 23:52:20,692 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1 (local)
2017-08-21 23:52:20,692 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 1)
2017-08-21 23:52:20,703 DEBUG [VideoDAOImpl] Reading a Video (id = 1)
2017-08-21 23:52:20,713 DEBUG [VideoDAOImpl] Reading a Video (id = 1)
2017-08-21 23:52:20,715 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1 and profile HTML5

i think this is the relevant log part. i have replace only my dns name.

a stupid question: if it possible to implement a https support in serviio, so i doesnt use stunnel anymore and the problem with the header rewritting is the past?

Re: Serviio V1.9 Windows 10 Prof "hlsjs error"

PostPosted: Mon Aug 21, 2017 10:40 am
by atc98092
Try deleting your browser cache. Some users have reported that fixed it. I was having the same problem, but then it went away, and I can't remember exactly what I might have done to change it. :oops:

Re: Serviio V1.9 Windows 10 Prof "hlsjs error" *partly solve

PostPosted: Mon Aug 21, 2017 1:44 pm
by zip
I have seen (I assume similar) issue before, where the host name is rewritten during the tunneling (host header). You could check the detailed log and see what is the HOST header coming in the MANIFEST http requests - it should be your public domain name.

I have created a ticket https://bitbucket.org/xnejp03/serviio/i ... rating-hls which would fix the issue.

To confirm your issue is the same, post the detailed log of playing the file via the remote URL.