FAQ  •  Register  •  Login

Problem getting folder content on version 1.10.1, OK on 1.10

<<

Daphazard

Serviio newbie

Posts: 12

Joined: Sun May 06, 2018 3:36 pm

Post Sun Apr 07, 2019 8:20 pm

Problem getting folder content on version 1.10.1, OK on 1.10

I use serviio to stream music to an app on my mobile phone (usually Hi-Fi Cast, but I've tried VLC too; same problems on both). With 1.10, this works fine.

Since upgrading to 1.10.1, the app can no longer list the shared files. Instead, it shows this error:
Could not retrieve data from media server: Current state of service prevents invoking that action. Connection error or no response received. (501)


Curiously, the app can still play the music files it remembers from the last time I used it. It seems it can still get files from serviio, just not the list of what's available.
I attempted to play the file with serviio turned off in case the app was caching them; it did not work, confirming that it gets the file from serviio.

Downgrading to 1.10 makes file listing work again. I've tried different settings (firewall on/off etc) and the only thing that makes a difference to whether it works or not is serviio's version.

I guess this is more of a bug report than a request for help. Please let me know if I can get you some information that would help diagnose the issue.

EDIT: Sorry, I forgot the basics.
Serviio is running on KDE Neon 5.15 (based on Ubuntu 18.04)
openjdk 10.0.2
x64
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Apr 08, 2019 6:44 pm

Re: Problem getting folder content on version 1.10.1, OK on

is there a way to clean the cache on the player? It might be using URLs from the older version, which don't work on the new version
<<

Daphazard

Serviio newbie

Posts: 12

Joined: Sun May 06, 2018 3:36 pm

Post Tue Apr 09, 2019 6:33 am

Re: Problem getting folder content on version 1.10.1, OK on

To test that, I cleared all the app's data using the Android OS. When I opened it, it was like I had never used it.

I guided it back to DLNA servers on the local network and found mine. It tried to load but failed with the same message as above. Switching back to 1.10, it got the listing on the first try.

I repeated the same test with VLC and got results that I think are equivalent (the server doesn't appear at all there if I use 1.10.1, it does with 1.10).
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Apr 09, 2019 3:55 pm

Re: Problem getting folder content on version 1.10.1, OK on

can you post serviio.log from 1.10.1 ?
<<

Daphazard

Serviio newbie

Posts: 12

Joined: Sun May 06, 2018 3:36 pm

Post Tue Apr 09, 2019 5:40 pm

Re: Problem getting folder content on version 1.10.1, OK on

I've attached a log file. During that run, I just started 1.10.1, tried to access it from the phone, then stopped it.

In addition, the following appeared in the terminal, at more or less the exact moment the error appeared on the phone:
Exception in thread "Thread-43" java.lang.NullPointerException user@kde-neon
at org.serviio.upnp.protocol.soap.SOAPMessageParser.parseSOAPMessage(SOAPMessageParser.java:48)
at org.serviio.upnp.protocol.soap.ServiceInvoker.invokeService(ServiceInvoker.java:70)
at org.serviio.upnp.webserver.ServiceControlRequestHandler.handleRequest(ServiceControlRequestHandler.java:65)
at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:66)
at org.apache.http.protocol.HttpService.doService(HttpService.java:423)
at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:78)
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:341)
at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:204)
Attachments
serviio.log
(44.24 KiB) Downloaded 284 times
<<

jk50

Serviio lover

Posts: 57

Joined: Mon Jan 09, 2012 9:53 am

Post Tue Apr 09, 2019 9:05 pm

Re: Problem getting folder content on version 1.10.1, OK on

Serviio 1.10.1 does not work with java version 10 .
https://forum.serviio.org/viewtopic.php?f=5&t=24926
Try java 8 or maybe java 11
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Apr 09, 2019 9:39 pm

Re: Problem getting folder content on version 1.10.1, OK on

^ yes. Java 8 is recommended, 11 should work too. I think I have a fix for Java 10 in 2.0
<<

Daphazard

Serviio newbie

Posts: 12

Joined: Sun May 06, 2018 3:36 pm

Post Wed Apr 10, 2019 5:33 pm

Re: Problem getting folder content on version 1.10.1, OK on

I see, thanks. I'll look into upgrading to 11.

EDIT: I'm afraid that didn't work. Java is indeed 11 ("java -version" outputs "openjdk version "11.0.1" 2018-10-16") but the problem is still there.
EDIT 2: It does work with 8.
<<

skiaccianos

User avatar

Streaming enthusiast

Posts: 28

Joined: Thu Nov 26, 2015 2:06 pm

Location: Terni, Umbria, Italia

Post Fri Apr 26, 2019 12:00 pm

Re: Problem getting folder content on version 1.10.1, OK on

It was used to work with 8, get this whit 11:

  Code:
matteo@TMP258-MG:~$ Exception in thread "Thread-116" java.lang.NullPointerException
        at org.serviio.upnp.protocol.soap.SOAPMessageParser.parseSOAPMessage(SOAPMessageParser.java:48)
        at org.serviio.upnp.protocol.soap.ServiceInvoker.invokeService(ServiceInvoker.java:70)
        at org.serviio.upnp.webserver.ServiceControlRequestHandler.handleRequest(ServiceControlRequestHandler.java:65)
        at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:66)
        at org.apache.http.protocol.HttpService.doService(HttpService.java:423)
        at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:78)
        at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:341)
        at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:204)
matteo@TMP258-MG:~$
matteo@TMP258-MG:~$ java --version
openjdk 11.0.3 2019-04-16
OpenJDK Runtime Environment (build 11.0.3+7-Ubuntu-1ubuntu1)
OpenJDK 64-Bit Server VM (build 11.0.3+7-Ubuntu-1ubuntu1, mixed mode, sharing)
matteo@TMP258-MG:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=19.04
DISTRIB_CODENAME=disco
DISTRIB_DESCRIPTION="Ubuntu 19.04"


My BRAVIA can see the server but not the serviio icon nor any content. Unfortunately on the latest Ubuntu java 8 is no more available...
Running Serviio - for several years now - on Debian and Win boxes.
R850R biker, sysadmin & DBA, FOSS and Linux enthusiast (desktop_is_home_dir)
<<

jk50

Serviio lover

Posts: 57

Joined: Mon Jan 09, 2012 9:53 am

Post Fri Apr 26, 2019 2:40 pm

Re: Problem getting folder content on version 1.10.1, OK on

You can install java 8 from ubuntu 18.10, or use a ppa ,here's how
https://askubuntu.com/questions/1135045/how-to-install-the-openjdk-8-ubuntu-19-04
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Apr 26, 2019 5:40 pm

Re: Problem getting folder content on version 1.10.1, OK on

skiaccianos wrote:It was used to work with 8, get this whit 11:.

Can you try with the latest beta?
<<

skiaccianos

User avatar

Streaming enthusiast

Posts: 28

Joined: Thu Nov 26, 2015 2:06 pm

Location: Terni, Umbria, Italia

Post Fri Apr 26, 2019 6:43 pm

Re: Problem getting folder content on version 1.10.1, OK on

I get the err below but v 2.0-SNAPSHOT works perfectly with jdk-11.

  Code:
matteo@TMP258-MG:~$ Exception in thread "Notifier: Thread-44" java.lang.StackOverflowError
        at java.base/sun.security.ssl.TransportContext.isOutboundDone(TransportContext.java:434)
        at java.base/sun.security.ssl.SSLEngineImpl.isOutboundDone(SSLEngineImpl.java:751)
        at java.base/sun.security.ssl.SSLEngineImpl.writeRecord(SSLEngineImpl.java:157)
        at java.base/sun.security.ssl.SSLEngineImpl.wrap(SSLEngineImpl.java:136)
        at java.base/sun.security.ssl.SSLEngineImpl.wrap(SSLEngineImpl.java:116)
        at java.base/javax.net.ssl.SSLEngine.wrap(SSLEngine.java:479)
        at org.simpleframework.transport.Handshake.write(Handshake.java:368)
        at org.simpleframework.transport.Handshake.write(Handshake.java:377)
        at org.simpleframework.transport.Handshake.write(Handshake.java:377)
        at org.simpleframework.transport.Handshake.write(Handshake.java:377)
        at org.simpleframework.transport.Handshake.write(Handshake.java:377)
        at org.simpleframework.transport.Handshake.write(Handshake.java:352)
        at org.simpleframework.transport.Handshake.exchange(Handshake.java:290)
        at org.simpleframework.transport.Handshake.process(Handshake.java:263)
        at org.simpleframework.transport.Handshake.resume(Handshake.java:244)
        at org.simpleframework.transport.Task.execute(Task.java:138)
        at org.simpleframework.transport.Task.run(Task.java:103)
        at org.simpleframework.transport.Handshake.resume(Handshake.java:247)
        at org.simpleframework.transport.Task.execute(Task.java:138)
        at org.simpleframework.transport.Task.run(Task.java:103)
        at org.simpleframework.transport.Handshake.resume(Handshake.java:247)
        at org.simpleframework.transport.Task.execute(Task.java:138)
        at org.simpleframework.transport.Task.run(Task.java:103)
        at org.simpleframework.transport.Handshake.resume(Handshake.java:247)
        at org.simpleframework.transport.Task.execute(Task.java:138)
        at org.simpleframework.transport.Task.run(Task.java:103)


Thank you zip, serviio keep being great software!
Running Serviio - for several years now - on Debian and Win boxes.
R850R biker, sysadmin & DBA, FOSS and Linux enthusiast (desktop_is_home_dir)
<<

carpler

Serviio newbie

Posts: 9

Joined: Fri Aug 25, 2017 8:14 am

Post Tue Apr 30, 2019 8:56 pm

Re: Problem getting folder content on version 1.10.1, OK on

I got the same problem.
Serviio 1.10.1 on Ubuntu Server 18.04: I can see Serviio running on my Samsung TV and LG blu-ray, but no folder contents are displayed.
I think that Java 11 is installed on my machine (not sure how to know the exact version number, but the Server is updated with all recents updates).
It seems that this problem affects other users (I see also this thread on this forum).
Can be released a fix version for this problem before Serviio 2.0?
<<

atc98092

User avatar

DLNA master

Posts: 5213

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Tue Apr 30, 2019 11:30 pm

Re: Problem getting folder content on version 1.10.1, OK on

carpler wrote:I got the same problem.
Serviio 1.10.1 on Ubuntu Server 18.04: I can see Serviio running on my Samsung TV and LG blu-ray, but no folder contents are displayed.
I think that Java 11 is installed on my machine (not sure how to know the exact version number, but the Server is updated with all recents updates).
It seems that this problem affects other users (I see also this thread on this forum).
Can be released a fix version for this problem before Serviio 2.0?


I believe the problem with Java 11 is resolved with Serviio 2.0, but Zip will need to confirm that.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

carpler

Serviio newbie

Posts: 9

Joined: Fri Aug 25, 2017 8:14 am

Post Thu May 09, 2019 10:46 am

Re: Problem getting folder content on version 1.10.1, OK on

Installed the Serviio 2.0 beta 2: now I can browse my directory from my TV Samsung as before.
Not tested for long time, but all seems to works again.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 50 guests

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