Closed sam-o closed 4 years ago
I tried changing the Jellyfin base path to /emby instead of /jellyfin and managed to login but the library isn't loading. Here are some additional logs:
13:06:33.414 T:6104281088 DEBUG: CurlFile::Open(0x16bd7d9d0) http://<Unraid IP>:8096/emby/Users/AuthenticateByName
13:06:33.415 T:6104281088 DEBUG: Curl::Debug - TEXT: Hostname <Unraid IP> was found in DNS cache
13:06:33.415 T:6104281088 DEBUG: Curl::Debug - TEXT: Trying <Unraid IP>...
13:06:33.418 T:6104281088 DEBUG: Curl::Debug - TEXT: Connected to <Unraid IP> (<Unraid IP>) port 8096 (#5)
13:06:33.418 T:6104281088 DEBUG: Curl::Debug - HEADER_OUT: POST /emby/Users/AuthenticateByName HTTP/1.1
13:06:33.418 T:6104281088 DEBUG: Curl::Debug - HEADER_OUT: Host: <Unraid IP>:8096
13:06:33.418 T:6104281088 DEBUG: Curl::Debug - HEADER_OUT: Content-Range: bytes 0-/101
13:06:33.418 T:6104281088 DEBUG: Curl::Debug - HEADER_OUT: User-Agent: MrMC/3.9-6 (AppleTV; CPU OS 13_3_1 like Mac OS X)MrMC HW_AppleTV/6.2 App_Bitness/64 Version/3.9-6-Git:2020-02-13-1c20d28-dirty
13:06:33.418 T:6104281088 DEBUG: Curl::Debug - HEADER_OUT: Accept: application/json
13:06:33.418 T:6104281088 DEBUG: Curl::Debug - HEADER_OUT: Accept-Charset: UTF-8,*;q=0.8
13:06:33.418 T:6104281088 DEBUG: Curl::Debug - HEADER_OUT: Cache-Control: no-cache
13:06:33.418 T:6104281088 DEBUG: Curl::Debug - HEADER_OUT: Content-Type: application/json
13:06:33.418 T:6104281088 DEBUG: Curl::Debug - HEADER_OUT: X-Emby-Authorization: MediaBrowser Client="MrMC", Device="Living Room", DeviceId="<Device Id>", Version="3.9-6", UserId=""
13:06:33.418 T:6104281088 DEBUG: Curl::Debug - HEADER_OUT: Content-Length: 101
13:06:33.418 T:6104281088 DEBUG: Curl::Debug - TEXT: upload completely sent off: 101 out of 101 bytes
13:06:33.654 T:6104281088 DEBUG: Curl::Debug - HEADER_IN: HTTP/1.1 200 OK
13:06:33.654 T:6104281088 DEBUG: Curl::Debug - HEADER_IN: Date: Tue, 31 Mar 2020 02:06:33 GMT
13:06:33.654 T:6104281088 DEBUG: Curl::Debug - HEADER_IN: Content-Type: application/json; charset=utf-8
13:06:33.654 T:6104281088 DEBUG: Curl::Debug - HEADER_IN: Server: Microsoft-NetCore/2.0, UPnP/1.0 DLNADOC/1.50
13:06:33.654 T:6104281088 DEBUG: Curl::Debug - HEADER_IN: Content-Length: 2641
13:06:33.654 T:6104281088 DEBUG: Curl::Debug - HEADER_IN: Expires: 0
13:06:33.655 T:6104281088 DEBUG: Curl::Debug - HEADER_IN: Access-Control-Allow-Headers: Accept, Accept-Language, Authorization, Cache-Control, Content-Disposition, Content-Encoding, Content-Language, Content-Length, Content-MD5, Content-Range, Content-Type, Date, Host, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-Since, Origin, OriginToken, Pragma, Range, Slug, Transfer-Encoding, Want-Digest, X-MediaBrowser-Token, X-Emby-Authorization
13:06:33.655 T:6104281088 DEBUG: Curl::Debug - HEADER_IN: Access-Control-Allow-Methods: GET, POST, PUT, DELETE, PATCH, OPTIONS
13:06:33.655 T:6104281088 DEBUG: Curl::Debug - HEADER_IN: Access-Control-Allow-Origin: *
13:06:33.655 T:6104281088 DEBUG: Curl::Debug - TEXT: Closing connection 5
13:06:33.664 T:6104281088 DEBUG: found key /userdata/profiles.xml
13:06:33.666 T:6104281088 DEBUG: Previous line repeats 1 times.
13:06:33.666 T:6104281088 DEBUG: NSUSerDefaults: compressed /userdata/profiles.xml from 943 to 348
13:06:33.668 T:6104281088 DEBUG: found key /userdata/guisettings.xml
13:06:33.678 T:6104281088 DEBUG: Previous line repeats 1 times.
13:06:33.678 T:6104281088 DEBUG: NSUSerDefaults: compressed /userdata/guisettings.xml from 31463 to 6468
13:06:33.679 T:6104281088 DEBUG: CEmbyServices:OnSettingAction manual sign-in ok
13:06:33.683 T:6104281088 DEBUG: found key /userdata/profiles.xml
13:06:33.683 T:6104281088 DEBUG: Previous line repeats 1 times.
13:06:33.683 T:6104281088 DEBUG: NSUSerDefaults: compressed /userdata/profiles.xml from 943 to 348
13:06:33.684 T:6104281088 DEBUG: found key /userdata/guisettings.xml
13:06:33.689 T:6104281088 DEBUG: Previous line repeats 1 times.
13:06:33.689 T:6104281088 DEBUG: NSUSerDefaults: compressed /userdata/guisettings.xml from 31483 to 6538
13:06:33.691 T:6101987328 DEBUG: CEmbyServices::Process bgn
13:06:34.444 T:6101987328 DEBUG: CEmbyServices::Process has gateway1
13:06:34.444 T:6101987328 DEBUG: CurlFile::Open(0x16bb4e860) http://<Unraid IP>:8096/emby/system/info/public
13:06:34.445 T:6101987328 DEBUG: Curl::Debug - TEXT: Hostname <Unraid IP> was found in DNS cache
13:06:34.445 T:6101987328 DEBUG: Curl::Debug - TEXT: Trying <Unraid IP>...
13:06:34.447 T:6101987328 DEBUG: Curl::Debug - TEXT: Connected to <Unraid IP> (<Unraid IP>) port 8096 (#6)
13:06:34.447 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: GET /emby/system/info/public HTTP/1.1
13:06:34.447 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: Host: <Unraid IP>:8096
13:06:34.447 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: Range: bytes=0-
13:06:34.447 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: User-Agent: MrMC/3.9-6 (AppleTV; CPU OS 13_3_1 like Mac OS X)MrMC HW_AppleTV/6.2 App_Bitness/64 Version/3.9-6-Git:2020-02-13-1c20d28-dirty
13:06:34.447 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: Accept: */*
13:06:34.447 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: Accept-Charset: UTF-8,*;q=0.8
13:06:34.447 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: Cache-Control: no-cache
13:06:34.447 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: Content-Type: application/json
13:06:34.454 T:6101987328 DEBUG: Curl::Debug - HEADER_IN: HTTP/1.1 200 OK
13:06:34.454 T:6101987328 DEBUG: Curl::Debug - HEADER_IN: Date: Tue, 31 Mar 2020 02:06:34 GMT
13:06:34.455 T:6101987328 DEBUG: Curl::Debug - HEADER_IN: Content-Type: application/json; charset=utf-8
13:06:34.455 T:6101987328 DEBUG: Curl::Debug - HEADER_IN: Server: Microsoft-NetCore/2.0, UPnP/1.0 DLNADOC/1.50
13:06:34.455 T:6101987328 DEBUG: Curl::Debug - HEADER_IN: Content-Length: 191
13:06:34.455 T:6101987328 DEBUG: Curl::Debug - HEADER_IN: Expires: 0
13:06:34.455 T:6101987328 DEBUG: Curl::Debug - HEADER_IN: Access-Control-Allow-Headers: Accept, Accept-Language, Authorization, Cache-Control, Content-Disposition, Content-Encoding, Content-Language, Content-Length, Content-MD5, Content-Range, Content-Type, Date, Host, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-Since, Origin, OriginToken, Pragma, Range, Slug, Transfer-Encoding, Want-Digest, X-MediaBrowser-Token, X-Emby-Authorization
13:06:34.455 T:6101987328 DEBUG: Curl::Debug - HEADER_IN: Access-Control-Allow-Methods: GET, POST, PUT, DELETE, PATCH, OPTIONS
13:06:34.455 T:6101987328 DEBUG: Curl::Debug - HEADER_IN: Access-Control-Allow-Origin: *
13:06:34.455 T:6101987328 DEBUG: Curl::Debug - TEXT: Closing connection 6
13:06:34.455 T:6101987328 DEBUG: CurlFile::Open(0x16bb4e780) http://<Unraid IP>:8096/Users/<User Id>/Views
13:06:34.456 T:6101987328 DEBUG: Curl::Debug - TEXT: Hostname <Unraid IP> was found in DNS cache
13:06:34.456 T:6101987328 DEBUG: Curl::Debug - TEXT: Trying <Unraid IP>...
13:06:34.458 T:6101987328 DEBUG: Curl::Debug - TEXT: Connected to <Unraid IP> (<Unraid IP>) port 8096 (#7)
13:06:34.458 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: GET /Users/<User Id>/Views HTTP/1.1
13:06:34.458 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: Host: <Unraid IP>:8096
13:06:34.458 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: Range: bytes=0-
13:06:34.458 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: User-Agent: MrMC/3.9-6 (AppleTV; CPU OS 13_3_1 like Mac OS X)MrMC HW_AppleTV/6.2 App_Bitness/64 Version/3.9-6-Git:2020-02-13-1c20d28-dirty
13:06:34.458 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: Accept: application/json
13:06:34.458 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: Accept-Charset: UTF-8,*;q=0.8
13:06:34.458 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: Cache-Control: no-cache
13:06:34.458 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: Content-Type: application/json
13:06:34.458 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: X-Emby-Authorization: MediaBrowser Client="MrMC", Device="Living Room", DeviceId="<Device Id>", Version="3.9-6", UserId="<User Id>"
13:06:34.458 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: X-MediaBrowser-Token: a3d974cd3cc844298d40dbd82937b79a
13:06:34.462 T:6101987328 DEBUG: Curl::Debug - HEADER_IN: HTTP/1.1 302 Found
13:06:34.462 T:6101987328 DEBUG: Curl::Debug - HEADER_IN: Date: Tue, 31 Mar 2020 02:06:34 GMT
13:06:34.462 T:6101987328 DEBUG: Curl::Debug - HEADER_IN: Server: Kestrel
13:06:34.462 T:6101987328 DEBUG: Curl::Debug - HEADER_IN: Content-Length: 0
13:06:34.462 T:6101987328 DEBUG: Curl::Debug - HEADER_IN: Location: /emby/web/index.html
13:06:34.462 T:6101987328 DEBUG: Curl::Debug - TEXT: Closing connection 7
13:06:34.462 T:6101987328 DEBUG: Curl::Debug - TEXT: Issue another request to this URL: 'http://<Unraid IP>:8096/emby/web/index.html'
13:06:34.462 T:6101987328 DEBUG: Curl::Debug - TEXT: Hostname <Unraid IP> was found in DNS cache
13:06:34.462 T:6101987328 DEBUG: Curl::Debug - TEXT: Trying <Unraid IP>...
13:06:34.465 T:6111735808 DEBUG: CEmbyClientSync: websocket connected to <Server Id>
13:06:34.466 T:6101987328 DEBUG: Curl::Debug - TEXT: Connected to <Unraid IP> (<Unraid IP>) port 8096 (#8)
13:06:34.466 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: GET /emby/web/index.html HTTP/1.1
13:06:34.466 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: Host: <Unraid IP>:8096
13:06:34.466 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: Range: bytes=0-
13:06:34.466 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: User-Agent: MrMC/3.9-6 (AppleTV; CPU OS 13_3_1 like Mac OS X)MrMC HW_AppleTV/6.2 App_Bitness/64 Version/3.9-6-Git:2020-02-13-1c20d28-dirty
13:06:34.466 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: Referer: http://<Unraid IP>:8096/Users/<User Id>/Views
13:06:34.466 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: Accept: application/json
13:06:34.466 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: Accept-Charset: UTF-8,*;q=0.8
13:06:34.466 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: Cache-Control: no-cache
13:06:34.466 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: Content-Type: application/json
13:06:34.466 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: X-Emby-Authorization: MediaBrowser Client="MrMC", Device="Living Room", DeviceId="<Device Id>", Version="3.9-6", UserId="<User Id>"
13:06:34.466 T:6101987328 DEBUG: Curl::Debug - HEADER_OUT: X-MediaBrowser-Token: a3d974cd3cc844298d40dbd82937b79a
13:06:34.478 T:6101987328 DEBUG: Curl::Debug - HEADER_IN: HTTP/1.1 206 Partial Content
13:06:34.478 T:6101987328 DEBUG: Curl::Debug - HEADER_IN: Date: Tue, 31 Mar 2020 02:06:34 GMT
13:06:34.478 T:6101987328 DEBUG: Curl::Debug - HEADER_IN: Content-Type: text/html; charset=UTF-8
13:06:34.478 T:6101987328 DEBUG: Curl::Debug - HEADER_IN: Server: Microsoft-NetCore/2.0, UPnP/1.0 DLNADOC/1.50
13:06:34.478 T:6101987328 DEBUG: Curl::Debug - HEADER_IN: Content-Length: 7302
13:06:34.478 T:6101987328 DEBUG: Curl::Debug - HEADER_IN: Cache-Control: public
13:06:34.478 T:6101987328 DEBUG: Curl::Debug - HEADER_IN: Content-Range: bytes 0-7301/7302
13:06:34.478 T:6101987328 DEBUG: Curl::Debug - HEADER_IN: Accept-Ranges: bytes
13:06:34.478 T:6101987328 DEBUG: Curl::Debug - HEADER_IN: Access-Control-Allow-Headers: Accept, Accept-Language, Authorization, Cache-Control, Content-Disposition, Content-Encoding, Content-Language, Content-Length, Content-MD5, Content-Range, Content-Type, Date, Host, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-Since, Origin, OriginToken, Pragma, Range, Slug, Transfer-Encoding, Want-Digest, X-MediaBrowser-Token, X-Emby-Authorization
13:06:34.478 T:6101987328 DEBUG: Curl::Debug - HEADER_IN: Access-Control-Allow-Methods: GET, POST, PUT, DELETE, PATCH, OPTIONS
13:06:34.478 T:6101987328 DEBUG: Curl::Debug - HEADER_IN: Access-Control-Allow-Origin: *
13:06:34.479 T:6101987328 DEBUG: CCurlFile::Open - effective URL: <http://<Unraid IP>:8096/emby/web/index.html>
13:06:34.479 T:6101987328 DEBUG: Curl::Debug - TEXT: Closing connection 8
13:06:34.479 T:6101987328 ERROR: CEmbyClient::FetchViews: invalid response for library views from http://HOSTNAME:8096/Users/<User Id>/Views|&X-MediaBrowser-Token=EMBYTOKEN
13:06:34.479 T:6101987328 NOTICE: CEmbyServices::CheckEmbyServers Server found <Server Id>
13:06:34.479 T:6112882688 DEBUG: CGUIWindowHome::Announce, type: 16, from xbmc, message UpdateRecentlyAdded
13:06:34.479 T:6112882688 DEBUG: CGUIWindowHome::Announce, type: 32, from xbmc, message UpdateRecentlyAdded
I was able to get this to work just now. I did a manual login just like yourself, for jellyfinI am on version 10.5.5
inside a container like yourself also.
I got it working by removing the basepath in jellyfin (it's set to jellyfin in the container I'm using - comment for reference https://github.com/jellyfin/jellyfin/issues/2706#issuecomment-607207269). Closing this issue.
I raised this as issue 2706 on the Jellyfin page and they directed me to raise an issue here.
Describe the bug Connecting to Jellyfin from MrMC using Emby manual sign-in is failing after updating the Jellyfin version.
System (please complete the following information):
To Reproduce
Expected behavior MrMC should connect to Jellyfin and see Jellyfin as a source.
Logs From the MrMC logs below it looks like the POST request is redirected to a GET.
Additional context This was working up until the Jellyfin docker container was updated. I'm not sure which version I had running previously.