Jump to content

Loop to login screen after server reinstall


Starlionblue

Recommended Posts

Starlionblue

I've reinstalled the server. It works fine. I can connect from other devices, e.g. web, iOS.

 

When connecting with Emby for WMC I get the login screen. Users are authenticated (as per server telling me) but after 2 "dots" appear I'm bounced back to login screen.

 

I've tried reinstalling, including the programdata folder, removing and adding Media Center from Windows. Rebooting obviously...

 

Logs in Emby for WMC show nothing. Server log here. Name is server-63578871098. Should be around times 14:30-15:00.

Link to comment
Share on other sites

Starlionblue

I'd have to see the EMC log to have any clue what was going on here.

 

Figured out where those logs are. :D  I've put them here. Should be in some of the following:

MBClassic-26920158a5228152cdf48f5a3609f8d275ef69c

MBClassic-2692015eb6be68def12449d8daf8d2a3928cf8a

MBClassic-2692015349159072383455e9d80c8122006e79e

MBClassic-2692015a8e20fcc8121442282c3006a62f96d99

MBClassic-2692015e5725e33a22a491eacd97fed870efe65

MBClassic-26920153d083b54c84d426086bd7fdf2f58f7a1

Link to comment
Share on other sites

Starlionblue

Sorry can't reproduce since it all it works now.  :huh:

 

However check out log names MBClassic-2692015ed00822e685142f3a015db30bb6ea2ba and MBClassic-2692015141b65d347e3487c99050d18593bdba0. There's an error in the last few lines as you can see below.

 

2015-09-26 14:54:26.0430,Info,,Connected to ws://10.0.0.50:8096/mediabrowser,1,Application
2015-09-26 14:54:26.0530,Debug,,Sending Http Post to http://10.0.0.50:8096/mediabrowser/Sessions/Capabilities?format=Json,1,Application
2015-09-26 14:54:26.0707,Debug,,Navigating to My Library item type MediaBrowser.Library.FolderModel,1,Application
2015-09-26 14:54:26.0717,Debug,,Loading display prefs for ,1,Application
2015-09-26 14:54:26.0757,Info,,Sending Http Get to http://10.0.0.50:8096/mediabrowser/DisplayPreferences/a8641f4d-3325-0e61-1cdb-5fc6d4a57133?userId=253d809986f44e3da6ad3cee0f2f754c&client=MBC&format=Json,1,Application
2015-09-26 14:54:26.1409,Info,,Sending Http Get to http://10.0.0.50:8096/mediabrowser/Users/253d809986f44e3da6ad3cee0f2f754c/Views?format=Json,1,Application
2015-09-26 14:54:26.1609,Debug,,Unauthorized Request received from server - logging out,1,Application
2015-09-26 14:54:26.2009,Error,,Error getting response from http://10.0.0.50:8096/mediabrowser/Users/253d809986f44e3da6ad3cee0f2f754c/Views?format=Json ( Exception.  Type=System.Net.WebException Msg=The remote server returned an error: (401) Unauthorized. Src=System Method=GetResponse Line=0 Col=0 [n] StackTrace= [n]    at System.Net.HttpWebRequest.GetResponse() [n]    at MediaBrowser.ApiInteraction.MbHttpClient.Get(String url) ),1,Application
2015-09-26 14:54:26.2209,Debug,,GoToPage: resx://MediaBrowser/MediaBrowser.Resources/Page,1,Application

2015-09-26 14:54:31.2281,Info,,Connected to ws://10.0.0.50:8096/mediabrowser,1,Application
2015-09-26 14:54:31.2281,Debug,,Sending Http Post to http://10.0.0.50:8096/mediabrowser/Sessions/Capabilities?format=Json,1,Application
2015-09-26 14:54:31.2381,Debug,,Navigating to My Library item type MediaBrowser.Library.FolderModel,1,Application
2015-09-26 14:54:31.2381,Debug,,Loading display prefs for ,1,Application
2015-09-26 14:54:31.2481,Info,,Sending Http Get to http://10.0.0.50:8096/mediabrowser/DisplayPreferences/6fe5f722-46fb-6749-90ce-435802c47e14?userId=c43ed8f1a6db435085b234a90a1c0380&client=MBC&format=Json,1,Application
2015-09-26 14:54:31.3081,Info,,Sending Http Get to http://10.0.0.50:8096/mediabrowser/Users/c43ed8f1a6db435085b234a90a1c0380/Views?format=Json,1,Application
2015-09-26 14:54:31.3281,Debug,,Unauthorized Request received from server - logging out,1,Application
2015-09-26 14:54:31.3681,Error,,Error getting response from http://10.0.0.50:8096/mediabrowser/Users/c43ed8f1a6db435085b234a90a1c0380/Views?format=Json ( Exception.  Type=System.Net.WebException Msg=The remote server returned an error: (401) Unauthorized. Src=System Method=GetResponse Line=0 Col=0 [n] StackTrace= [n]    at System.Net.HttpWebRequest.GetResponse() [n]    at MediaBrowser.ApiInteraction.MbHttpClient.Get(String url) ),1,Application
2015-09-26 14:54:31.3881,Debug,,GoToPage: resx://MediaBrowser/MediaBrowser.Resources/Page,1,Application
Link to comment
Share on other sites

That is an authorization failure.

 

Did you have time or device-based access restrictions on the user in question?

Link to comment
Share on other sites

Starlionblue

That is an authorization failure.

 

Did you have time or device-based access restrictions on the user in question?

 

No restrictions. And all my users had the problem.

 

The problem came about after uninstalling the server. It had been in the old "Mediabrowser-Server" location, and is now in the "Emby-Server" location. I used the server backup plugin to backup and restore all settings.

Link to comment
Share on other sites

Starlionblue

Happened again. This time it was from the web interface. I log in. The log file shows login worked. Then immediately bounced out to the login screen.

 

Solution: Close the tab and open a new one. Which I guess in Emby for WMC is not an option.

2015-09-28 18:16:25.3542 Info - App: HttpClientManager POST: http://www.mb3admin.com/admin/service/registration/validate
2015-09-28 18:16:29.9744 Info - UserManager: Authentication request for Andreas has succeeded.
2015-09-28 18:16:30.1935 Info - App: HttpClientManager GET: http://www.mb3admin.com/admin/service/MB3Packages.json
2015-09-28 18:16:30.2325 Info - App: HttpClientManager GET: http://www.mb3admin.com/admin/service/MB3Packages.json
2015-09-28 18:16:30.3545 Info - App: ActivityLogWebSocketListener Begin transmitting over websocket to 223.197.66.178:55651
2015-09-28 18:16:49.8986 Info - UserManager: Authentication request for Andreas has succeeded.
2015-09-28 18:16:50.5368 Info - App: SessionInfoWebSocketListener Begin transmitting over websocket to 223.197.66.178:56296
2015-09-28 18:16:50.5368 Info - App: ScheduledTasksWebSocketListener Begin transmitting over websocket to 223.197.66.178:56296
2015-09-28 18:16:50.5368 Info - App: ActivityLogWebSocketListener Begin transmitting over websocket to 223.197.66.178:56296
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...