FAQ  •  Register  •  Login

Mediabrowser AuthenticationException on Ubuntu

<<

eric_F

Serviio newbie

Posts: 2

Joined: Fri Feb 13, 2015 3:03 pm

Post Fri Feb 13, 2015 3:15 pm

Mediabrowser AuthenticationException on Ubuntu

Hello,

Servioo with Mediabrowser was running fine on my computer running Ubuntu 14.04 until a few days ago. Now I cannot connect to mediabrowser. Both the android app and the browser (in my LAN or from another network) disconnect instantly, although it was wokring fine before.

The DLNA server is still running fine, I can connect to it with either a computer or my TV.

The last changes on the server were a normal Ubuntu software upgrade (not a dist-upgrade) that changed the kernel and some other things. I also set up the ubuntu init.d script found on this page to start servioo at startup:
viewtopic.php?f=6&t=71
That being said, starting serviio manually (serviio.sh) doesn't work any better.

Here is what I think is the relevant part of the log file (with verbosity set to DEBUG):
  Code:
2015-02-12 18:41:54,201 DEBUG [LoginServerResource] Successful login, generating security token
2015-02-12 18:41:54,260 DEBUG [DiscoveryAdvertisementNotifier] Multicasting SSDP alive using interface eth0 (eth0) and address 192.168.0.100, timeout = 0
2015-02-12 18:41:54,264 DEBUG [DiscoveryAdvertisementNotifier] Sending 6 'alive' messages describing device 26f23a08-b29c-32cb-9e8e-478dc9a82680
2015-02-12 18:41:54,727 WARN  [ServiioStatusService] AuthenticationException occured. Returning error code 401 to the REST layer. Message: The provided authentication token is invalid or expired.
2015-02-12 18:41:54,727 DEBUG [ServiioStatusService] Detailed exception:
org.serviio.restlet.AuthenticationException: The provided authentication token is invalid or expired.
   at org.serviio.upnp.service.contentdirectory.rest.resources.server.LoginServerResource.validateToken(LoginServerResource.java:73)
   at org.serviio.upnp.service.contentdirectory.rest.resources.server.AbstractRestrictedCDSServerResource.doConditionalHandle(AbstractRestrictedCDSServerResource.java:45)
   at org.restlet.resource.ServerResource.handle(ServerResource.java:846)
   at org.serviio.upnp.service.contentdirectory.rest.resources.server.CDSBrowseServerResource.handle(CDSBrowseServerResource.java:139)
   at org.restlet.resource.Finder.handle(Finder.java:510)
   at org.restlet.routing.Filter.doHandle(Filter.java:156)
   at org.restlet.routing.Filter.handle(Filter.java:203)
   at org.restlet.routing.Router.doHandle(Router.java:497)
   at org.restlet.routing.Router.handle(Router.java:737)
   at org.restlet.routing.Filter.doHandle(Filter.java:156)
   at org.restlet.routing.Filter.handle(Filter.java:203)
   at org.restlet.routing.Filter.doHandle(Filter.java:156)
   at org.restlet.routing.Filter.handle(Filter.java:203)
   at org.restlet.routing.Filter.doHandle(Filter.java:156)
   at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:151)
   at org.restlet.routing.Filter.handle(Filter.java:203)
   at org.restlet.routing.Filter.doHandle(Filter.java:156)
   at org.restlet.routing.Filter.handle(Filter.java:203)
   at org.restlet.engine.ChainHelper.handle(ChainHelper.java:111)
   at org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:72)
   at org.restlet.Application.handle(Application.java:391)
   at org.restlet.routing.Filter.doHandle(Filter.java:156)
   at org.restlet.routing.Filter.handle(Filter.java:203)
   at org.restlet.routing.Router.doHandle(Router.java:497)
   at org.restlet.routing.Router.handle(Router.java:737)
   at org.restlet.routing.Filter.doHandle(Filter.java:156)
   at org.restlet.routing.Filter.handle(Filter.java:203)
   at org.restlet.routing.Router.doHandle(Router.java:497)
   at org.restlet.routing.Router.handle(Router.java:737)
   at org.restlet.routing.Filter.doHandle(Filter.java:156)
   at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:151)
   at org.restlet.routing.Filter.handle(Filter.java:203)
   at org.restlet.routing.Filter.doHandle(Filter.java:156)
   at org.restlet.routing.Filter.handle(Filter.java:203)
   at org.restlet.engine.ChainHelper.handle(ChainHelper.java:111)
   at org.restlet.Component.handle(Component.java:388)
   at org.restlet.Server.handle(Server.java:488)
   at org.restlet.engine.http.connector.BaseServerHelper.handle(BaseServerHelper.java:158)
   at org.restlet.engine.http.connector.BaseServerHelper.handleInbound(BaseServerHelper.java:167)
   at org.restlet.engine.http.connector.BaseHelper.handleNextInbound(BaseHelper.java:418)
   at org.restlet.engine.http.connector.Connection.readMessages(Connection.java:696)
   at org.restlet.engine.http.connector.Controller$2.run(Controller.java:95)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:745)
2015-02-12 18:41:56,076 DEBUG [DiscoveryAdvertisementNotifier] Will advertise again in 00:03:19 (advertisement duration is 1800 sec.)


Does someone have any idea what could be going on here?

Thanks,

Eric
<<

eric_F

Serviio newbie

Posts: 2

Joined: Fri Feb 13, 2015 3:03 pm

Post Sun Mar 01, 2015 10:35 am

Re: Mediabrowser AuthenticationException on Ubuntu

An update just in case someone encounters the same problem: I couldn't fix the problem but after upgrading from Serviio 1.4.1.2 to Serviio 1.5 (which also meant installing Oracle Java 8) the issue dissapeared.
<<

doemer

Serviio newbie

Posts: 3

Joined: Mon Apr 20, 2015 8:29 am

Post Mon Apr 20, 2015 9:00 am

Re: Mediabrowser AuthenticationException on Ubuntu

I have exactly the same issue. Everythingelse works fine but I can't access the mediabrowser since I updated my CentOS 7 Core with latest patches. Maybe a reinstallation will solve the problem.

Return to Serviio Support & Help

Who is online

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

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