diff --git a/Searches-Indexers-and-Trackers.md b/Searches-Indexers-and-Trackers.md index 9df6c2f..d683c1b 100644 --- a/Searches-Indexers-and-Trackers.md +++ b/Searches-Indexers-and-Trackers.md @@ -1,4 +1,25 @@ -## Errors ## +## Troubleshooting + +### Turn logging up to trace +The first step is to turn logging up to Trace, see [[Logging and Log Files]] for details. You'll then reproduce the issue and use the trace level logs from that time frame to examine the issue. If someone is helping you, put context from before/after in a [pastebin](https://paste.ubuntu.com) to show them. It doesn't need to be the whole file and it shouldn't *just* be the error. You should also reproduce the issue while tasks that spam the log file aren't running. + +### Testing an Indexer or Tracker +When you test an indexer or tracker, in debug or trace logs you can find the URL used. An example of a successful test is below, you can see it query the indexer via a specific URL w/ specific parameters and then the response. You can take this url like `https://api.nzbgeek.info/api?t=tvsearch&cat=5030,5040,5045,5080,5070&extended=1&apikey=(removed)&offset=0&limit=100` and put it in your own browser to test, obviously the `apikey=(removed)` will need to be corrected. You can experiment w/ the parameters if you're getting an error from the indexer or see if you have connectivity issues if it doesn't even work. After you've tested in your own browser, you should test from the system Sonarr is running on *if* you haven't already. + +``` +19-11-12 13:27:28.8|Debug|Newznab|Downloading Feed https://api.nzbgeek.info/api?t=tvsearch&cat=5030,5040,5045,5080,5070&extended=1&apikey=(removed)&offset=0&limit=100 +19-11-12 13:27:28.8|Trace|HttpClient|Req: [GET] https://api.nzbgeek.info/api?t=tvsearch&cat=5030,5040,5045,5080,5070&extended=1&apikey=(removed)&offset=0&limit=100 +19-11-12 13:27:28.8|Trace|ConfigService|Using default config value for 'proxyenabled' defaultValue:'False' +19-11-12 13:27:29.9|Trace|HttpClient|Res: [GET] https://api.nzbgeek.info/api?t=tvsearch&cat=5030,5040,5045,5080,5070&extended=1&apikey=(removed)&offset=0&limit=100: 200.OK (1093 ms) +19-11-12 13:27:30.0|Trace|NewznabRssParser|Parsed: Shetland.S04E06.1080p.AMZN.WEB-DL.DDP2.0.H.264.1-Cinefeel-Obfuscated +... +19-11-12 13:27:30.0|Trace|NewznabRssParser|Parsed: James.Corden.2019.11.11.Kate.Beckinsale.1080p.WEB.x264.1-TBS-Obfuscated +19-11-12 13:27:30.0|Trace|NewznabRssParser|Parsed: [BakedFish] Black Clover (2017) - 109 [720p][AAC] +19-11-12 13:27:30.0|Trace|Http|Res: 108939 [POST] /api/v3/indexer/test: 200.OK (1404 ms) +19-11-12 13:27:30.0|Debug|Api|[POST] /api/v3/indexer/test: 200.OK (1404 ms) +``` + +## Errors These are some of the common errors you may see when adding an indexer