We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Search results never get queued. I get data that gets passed to queue_search, but the search never seems to take place.
If I pass the same content posted to queue_search via curl, it indeed kicks off a search. {'name': 'EpisodeSearch', 'EpisodeIds': [28476, 28473]}
Request response is: <Response [200]> Request output is: []
Sometimes request output is this, but I think it's when a scheduled task is running: [{u'body': {u'name': u'RssSync', u'sendUpdatesToClient': True, u'completionMessage': u'Completed', u'updateScheduledTask': True, u'trigger': u'scheduled', u'lastExecutionTime': u'2021-03-20T18:06:40.90472Z'}, u'status': u'started', u'name': u'RssSync', u'startedOn': u'2021-03-20T18:22:08.006512Z', u'started': u'2021-03-20T18:22:08.096392Z', u'sendUpdatesToClient': True, u'stateChangeTime': u'2021-03-20T18:22:08.096392Z', u'manual': False, u'id': 2942692, u'priority': u'low', u'state': u'started', u'trigger': u'scheduled', u'lastExecutionTime': u'2021-03-20T18:06:40.90472Z', u'message': u'Starting RSS Sync', u'queued': u'2021-03-20T18:22:08.006512Z', u'updateScheduledTask': True}]
Here is my debug logging:
2021-03-20 14:24:49,629:INFO:sonarr_backfiller.py:get_wanted:61:request response reason: OK 2021-03-20 14:24:49,629:INFO:sonarr_backfiller.py:get_wanted:62:request response status code: 200 2021-03-20 14:24:49,630:INFO:sonarr_backfiller.py:get_wanted:63:request response time elapsed: 0:00:00.054770 2021-03-20 14:24:49,680:INFO:sonarr_backfiller.py:queue_search:92:request submit uri http://192.168.1.2:8989/api/command 2021-03-20 14:24:49,680:INFO:sonarr_backfiller.py:queue_search:93:request submit headers {'X-Api-Key': 'xxxxxx'} 2021-03-20 14:24:49,680:INFO:sonarr_backfiller.py:queue_search:94:request submit payload {'name': 'EpisodeSearch', 'EpisodeIds': [28476, 28621]} 2021-03-20 14:24:49,681:INFO:sonarr_backfiller.py:queue_search:95:request response url: http://192.168.1.2:8989/sonarr/api/command 2021-03-20 14:24:49,681:INFO:sonarr_backfiller.py:queue_search:96:request response headers: {'Content-Encoding': 'gzip', 'Transfer-Encoding': 'chunked', 'X-ApplicationVersion': '2.0.0.5344', 'Expires': '0', 'Keep-Alive': 'timeout=15,max=99', 'Server': 'Mono-HTTPAPI/1.0', 'Pragma': 'no-cache', 'Cache-Control': 'no-cache, no-store, must-revalidate', 'Date': 'Sat, 20 Mar 2021 18:24:49 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'} 2021-03-20 14:24:49,681:INFO:sonarr_backfiller.py:queue_search:97:request response encoding: ascii 2021-03-20 14:24:49,681:INFO:sonarr_backfiller.py:queue_search:98:request response text: [] 2021-03-20 14:24:49,681:INFO:sonarr_backfiller.py:queue_search:99:request response reason: <bound method Response.json of <Response [200]>> 2021-03-20 14:24:49,682:INFO:sonarr_backfiller.py:queue_search:100:request response reason: OK 2021-03-20 14:24:49,682:INFO:sonarr_backfiller.py:queue_search:101:request response status code: 200 2021-03-20 14:24:49,682:INFO:sonarr_backfiller.py:queue_search:102:request response time elapsed: 0:00:00.003915
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Search results never get queued.
I get data that gets passed to queue_search, but the search never seems to take place.
If I pass the same content posted to queue_search via curl, it indeed kicks off a search.
{'name': 'EpisodeSearch', 'EpisodeIds': [28476, 28473]}
Request response is: <Response [200]>
Request output is: []
Sometimes request output is this, but I think it's when a scheduled task is running: [{u'body': {u'name': u'RssSync', u'sendUpdatesToClient': True, u'completionMessage': u'Completed', u'updateScheduledTask': True, u'trigger': u'scheduled', u'lastExecutionTime': u'2021-03-20T18:06:40.90472Z'}, u'status': u'started', u'name': u'RssSync', u'startedOn': u'2021-03-20T18:22:08.006512Z', u'started': u'2021-03-20T18:22:08.096392Z', u'sendUpdatesToClient': True, u'stateChangeTime': u'2021-03-20T18:22:08.096392Z', u'manual': False, u'id': 2942692, u'priority': u'low', u'state': u'started', u'trigger': u'scheduled', u'lastExecutionTime': u'2021-03-20T18:06:40.90472Z', u'message': u'Starting RSS Sync', u'queued': u'2021-03-20T18:22:08.006512Z', u'updateScheduledTask': True}]
Here is my debug logging:
2021-03-20 14:24:49,629:INFO:sonarr_backfiller.py:get_wanted:61:request response reason: OK
2021-03-20 14:24:49,629:INFO:sonarr_backfiller.py:get_wanted:62:request response status code: 200
2021-03-20 14:24:49,630:INFO:sonarr_backfiller.py:get_wanted:63:request response time elapsed: 0:00:00.054770
2021-03-20 14:24:49,680:INFO:sonarr_backfiller.py:queue_search:92:request submit uri http://192.168.1.2:8989/api/command
2021-03-20 14:24:49,680:INFO:sonarr_backfiller.py:queue_search:93:request submit headers {'X-Api-Key': 'xxxxxx'}
2021-03-20 14:24:49,680:INFO:sonarr_backfiller.py:queue_search:94:request submit payload {'name': 'EpisodeSearch', 'EpisodeIds': [28476, 28621]}
2021-03-20 14:24:49,681:INFO:sonarr_backfiller.py:queue_search:95:request response url: http://192.168.1.2:8989/sonarr/api/command
2021-03-20 14:24:49,681:INFO:sonarr_backfiller.py:queue_search:96:request response headers: {'Content-Encoding': 'gzip', 'Transfer-Encoding': 'chunked', 'X-ApplicationVersion': '2.0.0.5344', 'Expires': '0', 'Keep-Alive': 'timeout=15,max=99', 'Server': 'Mono-HTTPAPI/1.0', 'Pragma': 'no-cache', 'Cache-Control': 'no-cache, no-store, must-revalidate', 'Date': 'Sat, 20 Mar 2021 18:24:49 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'}
2021-03-20 14:24:49,681:INFO:sonarr_backfiller.py:queue_search:97:request response encoding: ascii
2021-03-20 14:24:49,681:INFO:sonarr_backfiller.py:queue_search:98:request response text: []
2021-03-20 14:24:49,681:INFO:sonarr_backfiller.py:queue_search:99:request response reason: <bound method Response.json of <Response [200]>>
2021-03-20 14:24:49,682:INFO:sonarr_backfiller.py:queue_search:100:request response reason: OK
2021-03-20 14:24:49,682:INFO:sonarr_backfiller.py:queue_search:101:request response status code: 200
2021-03-20 14:24:49,682:INFO:sonarr_backfiller.py:queue_search:102:request response time elapsed: 0:00:00.003915
The text was updated successfully, but these errors were encountered: