l3uddz / traktarr

Script to add new series & movies to Sonarr/Radarr based on Trakt lists.
GNU General Public License v3.0
574 stars 52 forks source link

Traktarr unable to connect to trakt api for movies #137

Open NEprod opened 4 years ago

NEprod commented 4 years ago
/traktarr # traktarr movies -t played_monthly -l 5

___________              __      __                       
\__    ___/___________  |  | ___/  |______ ______________ 
  |    |  \_  __ \__  \ |  |/ /\   __\__  \\_  __ \_  __ \
  |    |   |  | \// __ \|    <  |  |  / __ \|  | \/|  | \/
  |____|   |__|  (____  /__|_ \ |__| (____  /__|   |__|   
                      \/     \/           \/              

#########################################################################
# Author:   l3uddz                                                      #
# URL:      https://github.com/l3uddz/traktarr                          #
# --                                                                    #
#         Part of the Cloudbox project: https://cloudbox.works          #
#########################################################################
#                   GNU General Public License v3.0                     #
#########################################################################

2020-07-25 17:20:55,869 - INFO       - Traktarr                            - validate_trakt                      - Validating Trakt API Key...
2020-07-25 17:20:55,982 - INFO       - Traktarr                            - validate_trakt                      - ...Validated Trakt API Key.
2020-07-25 17:20:55,990 - INFO       - Traktarr                            - validate_pvr                        - Validated Radarr URL & API Key.
2020-07-25 17:20:55,998 - INFO       - Traktarr                            - get_quality_profile_id              - Retrieved Quality Profile ID for 'HD-1080p': 6
2020-07-25 17:20:56,021 - INFO       - Traktarr                            - get_objects                         - Retrieved Radarr movies list, movies found: 9
2020-07-25 17:20:56,028 - INFO       - Traktarr                            - get_exclusions                      - No movie exclusions list found from Radarr
2020-07-25 17:20:56,028 - INFO       - Traktarr                            - get_exclusions                      - Retrieved Radarr movie list, movie found: 0
2020-07-25 17:20:58,558 - WARNING    - media.trakt                         - _make_items_request                 - Received empty JSON response for page: 1 of 0
2020-07-25 17:20:58,559 - WARNING    - helpers.misc                        - backoff_handler                     - Backing off 0.9 seconds afters 1 tries calling function <function Trakt._make_items_request at 0x14ad8c7d3280> with args (<media.trakt.Trakt object at 0x14ad8d51df70>,) and kwargs {'url': 'https://api.trakt.tv/movies/played/monthly', 'object_name': 'movies', 'type_name': 'played', 'limit': 1000, 'years': '1990-2050', 'countries': ('us', 'gb'), 'languages': ('english',), 'genres': None, 'runtimes': '30-9999'}
2020-07-25 17:20:59,891 - WARNING    - media.trakt                         - _make_items_request                 - Received empty JSON response for page: 1 of 0
2020-07-25 17:20:59,892 - WARNING    - helpers.misc                        - backoff_handler                     - Backing off 0.2 seconds afters 2 tries calling function <function Trakt._make_items_request at 0x14ad8c7d3280> with args (<media.trakt.Trakt object at 0x14ad8d51df70>,) and kwargs {'url': 'https://api.trakt.tv/movies/played/monthly', 'object_name': 'movies', 'type_name': 'played', 'limit': 1000, 'years': '1990-2050', 'countries': ('us', 'gb'), 'languages': ('english',), 'genres': None, 'runtimes': '30-9999'}
2020-07-25 17:21:00,213 - WARNING    - media.trakt                         - _make_items_request                 - Received empty JSON response for page: 1 of 0
2020-07-25 17:21:00,213 - WARNING    - helpers.misc                        - backoff_handler                     - Backing off 2.9 seconds afters 3 tries calling function <function Trakt._make_items_request at 0x14ad8c7d3280> with args (<media.trakt.Trakt object at 0x14ad8d51df70>,) and kwargs {'url': 'https://api.trakt.tv/movies/played/monthly', 'object_name': 'movies', 'type_name': 'played', 'limit': 1000, 'years': '1990-2050', 'countries': ('us', 'gb'), 'languages': ('english',), 'genres': None, 'runtimes': '30-9999'}
2020-07-25 17:21:03,214 - WARNING    - media.trakt                         - _make_items_request                 - Received empty JSON response for page: 1 of 0
2020-07-25 17:21:03,215 - WARNING    - helpers.misc                        - backoff_handler                     - Backing off 4.8 seconds afters 4 tries calling function <function Trakt._make_items_request at 0x14ad8c7d3280> with args (<media.trakt.Trakt object at 0x14ad8d51df70>,) and kwargs {'url': 'https://api.trakt.tv/movies/played/monthly', 'object_name': 'movies', 'type_name': 'played', 'limit': 1000, 'years': '1990-2050', 'countries': ('us', 'gb'), 'languages': ('english',), 'genres': None, 'runtimes': '30-9999'}
2020-07-25 17:21:08,136 - WARNING    - media.trakt                         - _make_items_request                 - Received empty JSON response for page: 1 of 0
2020-07-25 17:21:08,137 - WARNING    - helpers.misc                        - backoff_handler                     - Backing off 1.9 seconds afters 5 tries calling function <function Trakt._make_items_request at 0x14ad8c7d3280> with args (<media.trakt.Trakt object at 0x14ad8d51df70>,) and kwargs {'url': 'https://api.trakt.tv/movies/played/monthly', 'object_name': 'movies', 'type_name': 'played', 'limit': 1000, 'years': '1990-2050', 'countries': ('us', 'gb'), 'languages': ('english',), 'genres': None, 'runtimes': '30-9999'}
2020-07-25 17:21:10,157 - WARNING    - media.trakt                         - _make_items_request                 - Received empty JSON response for page: 1 of 0
2020-07-25 17:21:10,158 - ERROR      - backoff                             - _log_giveup                         - Giving up _make_items_request(...) after 6 tries (None)
2020-07-25 17:21:10,173 - ERROR      - Traktarr                            - movies                              - Aborting due to failure to retrieve Trakt 'Played_monthly' movies list.
/traktarr # traktarr movies -t trending -rt 88

___________              __      __                       
\__    ___/___________  |  | ___/  |______ ______________ 
  |    |  \_  __ \__  \ |  |/ /\   __\__  \\_  __ \_  __ \
  |    |   |  | \// __ \|    <  |  |  / __ \|  | \/|  | \/
  |____|   |__|  (____  /__|_ \ |__| (____  /__|   |__|   
                      \/     \/           \/              

#########################################################################
# Author:   l3uddz                                                      #
# URL:      https://github.com/l3uddz/traktarr                          #
# --                                                                    #
#         Part of the Cloudbox project: https://cloudbox.works          #
#########################################################################
#                   GNU General Public License v3.0                     #
#########################################################################

2020-07-25 17:19:30,104 - INFO       - Traktarr                            - validate_trakt                      - Validating Trakt API Key...
2020-07-25 17:19:30,256 - INFO       - Traktarr                            - validate_trakt                      - ...Validated Trakt API Key.
2020-07-25 17:19:30,322 - INFO       - Traktarr                            - validate_pvr                        - Validated Radarr URL & API Key.
2020-07-25 17:19:30,343 - INFO       - Traktarr                            - get_quality_profile_id              - Retrieved Quality Profile ID for 'HD-1080p': 6
2020-07-25 17:19:30,392 - INFO       - Traktarr                            - get_objects                         - Retrieved Radarr movies list, movies found: 9
2020-07-25 17:19:30,417 - INFO       - Traktarr                            - get_exclusions                      - No movie exclusions list found from Radarr
2020-07-25 17:19:30,417 - INFO       - Traktarr                            - get_exclusions                      - Retrieved Radarr movie list, movie found: 0
2020-07-25 17:19:31,078 - WARNING    - media.trakt                         - _make_items_request                 - Received empty JSON response for page: 1 of 0
2020-07-25 17:19:31,079 - WARNING    - helpers.misc                        - backoff_handler                     - Backing off 0.2 seconds afters 1 tries calling function <function Trakt._make_items_request at 0x14fb360cb3a0> with args (<media.trakt.Trakt object at 0x14fb36f76f70>,) and kwargs {'url': 'https://api.trakt.tv/movies/trending', 'object_name': 'movies', 'type_name': 'trending', 'limit': 1000, 'years': '1990-2050', 'countries': ('us', 'gb'), 'languages': ('english',), 'genres': None, 'runtimes': '30-9999'}
2020-07-25 17:19:31,558 - WARNING    - media.trakt                         - _make_items_request                 - Received empty JSON response for page: 1 of 0
2020-07-25 17:19:31,559 - WARNING    - helpers.misc                        - backoff_handler                     - Backing off 1.3 seconds afters 2 tries calling function <function Trakt._make_items_request at 0x14fb360cb3a0> with args (<media.trakt.Trakt object at 0x14fb36f76f70>,) and kwargs {'url': 'https://api.trakt.tv/movies/trending', 'object_name': 'movies', 'type_name': 'trending', 'limit': 1000, 'years': '1990-2050', 'countries': ('us', 'gb'), 'languages': ('english',), 'genres': None, 'runtimes': '30-9999'}
2020-07-25 17:19:33,159 - WARNING    - media.trakt                         - _make_items_request                 - Received empty JSON response for page: 1 of 0
2020-07-25 17:19:33,160 - WARNING    - helpers.misc                        - backoff_handler                     - Backing off 2.1 seconds afters 3 tries calling function <function Trakt._make_items_request at 0x14fb360cb3a0> with args (<media.trakt.Trakt object at 0x14fb36f76f70>,) and kwargs {'url': 'https://api.trakt.tv/movies/trending', 'object_name': 'movies', 'type_name': 'trending', 'limit': 1000, 'years': '1990-2050', 'countries': ('us', 'gb'), 'languages': ('english',), 'genres': None, 'runtimes': '30-9999'}
2020-07-25 17:19:35,523 - WARNING    - media.trakt                         - _make_items_request                 - Received empty JSON response for page: 1 of 0
2020-07-25 17:19:35,524 - WARNING    - helpers.misc                        - backoff_handler                     - Backing off 3.7 seconds afters 4 tries calling function <function Trakt._make_items_request at 0x14fb360cb3a0> with args (<media.trakt.Trakt object at 0x14fb36f76f70>,) and kwargs {'url': 'https://api.trakt.tv/movies/trending', 'object_name': 'movies', 'type_name': 'trending', 'limit': 1000, 'years': '1990-2050', 'countries': ('us', 'gb'), 'languages': ('english',), 'genres': None, 'runtimes': '30-9999'}
2020-07-25 17:19:39,467 - WARNING    - media.trakt                         - _make_items_request                 - Received empty JSON response for page: 1 of 0
2020-07-25 17:19:39,467 - WARNING    - helpers.misc                        - backoff_handler                     - Backing off 8.4 seconds afters 5 tries calling function <function Trakt._make_items_request at 0x14fb360cb3a0> with args (<media.trakt.Trakt object at 0x14fb36f76f70>,) and kwargs {'url': 'https://api.trakt.tv/movies/trending', 'object_name': 'movies', 'type_name': 'trending', 'limit': 1000, 'years': '1990-2050', 'countries': ('us', 'gb'), 'languages': ('english',), 'genres': None, 'runtimes': '30-9999'}
2020-07-25 17:19:48,180 - WARNING    - media.trakt                         - _make_items_request                 - Received empty JSON response for page: 1 of 0
2020-07-25 17:19:48,181 - ERROR      - backoff                             - _log_giveup                         - Giving up _make_items_request(...) after 6 tries (None)
2020-07-25 17:19:48,197 - ERROR      - Traktarr                            - movies                              - Aborting due to failure to retrieve Trakt 'Trending' movies list.

works fine when connecting for shows but movies arent working.

/traktarr # traktarr shows -t played_all -l 5

___________              __      __                       
\__    ___/___________  |  | ___/  |______ ______________ 
  |    |  \_  __ \__  \ |  |/ /\   __\__  \\_  __ \_  __ \
  |    |   |  | \// __ \|    <  |  |  / __ \|  | \/|  | \/
  |____|   |__|  (____  /__|_ \ |__| (____  /__|   |__|   
                      \/     \/           \/              

#########################################################################
# Author:   l3uddz                                                      #
# URL:      https://github.com/l3uddz/traktarr                          #
# --                                                                    #
#         Part of the Cloudbox project: https://cloudbox.works          #
#########################################################################
#                   GNU General Public License v3.0                     #
#########################################################################

2020-07-25 17:30:43,485 - INFO       - Traktarr                            - validate_trakt                      - Validating Trakt API Key...
2020-07-25 17:30:43,625 - INFO       - Traktarr                            - validate_trakt                      - ...Validated Trakt API Key.
2020-07-25 17:30:43,634 - INFO       - Traktarr                            - validate_pvr                        - Validated Sonarr URL & API Key.
2020-07-25 17:30:43,648 - INFO       - Traktarr                            - get_quality_profile_id              - Retrieved Quality Profile ID for 'HD-1080p': 4
2020-07-25 17:30:43,661 - INFO       - Traktarr                            - get_language_profile_id             - Retrieved Language Profile ID for 'English': 1
2020-07-25 17:30:43,956 - INFO       - Traktarr                            - get_objects                         - Retrieved Sonarr shows list, shows found: 85
2020-07-25 17:30:43,997 - INFO       - Traktarr                            - shows                               - Retrieved Trakt 'Played_all' shows list, shows found: 2344
2020-07-25 17:30:44,001 - INFO       - Traktarr                            - shows                               - Removed existing Sonarr shows from Trakt shows list, shows left to process: 2277
2020-07-25 17:30:44,003 - INFO       - Traktarr                            - shows                               - Sorted shows list to process by highest 'votes'.
2020-07-25 17:30:44,004 - INFO       - Traktarr                            - shows                               - Processing list now...
2020-07-25 17:30:44,299 - INFO       - Traktarr                            - shows                               - ADDING: Marvel's Inhumans (2017) | Country: US | Language: EN | Genre(s): Action, Adventure, Drama, Fantasy, Science-Fiction, Superhero | Network: ABC
2020-07-25 17:30:44,624 - INFO       - Traktarr                            - shows                               - ADDED: 'Marvel's Inhumans (2017)'
2020-07-25 17:30:47,407 - INFO       - Traktarr                            - shows                               - ADDING: Star Trek: Picard (2020) | Country: US | Language: EN | Genre(s): Fantasy, Science-Fiction, Action, Adventure | Network: CBS ALL ACCESS
2020-07-25 17:30:47,778 - INFO       - Traktarr                            - shows                               - ADDED: 'Star Trek: Picard (2020)'
2020-07-25 17:30:50,417 - INFO       - Traktarr                            - shows                               - ADDING: When They See Us (2019) | Country: US | Language: EN | Genre(s): Drama | Network: NETFLIX
2020-07-25 17:30:50,744 - INFO       - Traktarr                            - shows                               - ADDED: 'When They See Us (2019)'
2020-07-25 17:30:53,533 - INFO       - Traktarr                            - shows                               - ADDING: The Terror (2018) | Country: US | Language: EN | Genre(s): Drama, Mystery | Network: AMC
2020-07-25 17:30:53,824 - INFO       - Traktarr                            - shows                               - ADDED: 'The Terror (2018)'
2020-07-25 17:30:56,610 - INFO       - Traktarr                            - shows                               - ADDING: Black Lightning (2018) | Country: US | Language: EN | Genre(s): Action, Superhero, Adventure, Fantasy, Science-Fiction, Drama | Network: THE CW
2020-07-25 17:30:56,925 - INFO       - Traktarr                            - shows                               - ADDED: 'Black Lightning (2018)'
2020-07-25 17:30:56,926 - INFO       - Traktarr                            - shows                               - Added 5 new show(s) to Sonarr
NEprod commented 4 years ago

left it to run automatically anticipated, trending and popular failed in fetching any movies from the corresponding lists but box office succesfully added 2 movies

2020-07-25 18:39:50,387 - INFO - Traktarr - automatic_movies - Automatic Movies task started.
2020-07-25 18:39:50,671 - INFO - Traktarr - automatic_movies - ADDING 10 movie(s) from Trakt's 'Anticipated' list.
2020-07-25 18:39:50,720 - INFO - Traktarr - validate_trakt - Validating Trakt API Key...
2020-07-25 18:39:50,858 - INFO - Traktarr - validate_trakt - ...Validated Trakt API Key.
2020-07-25 18:39:50,881 - INFO - Traktarr - validate_pvr - Validated Radarr URL & API Key.
2020-07-25 18:39:50,888 - INFO - Traktarr - get_quality_profile_id - Retrieved Quality Profile ID for 'HD-1080p': 6
2020-07-25 18:39:50,918 - INFO - Traktarr - get_objects - Retrieved Radarr movies list, movies found: 9
2020-07-25 18:39:50,924 - INFO - Traktarr - get_exclusions - No movie exclusions list found from Radarr
2020-07-25 18:39:50,924 - INFO - Traktarr - get_exclusions - Retrieved Radarr movie list, movie found: 0
2020-07-25 18:39:52,183 - WARNING - media.trakt - _make_items_request - Received empty JSON response for page: 1 of 0

2020-07-25 18:39:52,184 - WARNING - helpers.misc - backoff_handler - Backing off 0.1 seconds afters 1 tries calling function <function Trakt._make_items_request at 0x14e7bfd74700> with args (<media.trakt.Trakt object at 0x14e7bfc07f10>,) and kwargs {'url': 'https://api.trakt.tv/movies/anticipated', 'object_name': 'movies', 'type_name': 'anticipated', 'limit': 1000, 'years': '1990-2050', 'countries': ('us', 'gb'), 'languages': ('english',), 'genres': None, 'runtimes': '30-9999'}

2020-07-25 18:39:52,398 - WARNING - media.trakt - _make_items_request - Received empty JSON response for page: 1 of 0

2020-07-25 18:39:52,399 - WARNING - helpers.misc - backoff_handler - Backing off 1.3 seconds afters 2 tries calling function <function Trakt._make_items_request at 0x14e7bfd74700> with args (<media.trakt.Trakt object at 0x14e7bfc07f10>,) and kwargs {'url': 'https://api.trakt.tv/movies/anticipated', 'object_name': 'movies', 'type_name': 'anticipated', 'limit': 1000, 'years': '1990-2050', 'countries': ('us', 'gb'), 'languages': ('english',), 'genres': None, 'runtimes': '30-9999'}

2020-07-25 18:39:53,876 - WARNING - media.trakt - _make_items_request - Received empty JSON response for page: 1 of 0

2020-07-25 18:39:53,876 - WARNING - helpers.misc - backoff_handler - Backing off 1.1 seconds afters 3 tries calling function <function Trakt._make_items_request at 0x14e7bfd74700> with args (<media.trakt.Trakt object at 0x14e7bfc07f10>,) and kwargs {'url': 'https://api.trakt.tv/movies/anticipated', 'object_name': 'movies', 'type_name': 'anticipated', 'limit': 1000, 'years': '1990-2050', 'countries': ('us', 'gb'), 'languages': ('english',), 'genres': None, 'runtimes': '30-9999'}

2020-07-25 18:39:55,062 - WARNING - media.trakt - _make_items_request - Received empty JSON response for page: 1 of 0

2020-07-25 18:39:55,062 - WARNING - helpers.misc - backoff_handler - Backing off 5.6 seconds afters 4 tries calling function <function Trakt._make_items_request at 0x14e7bfd74700> with args (<media.trakt.Trakt object at 0x14e7bfc07f10>,) and kwargs {'url': 'https://api.trakt.tv/movies/anticipated', 'object_name': 'movies', 'type_name': 'anticipated', 'limit': 1000, 'years': '1990-2050', 'countries': ('us', 'gb'), 'languages': ('english',), 'genres': None, 'runtimes': '30-9999'}

2020-07-25 18:40:00,771 - WARNING - media.trakt - _make_items_request - Received empty JSON response for page: 1 of 0

2020-07-25 18:40:00,771 - WARNING - helpers.misc - backoff_handler - Backing off 10.9 seconds afters 5 tries calling function <function Trakt._make_items_request at 0x14e7bfd74700> with args (<media.trakt.Trakt object at 0x14e7bfc07f10>,) and kwargs {'url': 'https://api.trakt.tv/movies/anticipated', 'object_name': 'movies', 'type_name': 'anticipated', 'limit': 1000, 'years': '1990-2050', 'countries': ('us', 'gb'), 'languages': ('english',), 'genres': None, 'runtimes': '30-9999'}

2020-07-25 18:40:11,834 - WARNING - media.trakt - _make_items_request - Received empty JSON response for page: 1 of 0

2020-07-25 18:40:11,835 - ERROR - backoff - _log_giveup - Giving up _make_items_request(...) after 6 tries (None)

2020-07-25 18:40:11,850 - ERROR - Traktarr - movies - Aborting due to failure to retrieve Trakt 'Anticipated' movies list.

2020-07-25 18:40:12,063 - INFO - Traktarr - automatic_movies - FAILED ADDING movies from Trakt's 'Anticipated' list.

2020-07-25 18:40:22,073 - INFO - Traktarr - automatic_movies - ADDING 10 movie(s) from Trakt's 'Boxoffice' list.
2020-07-25 18:40:22,074 - INFO - Traktarr - validate_trakt - Validating Trakt API Key...
2020-07-25 18:40:22,211 - INFO - Traktarr - validate_trakt - ...Validated Trakt API Key.
2020-07-25 18:40:22,220 - INFO - Traktarr - validate_pvr - Validated Radarr URL & API Key.
2020-07-25 18:40:22,226 - INFO - Traktarr - get_quality_profile_id - Retrieved Quality Profile ID for 'HD-1080p': 6
2020-07-25 18:40:22,250 - INFO - Traktarr - get_objects - Retrieved Radarr movies list, movies found: 9
2020-07-25 18:40:22,256 - INFO - Traktarr - get_exclusions - No movie exclusions list found from Radarr
2020-07-25 18:40:22,256 - INFO - Traktarr - get_exclusions - Retrieved Radarr movie list, movie found: 0
2020-07-25 18:40:22,970 - INFO - Traktarr - movies - Retrieved Trakt 'Boxoffice' movies list, movies found: 2
2020-07-25 18:40:22,970 - INFO - Traktarr - movies - Removed existing and excluded Radarr movies from Trakt movies list. Movies left to process: 2
2020-07-25 18:40:22,971 - INFO - Traktarr - movies - Sorted movies list to process by highest 'rating'.
2020-07-25 18:40:22,971 - INFO - Traktarr - movies - Skipping minimum Rotten Tomatoes score check as OMDb API Key is missing.
2020-07-25 18:40:22,971 - INFO - Traktarr - movies - Processing list now...
2020-07-25 18:40:23,325 - INFO - Traktarr - movies - ADDING: 'The Wretched (2019)' | Country: US | Language: EN | Genre(s): Horror
2020-07-25 18:40:23,754 - INFO - Traktarr - movies - ADDED: 'The Wretched (2019)'
2020-07-25 18:40:26,838 - INFO - Traktarr - movies - ADDING: 'Relic (2020)' | Country: US | Language: EN | Genre(s): Horror, Drama
2020-07-25 18:40:27,024 - INFO - Traktarr - movies - ADDED: 'Relic (2020)'
2020-07-25 18:40:29,758 - INFO - Traktarr - movies - Added 2 new movie(s) to Radarr
2020-07-25 18:40:39,986 - INFO - Traktarr - automatic_movies - ADDING 3 movie(s) from Trakt's 'Popular' list.
2020-07-25 18:40:39,988 - INFO - Traktarr - validate_trakt - Validating Trakt API Key...
2020-07-25 18:40:40,137 - INFO - Traktarr - validate_trakt - ...Validated Trakt API Key.
2020-07-25 18:40:40,142 - INFO - Traktarr - validate_pvr - Validated Radarr URL & API Key.
2020-07-25 18:40:40,149 - INFO - Traktarr - get_quality_profile_id - Retrieved Quality Profile ID for 'HD-1080p': 6
2020-07-25 18:40:40,175 - INFO - Traktarr - get_objects - Retrieved Radarr movies list, movies found: 11
2020-07-25 18:40:40,180 - INFO - Traktarr - get_exclusions - No movie exclusions list found from Radarr
2020-07-25 18:40:40,180 - INFO - Traktarr - get_exclusions - Retrieved Radarr movie list, movie found: 0
2020-07-25 18:40:41,265 - WARNING - media.trakt - _make_items_request - Received empty JSON response for page: 1 of 0

2020-07-25 18:40:41,265 - WARNING - helpers.misc - backoff_handler - Backing off 0.5 seconds afters 1 tries calling function <function Trakt._make_items_request at 0x14e7bfd74700> with args (<media.trakt.Trakt object at 0x14e7c0563df0>,) and kwargs {'url': 'https://api.trakt.tv/movies/popular', 'object_name': 'movies', 'type_name': 'popular', 'limit': 1000, 'years': '1990-2050', 'countries': ('us', 'gb'), 'languages': ('english',), 'genres': None, 'runtimes': '30-9999'}

2020-07-25 18:40:41,932 - WARNING - media.trakt - _make_items_request - Received empty JSON response for page: 1 of 0

2020-07-25 18:40:41,933 - WARNING - helpers.misc - backoff_handler - Backing off 1.8 seconds afters 2 tries calling function <function Trakt._make_items_request at 0x14e7bfd74700> with args (<media.trakt.Trakt object at 0x14e7c0563df0>,) and kwargs {'url': 'https://api.trakt.tv/movies/popular', 'object_name': 'movies', 'type_name': 'popular', 'limit': 1000, 'years': '1990-2050', 'countries': ('us', 'gb'), 'languages': ('english',), 'genres': None, 'runtimes': '30-9999'}

2020-07-25 18:40:43,815 - WARNING - media.trakt - _make_items_request - Received empty JSON response for page: 1 of 0

2020-07-25 18:40:43,815 - WARNING - helpers.misc - backoff_handler - Backing off 1.8 seconds afters 3 tries calling function <function Trakt._make_items_request at 0x14e7bfd74700> with args (<media.trakt.Trakt object at 0x14e7c0563df0>,) and kwargs {'url': 'https://api.trakt.tv/movies/popular', 'object_name': 'movies', 'type_name': 'popular', 'limit': 1000, 'years': '1990-2050', 'countries': ('us', 'gb'), 'languages': ('english',), 'genres': None, 'runtimes': '30-9999'}

2020-07-25 18:40:45,702 - WARNING - media.trakt - _make_items_request - Received empty JSON response for page: 1 of 0

2020-07-25 18:40:45,703 - WARNING - helpers.misc - backoff_handler - Backing off 4.0 seconds afters 4 tries calling function <function Trakt._make_items_request at 0x14e7bfd74700> with args (<media.trakt.Trakt object at 0x14e7c0563df0>,) and kwargs {'url': 'https://api.trakt.tv/movies/popular', 'object_name': 'movies', 'type_name': 'popular', 'limit': 1000, 'years': '1990-2050', 'countries': ('us', 'gb'), 'languages': ('english',), 'genres': None, 'runtimes': '30-9999'}

2020-07-25 18:40:49,805 - WARNING - media.trakt - _make_items_request - Received empty JSON response for page: 1 of 0

2020-07-25 18:40:49,805 - WARNING - helpers.misc - backoff_handler - Backing off 3.3 seconds afters 5 tries calling function <function Trakt._make_items_request at 0x14e7bfd74700> with args (<media.trakt.Trakt object at 0x14e7c0563df0>,) and kwargs {'url': 'https://api.trakt.tv/movies/popular', 'object_name': 'movies', 'type_name': 'popular', 'limit': 1000, 'years': '1990-2050', 'countries': ('us', 'gb'), 'languages': ('english',), 'genres': None, 'runtimes': '30-9999'}

2020-07-25 18:40:53,257 - WARNING - media.trakt - _make_items_request - Received empty JSON response for page: 1 of 0

2020-07-25 18:40:53,258 - ERROR - backoff - _log_giveup - Giving up _make_items_request(...) after 6 tries (None)

2020-07-25 18:40:53,270 - ERROR - Traktarr - movies - Aborting due to failure to retrieve Trakt 'Popular' movies list.

2020-07-25 18:40:53,530 - INFO - Traktarr - automatic_movies - FAILED ADDING movies from Trakt's 'Popular' list.

2020-07-25 18:41:03,541 - INFO - Traktarr - automatic_movies - ADDING 3 movie(s) from Trakt's 'Trending' list.
2020-07-25 18:41:03,543 - INFO - Traktarr - validate_trakt - Validating Trakt API Key...
2020-07-25 18:41:03,672 - INFO - Traktarr - validate_trakt - ...Validated Trakt API Key.
2020-07-25 18:41:03,677 - INFO - Traktarr - validate_pvr - Validated Radarr URL & API Key.
2020-07-25 18:41:03,686 - INFO - Traktarr - get_quality_profile_id - Retrieved Quality Profile ID for 'HD-1080p': 6
2020-07-25 18:41:03,710 - INFO - Traktarr - get_objects - Retrieved Radarr movies list, movies found: 11
2020-07-25 18:41:03,715 - INFO - Traktarr - get_exclusions - No movie exclusions list found from Radarr
2020-07-25 18:41:03,715 - INFO - Traktarr - get_exclusions - Retrieved Radarr movie list, movie found: 0
2020-07-25 18:41:04,369 - WARNING - media.trakt - _make_items_request - Received empty JSON response for page: 1 of 0

2020-07-25 18:41:04,369 - WARNING - helpers.misc - backoff_handler - Backing off 0.3 seconds afters 1 tries calling function <function Trakt._make_items_request at 0x14e7bfd74700> with args (<media.trakt.Trakt object at 0x14e7c0563df0>,) and kwargs {'url': 'https://api.trakt.tv/movies/trending', 'object_name': 'movies', 'type_name': 'trending', 'limit': 1000, 'years': '1990-2050', 'countries': ('us', 'gb'), 'languages': ('english',), 'genres': None, 'runtimes': '30-9999'}

2020-07-25 18:41:04,968 - WARNING - media.trakt - _make_items_request - Received empty JSON response for page: 1 of 0

2020-07-25 18:41:04,968 - WARNING - helpers.misc - backoff_handler - Backing off 0.0 seconds afters 2 tries calling function <function Trakt._make_items_request at 0x14e7bfd74700> with args (<media.trakt.Trakt object at 0x14e7c0563df0>,) and kwargs {'url': 'https://api.trakt.tv/movies/trending', 'object_name': 'movies', 'type_name': 'trending', 'limit': 1000, 'years': '1990-2050', 'countries': ('us', 'gb'), 'languages': ('english',), 'genres': None, 'runtimes': '30-9999'}

2020-07-25 18:41:05,275 - WARNING - media.trakt - _make_items_request - Received empty JSON response for page: 1 of 0

2020-07-25 18:41:05,276 - WARNING - helpers.misc - backoff_handler - Backing off 0.2 seconds afters 3 tries calling function <function Trakt._make_items_request at 0x14e7bfd74700> with args (<media.trakt.Trakt object at 0x14e7c0563df0>,) and kwargs {'url': 'https://api.trakt.tv/movies/trending', 'object_name': 'movies', 'type_name': 'trending', 'limit': 1000, 'years': '1990-2050', 'countries': ('us', 'gb'), 'languages': ('english',), 'genres': None, 'runtimes': '30-9999'}

2020-07-25 18:41:05,721 - WARNING - media.trakt - _make_items_request - Received empty JSON response for page: 1 of 0

2020-07-25 18:41:05,721 - WARNING - helpers.misc - backoff_handler - Backing off 7.2 seconds afters 4 tries calling function <function Trakt._make_items_request at 0x14e7bfd74700> with args (<media.trakt.Trakt object at 0x14e7c0563df0>,) and kwargs {'url': 'https://api.trakt.tv/movies/trending', 'object_name': 'movies', 'type_name': 'trending', 'limit': 1000, 'years': '1990-2050', 'countries': ('us', 'gb'), 'languages': ('english',), 'genres': None, 'runtimes': '30-9999'}

2020-07-25 18:41:13,165 - WARNING - media.trakt - _make_items_request - Received empty JSON response for page: 1 of 0

2020-07-25 18:41:13,165 - WARNING - helpers.misc - backoff_handler - Backing off 9.0 seconds afters 5 tries calling function <function Trakt._make_items_request at 0x14e7bfd74700> with args (<media.trakt.Trakt object at 0x14e7c0563df0>,) and kwargs {'url': 'https://api.trakt.tv/movies/trending', 'object_name': 'movies', 'type_name': 'trending', 'limit': 1000, 'years': '1990-2050', 'countries': ('us', 'gb'), 'languages': ('english',), 'genres': None, 'runtimes': '30-9999'}

2020-07-25 18:41:22,446 - WARNING - media.trakt - _make_items_request - Received empty JSON response for page: 1 of 0

2020-07-25 18:41:22,447 - ERROR - backoff - _log_giveup - Giving up _make_items_request(...) after 6 tries (None)

2020-07-25 18:41:22,459 - ERROR - Traktarr - movies - Aborting due to failure to retrieve Trakt 'Trending' movies list.

2020-07-25 18:41:22,677 - INFO - Traktarr - automatic_movies - FAILED ADDING movies from Trakt's 'Trending' list.

2020-07-25 18:41:32,687 - INFO - Traktarr - automatic_movies - FINISHED: Added 2 movie(s) total to Radarr!
ghost commented 3 years ago

I'm experiencing this too. I increased the max tries and delay between attempts but the issue still occurs.

Perhaps this is related to the recent API throttling: https://github.com/trakt/api-help/issues/220