Jump to content

Access token is invalid or expired.


Recommended Posts

Posted
I keep getting this error, repeated over and over, once every few seconds.  I don't see any scheduled jobs running, but the CPU is 100%.

 

 

2018-09-05 22:59:02.725 Error HttpServer: Error processing request

        *** Error Report ***

        Version: 3.3.1.12

        Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb

        Operating system: Unix 4.9.0.8

        64-Bit OS: True

        64-Bit Process: True

        User Interactive: True

        Processor count: 1

        Program data path: /var/lib/emby

        Application directory: /opt/emby-server/system

        MediaBrowser.Controller.Net.SecurityException: Access token is invalid or expired.

           at Emby.Server.Implementations.HttpServer.Security.AuthService.ValidateSecurityToken(IRequest request, String token)

           at Emby.Server.Implementations.HttpServer.Security.AuthService.ValidateUser(IRequest request, IAuthenticationAttributes authAttribtues)

           at Emby.Server.Implementations.HttpServer.Security.AuthService.Authenticate(IRequest request, IAuthenticationAttributes authAttribtues)

           at MediaBrowser.Controller.Net.AuthenticatedAttribute.RequestFilter(IRequest request, IResponse response, Object requestDto)

           at Emby.Server.Implementations.HttpServer.HttpListenerHost.ApplyRequestFilters(IRequest req, IResponse res, Object requestDto)

           at Emby.Server.Implementations.Services.ServiceHandler.<ProcessRequestAsync>d__13.MoveNext()

        --- End of stack trace from previous location where exception was thrown ---

           at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

           at Emby.Server.Implementations.HttpServer.HttpListenerHost.<RequestHandler>d__70.MoveNext()

        MediaBrowser.Controller.Net.SecurityException

           at Emby.Server.Implementations.HttpServer.Security.AuthService.ValidateSecurityToken(IRequest request, String token)

           at Emby.Server.Implementations.HttpServer.Security.AuthService.ValidateUser(IRequest request, IAuthenticationAttributes authAttribtues)

           at Emby.Server.Implementations.HttpServer.Security.AuthService.Authenticate(IRequest request, IAuthenticationAttributes authAttribtues)

           at MediaBrowser.Controller.Net.AuthenticatedAttribute.RequestFilter(IRequest request, IResponse response, Object requestDto)

           at Emby.Server.Implementations.HttpServer.HttpListenerHost.ApplyRequestFilters(IRequest req, IResponse res, Object requestDto)

           at Emby.Server.Implementations.Services.ServiceHandler.<ProcessRequestAsync>d__13.MoveNext()

        --- End of stack trace from previous location where exception was thrown ---

           at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

           at Emby.Server.Implementations.HttpServer.HttpListenerHost.<RequestHandler>d__70.MoveNext()

 

 

 

I did a search and luke advised it was an app that had an expired token but there was no elaboration after that.

 

What is the next steps to identify the offending component?

Happy2Play
Posted

Any reason you are on a server that is so outdated?

 

Version: 3.3.1.12

 

Could that apps be newer than the server?

Posted

By itself this doesn't mean anything. It doesn't even mean there's a problem. We'd have to look at the complete log file in order to understand the full context of what happened. thanks.

Posted

What problem are you experiencing?

Posted

Emby seemed to be sluggish on the two servers and when I tailed the logs, I saw this error occurring very frequently, and I was not able to locate a cause.  I noticed the CPU hight at the time (emby was > 90%) but there was nobody watching any content, and there were no scheduled tasks running.

 

But this morning everything was fine.

Posted

Ok, the next release will have major performance improvements. Thanks.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...