Jump to content

iOS unable to load anything, "Access token is required" errors in server log


alexwilson
Go to solution Solved by alexwilson,

Recommended Posts

alexwilson

Theater, web, and Android work fine. On iOS, though, the app (after clearing and re-adding the server entry) can get back the user list but that's about it.  Show and movie list are empty, and the server log is filled with errors like this:

 

2016-03-26 00:00:00.0923 Info App: Application version: 3.0.5882.0
...
2016-03-26 09:15:50.3455 Info HttpServer: HTTP GET http://192.168.1.153:8096/mediabrowser//Movies/Recommendations?&CategoryLimit=10&Fields=ItemCounts%2CPrimaryImageAspectRatio%2CChapters%2CParentId%2CDateCreated%2CMediaStreams%2CGenres%2COverview%2CRemoteTrailers%2CSortName%2CMediaSources&ItemLimit=1&Recursive=0&userId=ddeb156202f34740af3ed4bf82e8b4e4. UserAgent: Media Browser/1.1.4 (iPad; iOS 9.2; Scale/2.00)2016-03-26 09:15:50.3455 Info HttpServer: HTTP GET http://192.168.1.153:8096/mediabrowser/users/ddeb156202f34740af3ed4bf82e8b4e4/items?&Fields=ItemCounts%2CPrimaryImageAspectRatio%2CChapters%2CParentId%2CDateCreated%2CMediaStreams%2CGenres%2COverview%2CRemoteTrailers%2CSortName%2CMediaSources&Filters=IsUnPlayed&IncludeItemTypes=Movie&IsMissing=0&IsVirtualUnaired=0&Limit=10&Recursive=1&SortBy=DateCreated&SortOrder=Descending. UserAgent: Media Browser/1.1.4 (iPad; iOS 9.2; Scale/2.00)
2016-03-26 09:15:50.3455 Error HttpAsyncTaskHandler: Error occured while Processing Request: Access token is required.
*** Error Report ***
Version: 3.0.5882.0
Command line: C:\Users\Alex\AppData\Roaming\MediaBrowser-Server\system\MediaBrowser.ServerApplication.exe -service
Operating system: Microsoft Windows NT 6.2.9200.0
Processor count: 4
64-Bit OS: True
64-Bit Process: True
Program data path: C:\Users\Alex\AppData\Roaming\MediaBrowser-Server
Application Path: C:\Users\Alex\AppData\Roaming\MediaBrowser-Server\system\MediaBrowser.ServerApplication.exe
Access token is required.
MediaBrowser.Controller.Net.SecurityException
  at MediaBrowser.Server.Implementations.HttpServer.Security.AuthService.ValidateSecurityToken(IServiceRequest request, String token)
  at MediaBrowser.Server.Implementations.HttpServer.Security.AuthService.ValidateUser(IServiceRequest request, IAuthenticationAttributes authAttribtues)
  at ServiceStack.ServiceStackHost.ApplyRequestFiltersSingle(IRequest req, IResponse res, Object requestDto)
  at ServiceStack.ServiceStackHost.ApplyRequestFilters(IRequest req, IResponse res, Object requestDto)
  at ServiceStack.Host.RestHandler.ProcessRequestAsync(IRequest httpReq, IResponse httpRes, String operationName)


2016-03-26 09:15:50.3455 Error HttpAsyncTaskHandler: Error occured while Processing Request: Access token is required.
*** Error Report ***
Version: 3.0.5882.0
Command line: C:\Users\Alex\AppData\Roaming\MediaBrowser-Server\system\MediaBrowser.ServerApplication.exe -service
Operating system: Microsoft Windows NT 6.2.9200.0
Processor count: 4
64-Bit OS: True
64-Bit Process: True
Program data path: C:\Users\Alex\AppData\Roaming\MediaBrowser-Server
Application Path: C:\Users\Alex\AppData\Roaming\MediaBrowser-Server\system\MediaBrowser.ServerApplication.exe
Access token is required.
MediaBrowser.Controller.Net.SecurityException
  at MediaBrowser.Server.Implementations.HttpServer.Security.AuthService.ValidateSecurityToken(IServiceRequest request, String token)
  at MediaBrowser.Server.Implementations.HttpServer.Security.AuthService.ValidateUser(IServiceRequest request, IAuthenticationAttributes authAttribtues)
  at ServiceStack.ServiceStackHost.ApplyRequestFiltersSingle(IRequest req, IResponse res, Object requestDto)
  at ServiceStack.ServiceStackHost.ApplyRequestFilters(IRequest req, IResponse res, Object requestDto)
  at ServiceStack.Host.RestHandler.ProcessRequestAsync(IRequest httpReq, IResponse httpRes, String operationName)


2016-03-26 09:15:50.3455 Info HttpServer: HTTP Response 401 to 192.168.1.103. Time: 0ms. http://192.168.1.153:8096/mediabrowser/users/ddeb156202f34740af3ed4bf82e8b4e4/items?&Fields=ItemCounts%2CPrimaryImageAspectRatio%2CChapters%2CParentId%2CDateCreated%2CMediaStreams%2CGenres%2COverview%2CRemoteTrailers%2CSortName%2CMediaSources&Filters=IsUnPlayed&IncludeItemTypes=Movie&IsMissing=0&IsVirtualUnaired=0&Limit=10&Recursive=1&SortBy=DateCreated&SortOrder=Descending
2016-03-26 09:15:50.3455 Info HttpServer: HTTP Response 401 to 192.168.1.103. Time: 0ms. http://192.168.1.153:8096/mediabrowser//Movies/Recommendations?&CategoryLimit=10&Fields=ItemCounts%2CPrimaryImageAspectRatio%2CChapters%2CParentId%2CDateCreated%2CMediaStreams%2CGenres%2COverview%2CRemoteTrailers%2CSortName%2CMediaSources&ItemLimit=1&Recursive=0&userId=ddeb156202f34740af3ed4bf82e8b4e4
2016-03-26 09:15:50.3455 Info HttpServer: HTTP GET http://192.168.1.153:8096/mediabrowser/users/ddeb156202f34740af3ed4bf82e8b4e4/items?&Fields=ItemCounts%2CPrimaryImageAspectRatio%2CChapters%2CParentId%2CDateCreated%2CMediaStreams%2CGenres%2COverview%2CRemoteTrailers%2CSortName%2CMediaSources&Filters=IsResumable&IncludeItemTypes=Movie&Limit=10&Recursive=1&SortBy=DatePlayed&SortOrder=Descending. UserAgent: Media Browser/1.1.4 (iPad; iOS 9.2; Scale/2.00)
2016-03-26 09:15:50.3455 Error HttpAsyncTaskHandler: Error occured while Processing Request: Access token is required.
*** Error Report ***
Version: 3.0.5882.0
Command line: C:\Users\Alex\AppData\Roaming\MediaBrowser-Server\system\MediaBrowser.ServerApplication.exe -service
Operating system: Microsoft Windows NT 6.2.9200.0
Processor count: 4
64-Bit OS: True
64-Bit Process: True
Program data path: C:\Users\Alex\AppData\Roaming\MediaBrowser-Server
Application Path: C:\Users\Alex\AppData\Roaming\MediaBrowser-Server\system\MediaBrowser.ServerApplication.exe
Access token is required.
MediaBrowser.Controller.Net.SecurityException
  at MediaBrowser.Server.Implementations.HttpServer.Security.AuthService.ValidateSecurityToken(IServiceRequest request, String token)
  at MediaBrowser.Server.Implementations.HttpServer.Security.AuthService.ValidateUser(IServiceRequest request, IAuthenticationAttributes authAttribtues)
  at ServiceStack.ServiceStackHost.ApplyRequestFiltersSingle(IRequest req, IResponse res, Object requestDto)
  at ServiceStack.ServiceStackHost.ApplyRequestFilters(IRequest req, IResponse res, Object requestDto)
  at ServiceStack.Host.RestHandler.ProcessRequestAsync(IRequest httpReq, IResponse httpRes, String operationName)


2016-03-26 09:15:50.3611 Info HttpServer: HTTP Response 401 to 192.168.1.103. Time: 16ms. http://192.168.1.153:8096/mediabrowser/users/ddeb156202f34740af3ed4bf82e8b4e4/items?&Fields=ItemCounts%2CPrimaryImageAspectRatio%2CChapters%2CParentId%2CDateCreated%2CMediaStreams%2CGenres%2COverview%2CRemoteTrailers%2CSortName%2CMediaSources&Filters=IsResumable&IncludeItemTypes=Movie&Limit=10&Recursive=1&SortBy=DatePlayed&SortOrder=Descending

 

Link to comment
Share on other sites

  • Solution
alexwilson

Installed the Emby app (was still using the old Media Browser app) and it now works.

Link to comment
Share on other sites

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...