FAQ  •  Register  •  Login

error in mediabrowser "hlsjs video file not found"

<<

bunkerman

Serviio newbie

Posts: 6

Joined: Mon Aug 28, 2017 4:30 pm

Post Mon Aug 28, 2017 4:39 pm

error in mediabrowser "hlsjs video file not found"

Hi,

just bought the Pro license and having problems with the mediabrowser. audio und photos are working as expected, but when trying to play videos (in different formats) i get the error "hlsjs video file not found". I didn't found any helpful information on the internet.
Hope somebody can help me with this issue, because Serviio was the only longtime solution so far working without problems on my Synology 413j.

btw I activated debug mode for the logs but serviio.log is not giving me any logs when trying to play a video.
Attachments
Clipboard01.jpg
Clipboard01.jpg (31.66 KiB) Viewed 1053 times
<<

atc98092

User avatar

DLNA master

Posts: 2221

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state) - temporary assignment to Washington DC

Post Mon Aug 28, 2017 10:44 pm

Re: error in mediabrowser "hlsjs video file not found"

First try clearing your browser cache. Others have reported this worked for them.
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
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16499

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Aug 29, 2017 2:05 pm

Re: error in mediabrowser "hlsjs video file not found"

It's probably ffmpeg failing. Not sure it's because the way it's been compiled for Synology or something else.

You might ask Patters on the NAS sub-forum.
<<

bunkerman

Serviio newbie

Posts: 6

Joined: Mon Aug 28, 2017 4:30 pm

Post Tue Aug 29, 2017 3:31 pm

Re: error in mediabrowser "hlsjs video file not found"

@atc98092: not working, tried different browsers with same outcome

@zip: ok will do. btw: serviigo android app works with vlc player and does play the videos
<<

nkodak

Serviio newbie

Posts: 3

Joined: Mon Aug 28, 2017 2:34 pm

Post Tue Aug 29, 2017 8:03 pm

Re: error in mediabrowser "hlsjs video file not found"

I'm having a similar problem getting "hlsjs video file not found". I'm doing an SSL redirect from external, but this worked fine until I upgraded to v1.9. I've already tried clearing my cache, so please don't suggest this. Also, when I review the serviio.log file, I see a lot of Java errors.

2017-08-29 16:01:07,894 WARN [DiscoverySearchResponder] Problem during DiscoverySearchResponder, response will not be sent
java.net.SocketException: Network is unreachable: Datagram send failed
at java.net.TwoStacksPlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:693)
at org.serviio.util.MultiCastUtils.send(MultiCastUtils.java:109)
at org.serviio.upnp.discovery.DiscoverySearchResponder.sendReply(DiscoverySearchResponder.java:123)
at org.serviio.upnp.discovery.DiscoverySearchResponder.run(DiscoverySearchResponder.java:96)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
<<

nkodak

Serviio newbie

Posts: 3

Joined: Mon Aug 28, 2017 2:34 pm

Post Sat Sep 02, 2017 4:30 pm

Re: error in mediabrowser "hlsjs video file not found"

@zip -- I tried your beta release. It didn't fix the issue and I'm still seeing the Java errors. Below is a block of errors from the log. Not sure if any of that is from me exiting a movie that I started locally via the MediaBrowser or not, but I know externally it still doesn't work. I'm using a https://url:4343/ --> http://serviio:23424/ on my edge device, and it handles the SSL part to allow for encryption. The MediaBrowser itself work find. I can login, see all the titles, etc... just can't play anything. This did work fine before the 1.9 update.

2017-09-02 12:24:03,280 WARN [ResourceDeliveryProcessor] Error while processing resource, sending back 404 error. Message: Could not find segment file: F:\Serviio Temp\Serviio\transcoding-temp-f1a59c30444319d1e4d13e01e897e2ef.stf\segment00006.ts
2017-09-02 12:24:03,280 WARN [ServiioStatusService] HttpCodeException occurred. Returning error code 404 to the REST layer. Message: null
org.serviio.restlet.HttpCodeException
at org.serviio.upnp.service.contentdirectory.rest.resources.server.CDSRetrieveMediaServerResource.deliver(CDSRetrieveMediaServerResource.java:96)
at sun.reflect.GeneratedMethodAccessor3419.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.restlet.resource.ServerResource.doHandle(ServerResource.java:524)
at org.restlet.resource.ServerResource.get(ServerResource.java:743)
at org.restlet.resource.ServerResource.doHandle(ServerResource.java:618)
at org.restlet.resource.ServerResource.doNegotiatedHandle(ServerResource.java:679)
at org.restlet.resource.ServerResource.doConditionalHandle(ServerResource.java:357)
at org.serviio.restlet.AbstractServerResource.doConditionalHandle(AbstractServerResource.java:49)
at org.serviio.restlet.AbstractProEditionServerResource.doConditionalHandle(AbstractProEditionServerResource.java:35)
at org.serviio.upnp.service.contentdirectory.rest.resources.server.AbstractCDSServerResource.doConditionalHandle(AbstractCDSServerResource.java:59)
at org.serviio.upnp.service.contentdirectory.rest.resources.server.AbstractRestrictedCDSServerResource.doConditionalHandle(AbstractRestrictedCDSServerResource.java:58)
at org.restlet.resource.ServerResource.handle(ServerResource.java:1014)
at org.restlet.resource.Finder.handle(Finder.java:246)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Router.doHandle(Router.java:431)
at org.restlet.routing.Router.handle(Router.java:648)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:155)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.engine.CompositeHelper.handle(CompositeHelper.java:211)
at org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:84)
at org.restlet.Application.handle(Application.java:384)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Router.doHandle(Router.java:431)
at org.restlet.routing.Router.handle(Router.java:648)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Router.doHandle(Router.java:431)
at org.restlet.routing.Router.handle(Router.java:648)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:155)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.engine.CompositeHelper.handle(CompositeHelper.java:211)
at org.restlet.Component.handle(Component.java:406)
at org.restlet.Server.handle(Server.java:516)
at org.restlet.engine.connector.ServerHelper.handle(ServerHelper.java:72)
at org.restlet.engine.adapter.HttpServerHelper.handle(HttpServerHelper.java:152)
at org.restlet.ext.simple.internal.SimpleContainer.handle(SimpleContainer.java:80)
at org.simpleframework.http.core.Dispatcher.dispatch(Dispatcher.java:121)
at org.simpleframework.http.core.Dispatcher.run(Dispatcher.java:103)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
2017-09-02 12:24:36,657 WARN [DiscoverySearchResponder] Problem during DiscoverySearchResponder, response will not be sent
java.net.SocketException: Network is unreachable: Datagram send failed
at java.net.TwoStacksPlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:693)
at org.serviio.util.MultiCastUtils.send(MultiCastUtils.java:109)
at org.serviio.upnp.discovery.DiscoverySearchResponder.sendReply(DiscoverySearchResponder.java:123)
at org.serviio.upnp.discovery.DiscoverySearchResponder.run(DiscoverySearchResponder.java:96)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
2017-09-02 12:24:38,336 WARN [DiscoverySearchResponder] Problem during DiscoverySearchResponder, response will not be sent
java.net.SocketException: Network is unreachable: Datagram send failed
at java.net.TwoStacksPlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:693)
at org.serviio.util.MultiCastUtils.send(MultiCastUtils.java:109)
at org.serviio.upnp.discovery.DiscoverySearchResponder.sendReply(DiscoverySearchResponder.java:123)
at org.serviio.upnp.discovery.DiscoverySearchResponder.run(DiscoverySearchResponder.java:96)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16499

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Sep 04, 2017 12:36 pm

Re: error in mediabrowser "hlsjs video file not found"

It could be several reasons. I'd need the complete detailed log of trying to play the file.
<<

remlei

Serviio newbie

Posts: 3

Joined: Mon Aug 07, 2017 10:44 am

Post Tue Sep 05, 2017 10:47 pm

Re: error in mediabrowser "hlsjs video file not found"

probably the processor from the server side where serviio is running wasnt fast enough to catch up with the timeout.

managed to fixed it on browser level (firebug), basically just adding some sort of delay before playing the media, of course this is much like a workaround rather than fix since this should be handled on the server side to tell to the client to wait.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16499

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Sep 06, 2017 9:38 am

Re: error in mediabrowser "hlsjs video file not found"

<<

bunkerman

Serviio newbie

Posts: 6

Joined: Mon Aug 28, 2017 4:30 pm

Post Wed Sep 06, 2017 10:58 am

Re: error in mediabrowser "hlsjs video file not found"

so, I would like to help. could somebody tell me where and which logs you need (because the serviio logs did'nt contain anything, or I have to tweak permissions...).
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16499

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Sep 07, 2017 10:19 am

Re: error in mediabrowser "hlsjs video file not found"

you could turn on Dev tools in Chrome, go to the Network tab and try to open the video in MediaBrowser. then post the network call details here (there will be many, and some of them will include calls or the Manifest files etc).

Serviio logs here here: detailed log
<<

bunkerman

Serviio newbie

Posts: 6

Joined: Mon Aug 28, 2017 4:30 pm

Post Thu Sep 07, 2017 2:00 pm

Re: error in mediabrowser "hlsjs video file not found"

this is what the dev tools are showing (get process is aborting after 10s, so @remlei thought on the timeout seems not bad):

http://x.x.x.x:23424/cds/resource/93231 ... diaBrowser

GET /cds/resource/93231/MANIFEST/HLS-0/MEDIUM.m3u8?profile=html5&authToken=&clientName=MediaBrowser HTTP/1.1
Host: x.x.x.x:23424
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.105 Safari/537.36 Vivaldi/1.92.917.43
Accept: */*
Referer: http://x.x.x.x:23424/mediabrowser/
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.8

HTTP/1.1 200 OK
Content-Length: 211
Content-Type: application/x-mpegurl
Cache-Control: no-cache
Date: Thu, 07 Sep 2017 13:49:38 GMT
Accept-Ranges: bytes
Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.9
Access-Control-Allow-Origin: *
Connection: keep-alive

data:application/x-mpegurl;base64,I0VYVE0zVQojRVhULVgtU1RSRUFNLUlORjpQUk9HUkFNLUlEPTEsIEJBTkRXSURUSD0xNjAwMDAwCmh0dHA6Ly8xOTIuMTY4LjAuMzoyMzQyNC9jZHMvcmVzb3VyY2UvOTMyMzEvTUVESUFfSVRFTS9ITFMtMC9NRURJVU0ubTN1OD9wcm9maWxlPWh0bWw1JmNsaWVudE5hbWU9TWVkaWFCcm93c2VyJmF1dGhUb2tlbj0zOTc1YzgxZTdkOWY0ZjVkYWI3YzE4MGIxOWY4MTVkMg==




http://x.x.x.x:23424/cds/resource/93231 ... authToken=

General
Request URL:http://x.x.x.x:23424/cds/resource/93231/MEDIA_ITEM/HLS-0/MEDIUM.m3u8?profile=html5&clientName=MediaBrowser&authToken=
Referrer Policy:no-referrer-when-downgrade

Request Headers
Provisional headers are shown
Referer:http://x.x.x.x:23424/mediabrowser/
User-Agent:Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.105 Safari/537.36 Vivaldi/1.92.917.43

Query String Parameters
profile:html5
clientName:MediaBrowser
authToken:
<<

nkodak

Serviio newbie

Posts: 3

Joined: Mon Aug 28, 2017 2:34 pm

Post Fri Sep 08, 2017 1:27 pm

Re: error in mediabrowser "hlsjs video file not found"

@zip

OK, after a lot of poking and some updates and reboots, it actually worked externally on the last attempt, so it may be a process load issue on my end. I've been meaning to do an upgrade on some of these systems, so I'll keep an eye on things, but the 1.9.1 beta patch did fix the actual connection issue.

I have NOT checked the logs to see if all the Java errors have resolved themselves or not. Just wanted to give you an update on my situation.

Thanks!
<<

martianw

Streaming enthusiast

Posts: 24

Joined: Fri Dec 14, 2012 2:49 pm

Post Tue Oct 24, 2017 5:42 pm

Re: error in mediabrowser "hlsjs video file not found"

I have the same problem. Started occurring after upgrading to 1.9. From the thread, it's not clear to me what the solution is.

CPU on the server never dips below about 85% idle and the desktop machine I'm running the browser on is a fairly high end machine spec'd for music production.

serviio.log contains a Java stacktrace with the message "[ServiioStatusService] IOException occurred. Returning error code 500 to the REST layer. Message: Transcoded file '/tmp/Serviio/transcoding-temp-5d5543d4e440ac4d25f746261b6794b6.stf/playlist.m3u8' cannot be found, FFmpeg execution probably failed"
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16499

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Oct 25, 2017 12:46 pm

Re: error in mediabrowser "hlsjs video file not found"

can you enable detailed log and try again, then post the log file?
<<

martianw

Streaming enthusiast

Posts: 24

Joined: Fri Dec 14, 2012 2:49 pm

Post Wed Oct 25, 2017 4:28 pm

Re: error in mediabrowser "hlsjs video file not found"

Absolutely. Thanks for the quick response.
Attachments
serviio.log
(188.55 KiB) Downloaded 8 times
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16499

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Oct 26, 2017 8:27 am

Re: error in mediabrowser "hlsjs video file not found"

Are you using the bundled ffmpeg? Looks like our ffmpeg is either too old or too new ;-)
<<

martianw

Streaming enthusiast

Posts: 24

Joined: Fri Dec 14, 2012 2:49 pm

Post Thu Oct 26, 2017 8:37 am

Re: error in mediabrowser "hlsjs video file not found"

Yes, I believe so. I don't recall installing it myself. That said, you never know. Does this help?

  Code:
ffmpeg version git-2012-12-15-75b7e54 Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 15 2012 12:28:47 with gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
  configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3 --enable-x11grab
  libavutil      52. 12.100 / 52. 12.100
  libavcodec     54. 80.100 / 54. 80.100
  libavformat    54. 49.102 / 54. 49.102
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 27.101 /  3. 27.101
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Hyper fast Audio and Video encoder
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16499

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Oct 26, 2017 3:56 pm

Re: error in mediabrowser "hlsjs video file not found"

it's from 2012. on linux you should either build one from sources (links to sources on serviio download page) or get the latest from some repo
<<

martianw

Streaming enthusiast

Posts: 24

Joined: Fri Dec 14, 2012 2:49 pm

Post Thu Oct 26, 2017 4:10 pm

Re: error in mediabrowser "hlsjs video file not found"

OK. Looks like I'll need to build from source then:

  Code:
sudo apt-get install --only-upgrade ffmpeg
[sudo] password for martin:
Reading package lists... Done
Building dependency tree
Reading state information... Done
ffmpeg is already the newest version.
Next

Return to Serviio Support & Help

Who is online

Users browsing this forum: Bing [Bot] and 11 guests

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