Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get trakt to sync #466

Closed
AHaymond opened this issue Oct 12, 2017 · 14 comments
Closed

Cannot get trakt to sync #466

AHaymond opened this issue Oct 12, 2017 · 14 comments

Comments

@AHaymond
Copy link

AHaymond commented Oct 12, 2017

I cannot get trakt to sync at all. I have the develop branch v1.3.2 installed and my logs keep repeating this.

2017-10-12 12:34:15,870 - plugin.managers.session.s_websocket (7f0bd67fc700) :  INFO (plugin.managers.session.s_websocket:1159) - Unable to find session with key 2
2017-10-12 12:34:33,837 - plugin.scrobbler.core.engine     (7f0bd67fc700) :  INFO (plugin.scrobbler.core.engine:1159) - Ignoring u'paused' event for <Session session_key: u'4:1', state: u'create'>, invalid state transition

I have authenticated and configured trakt to sync with Plex, but have 0 luck. Also when I click Full Sync, I get a "this channel is not responding" message on Plex.

PMS version: 1.9.4.4325
Linux distro

Please help.

@bbrendon
Copy link

I Can't get it to sync either. I have lots of this error, but not the "...invalid state transition"

plugin.managers.session.s_websocket (7fa6ab7fe700) : INFO (plugin.managers.session.s_websocket:1159) - Unable to find session with key 1

@o-Epictetus-o
Copy link

Looks like this hasnt been updated since the beginning of this year!?

@bbrendon
Copy link

bbrendon commented Nov 6, 2017

I finally got mine to sync by logging into the trakt website and removing the connection from that end and then re-authorizing. I have not checked the logs to see what errors exist if any.

@AlexMarcoDAngelo
Copy link

Trakt.tv changed their authentication to OAuth. The plugin needs to be changed to account for that. But no word from the developer on this very important issue?

@rectifyer
Copy link
Contributor

In regards to @AlexMarcoDAngelo comment, please see #479. Nothing has changed with the Trakt Auth that requires an update to the plugin.

@mrfacu87
Copy link

mrfacu87 commented Mar 3, 2018

Experiencing same issue. Following

@mrfacu87
Copy link

mrfacu87 commented Mar 3, 2018

Ran Fiddler trace while reproducing the issue and got the following error:

@mrfacu87
Copy link

mrfacu87 commented Mar 3, 2018

<MediaContainer title1="Trakt.tv" art="/:/plugins/com.plexapp.plugins.trakttv/resources/art-default.png?t=1520052147" title2="Messages" size="12" identifier="com.plexapp.plugins.trakttv" sourceTitle="Trakt.tv" mediaTagPrefix="/system/bundle/media/flags/" prefsKey="/:/plugins/com.plexapp.plugins.trakttv/prefs"> <Directory art="/:/plugins/com.plexapp.plugins.trakttv/resources/art-default.png?t=1520052147" thumb="/:/plugins/com.plexapp.plugins.trakttv/resources/icon-default.png?t=1520052147" key="/video/trakt/messages/dismissAll" title="Dismiss all "/> <Directory art="/:/plugins/com.plexapp.plugins.trakttv/resources/art-default.png?t=1520052147" thumb="/:/plugins/com.plexapp.plugins.trakttv/resources/icon-connection.png?t=1520052147" key="/video/trakt/messages/view?error_id=15" title="[Sentry] ProxyError: timed out"/> <Directory art="/:/plugins/com.plexapp.plugins.trakttv/resources/art-default.png?t=1520052147" thumb="/:/plugins/com.plexapp.plugins.trakttv/resources/icon-connection.png?t=1520052147" key="/video/trakt/messages/view?error_id=263" title="[Trakt.tv] OAuth must be provided (code: 401)"/> <Directory art="/:/plugins/com.plexapp.plugins.trakttv/resources/art-default.png?t=1520052147" thumb="/:/plugins/com.plexapp.plugins.trakttv/resources/icon-exception.png?t=1520052147" key="/video/trakt/messages/view?error_id=264" title="[Exception] 'NoneType' object has no attribute '__getitem__'"/> <Directory art="/:/plugins/com.plexapp.plugins.trakttv/resources/art-default.png?t=1520052147" thumb="/:/plugins/com.plexapp.plugins.trakttv/resources/icon-connection.png?t=1520052147" key="/video/trakt/messages/view?error_id=51" title="[Trakt.tv] An existing connection was forcibly closed by the remote host (code: 10054)"/> <Directory art="/:/plugins/com.plexapp.plugins.trakttv/resources/art-default.png?t=1520052147" thumb="/:/plugins/com.plexapp.plugins.trakttv/resources/icon-connection.png?t=1520052147" key="/video/trakt/messages/view?error_id=2" title="[Trakt.tv] Server unavailable (code: 502)"/> <Directory art="/:/plugins/com.plexapp.plugins.trakttv/resources/art-default.png?t=1520052147" thumb="/:/plugins/com.plexapp.plugins.trakttv/resources/icon-connection.png?t=1520052147" key="/video/trakt/messages/view?error_id=6" title="[Trakt.tv] getaddrinfo failed (code: 11001)"/> <Directory art="/:/plugins/com.plexapp.plugins.trakttv/resources/art-default.png?t=1520052147" thumb="/:/plugins/com.plexapp.plugins.trakttv/resources/icon-connection.png?t=1520052147" key="/video/trakt/messages/view?error_id=262" title="[Sentry] getaddrinfo failed (code: 11001)"/> <Directory art="/:/plugins/com.plexapp.plugins.trakttv/resources/art-default.png?t=1520052147" thumb="/:/plugins/com.plexapp.plugins.trakttv/resources/icon-connection.png?t=1520052147" key="/video/trakt/messages/view?error_id=1" title="[Trakt.tv] The read operation timed out"/> <Directory art="/:/plugins/com.plexapp.plugins.trakttv/resources/art-default.png?t=1520052147" thumb="/:/plugins/com.plexapp.plugins.trakttv/resources/icon-connection.png?t=1520052147" key="/video/trakt/messages/view?error_id=261" title="[Trakt.tv] ConnectTimeoutError: Connection to api.trakt.tv timed out. (connect timeout=6.05)"/> <Directory art="/:/plugins/com.plexapp.plugins.trakttv/resources/art-default.png?t=1520052147" thumb="/:/plugins/com.plexapp.plugins.trakttv/resources/icon-connection.png?t=1520052147" key="/video/trakt/messages/view?error_id=16" title="[Trakt.tv] Server overloaded (try again in 30s) (code: 504)"/> <Directory art="/:/plugins/com.plexapp.plugins.trakttv/resources/art-default.png?t=1520052147" thumb="/:/plugins/com.plexapp.plugins.trakttv/resources/icon-default.png?t=1520052147" key="/video/trakt/messages/list?days=__NONE__&amp;viewed=__NONE__" title="View All "/> </MediaContainer>

@rectifyer
Copy link
Contributor

Have you tried the updates from #455? Looks like that adjusts some config variables which might allow the plugin to work properly on certain platforms.

@geek-baba
Copy link

Hi @rectifyer I have the same issue as #479, even if the auth model didnt change I see many people having the same issue now...something worth investigating or reopening #479

@geek-baba
Copy link

Never mind - I see your comments @rectifyer

Authentication should work correctly now, I just pushed a Trakt fix for that. Let's use #484 to discuss the sentry.skipthe.net error. I reached out to the dev to ask if removing that code will cause another issues and pull requests are of course welcome!

@mrfacu87
Copy link

mrfacu87 commented Mar 5, 2018

I'm back up and running. Thank you.

@rectifyer
Copy link
Contributor

v1.3.3 should address this issue.

@Kedryn
Copy link

Kedryn commented Sep 13, 2018

I'm using 1.3.3 and i'm experiencing the same error on one of my 2 plex server installation, the Windows one (the other is ubuntu and it's working).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants