[RELEASE] trakt.tv tv/movie scrobbler
(2015-02-20, 04:37)abmoraz Wrote:
(2015-02-20, 04:28)lysin Wrote:
(2015-02-20, 04:24)abmoraz Wrote: Ok, definitely using 3.0.0. Had to re-enter all my settings (And I noticed some of the settings changed), but I am still getting 503 errors constantly. My log is below:

21:21:22 T:140654993434368 NOTICE: -->Python Interpreter Initialized<--
21:22:14 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Continue retry since status is 503, waiting 5 seconds
21:22:19 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Retry # 1
21:22:19 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Continue retry since status is 503, waiting 5 seconds
21:22:24 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Retry # 2
21:22:24 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Continue retry since status is 503, waiting 5 seconds
21:22:29 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Retry # 3
21:22:30 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Continue retry since status is 503, waiting 5 seconds
21:22:35 T:140654993434368 WARNING: [script.trakt] trakt.interfaces.base: request failed: Service Unavailable - "server overloaded" (code: 503)
21:22:40 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Continue retry since status is 503, waiting 5 seconds
21:22:45 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Retry # 1
21:22:45 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Continue retry since status is 503, waiting 5 seconds
21:22:50 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Retry # 2
21:22:50 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Continue retry since status is 503, waiting 5 seconds
21:22:55 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Retry # 3
21:22:55 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Continue retry since status is 503, waiting 5 seconds
21:23:00 T:140654993434368 WARNING: [script.trakt] trakt.interfaces.base: request failed: Service Unavailable - "server overloaded" (code: 503)

I'm getting the same issue on a fresh plugin install.

Maybe a trakt api issue?

The odd thing is that I have retries set to 10, yet it is quitting after 3.

Forgot to remove that setting. Retrying won't help you if the server is not responding at all.

(2015-02-20, 05:00)abmoraz Wrote:
(2015-02-20, 04:39)S7eele Wrote: i will check the sources i know to verify and ill check my log to see if im seeing same but it sure looks like an api issue to me, wouldnt get too worried yet lol

update - i havent seen anything on twitter, forum or elsewhere yet but it failed on manual sync where it has been working flawlessly before, i dont think its a coincidence we are all seeing it at the same time, i suspect it is an api issue

not sure why it happened but upon restarting after capturing a logfile to examine i got a username/password error, im not concerned about it as i figure its an anomaly but will capture a log jic


I got the username/password error once, but it went away. I also got an OAuth error in the log at one point, too. But again, it went away. Looks like the API is borked.

Do you have an proof or log? We're not using oauth so that should no happen, I'm not even sure if there is any error message that has oauth in it.

(2015-02-20, 05:23)S7eele Wrote:
(2015-02-20, 04:39)S7eele Wrote:
(2015-02-20, 04:24)abmoraz Wrote: Ok, definitely using 3.0.0. Had to re-enter all my settings (And I noticed some of the settings changed), but I am still getting 503 errors constantly. My log is below:

21:21:22 T:140654993434368 NOTICE: -->Python Interpreter Initialized<--
21:22:14 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Continue retry since status is 503, waiting 5 seconds
21:22:19 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Retry # 1
21:22:19 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Continue retry since status is 503, waiting 5 seconds
21:22:24 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Retry # 2
21:22:24 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Continue retry since status is 503, waiting 5 seconds
21:22:29 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Retry # 3
21:22:30 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Continue retry since status is 503, waiting 5 seconds
21:22:35 T:140654993434368 WARNING: [script.trakt] trakt.interfaces.base: request failed: Service Unavailable - "server overloaded" (code: 503)
21:22:40 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Continue retry since status is 503, waiting 5 seconds
21:22:45 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Retry # 1
21:22:45 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Continue retry since status is 503, waiting 5 seconds
21:22:50 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Retry # 2
21:22:50 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Continue retry since status is 503, waiting 5 seconds
21:22:55 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Retry # 3
21:22:55 T:140654993434368 WARNING: [script.trakt] trakt.core.http: Continue retry since status is 503, waiting 5 seconds
21:23:00 T:140654993434368 WARNING: [script.trakt] trakt.interfaces.base: request failed: Service Unavailable - "server overloaded" (code: 503)
(2015-02-20, 04:28)lysin Wrote: I'm getting the same issue on a fresh plugin install.

Maybe a trakt api issue?

i will check the sources i know to verify and ill check my log to see if im seeing same but it sure looks like an api issue to me, wouldnt get too worried yet lol

update - i havent seen anything on twitter, forum or elsewhere yet but it failed on manual sync where it has been working flawlessly before, i dont think its a coincidence we are all seeing it at the same time, i suspect it is an api issue

not sure why it happened but upon restarting after capturing a logfile to examine i got a username/password error, im not concerned about it as i figure its an anomaly but will capture a log jic
related to current issue ^^^:

wanted to update to report that the second time i restarted kodi i received the 'cannot connect to trakt' error which i assume is the intended message, not sure why it displayed 'incorrect username/password' on first restart and 'cannot connect to trakt' on second restart and not sure it matters but being my overcautious self i captured the logs for both, @Razze if u have any interest in the logs let me know, if not no reply necessary

Get me the incorrect username/password case should only happen if the server returns but doesn't return with a token, so thats pretty weird.

(2015-02-20, 06:20)abmoraz Wrote:
(2015-02-20, 06:00)S7eele Wrote: manual sync appeared to work although quite a bit slower atm, i believe that is tbe as im still assuming the api hiccuped, timeouts/slow response as it gets back to normal, i am encountering occassional errors still, waiting for things to stabilize



Ok, new error:

3:18:43 T:140337855035136 FATAL: [script.trakt] traktapi: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'ReadTimeout'>
Error Contents: (ReadTimeoutError("HTTPSConnectionPool(host='api-v2launch.trakt.tv', port=443): Read timed out. (read timeout=24)",),)
Traceback (most recent call last):
File "/home/abmoraz/.kodi/addons/script.trakt-dev/traktapi.py", line 60, in getToken
auth = Trakt['auth'].login(getSetting('username'), getSetting('password'))
File "/home/abmoraz/.kodi/addons/script.trakt-dev/trakt/interfaces/auth.py", line 10, in login
'password': password
File "/home/abmoraz/.kodi/addons/script.trakt-dev/trakt/core/http.py", line 89, in post
return self.request('POST', path, params, data, **kwargs)
File "/home/abmoraz/.kodi/addons/script.trakt-dev/trakt/core/http.py", line 66, in request
response = self.session.send(prepared, timeout=timeout)
File "/home/abmoraz/.kodi/addons/script.module.requests/lib/requests/sessions.py", line 569, in send
r = adapter.send(request, **kwargs)
File "/home/abmoraz/.kodi/addons/script.module.requests/lib/requests/adapters.py", line 422, in send
raise ReadTimeout(e, request=request)
ReadTimeout: HTTPSConnectionPool(host='api-v2launch.trakt.tv', port=443): Read timed out. (read timeout=24)
-->End of Python script error report<--

Thats just a timeout, when the server is not responding. You should get a "can not connect to trakt" error message in your ui.


Messages In This Thread
RE: [RELEASE] trakt.tv tv/movie scrobbler - by Razze - 2015-02-20, 10:12
Logout Mark Read Team Forum Stats Members Help
[RELEASE] trakt.tv tv/movie scrobbler13