Issues with LearnBits #854

Closed
opened 2026-02-20 10:04:23 -05:00 by deekerman · 21 comments
Owner

Originally created by @Smexhy on GitHub (May 10, 2023).

Is there an existing issue for this?

  • I have searched the existing open and closed issues

Current Behavior

Unable to connect to indexer. We are being redirected to the login page. Most likely your session expired or was killed. Recheck your cookie or credentials and try testing the indexer.

hello, I am having the following error when trying to add this indexer for some reason

Expected Behavior

Indexer should connect, since jackett is working just fine using the same method.

Steps To Reproduce

No response

Environment

- OS: Ununtu 22.04.2
- Prowlarr: 1.4.1.3258 
- Docker Install: Yes
- Using Reverse Proxy: Yes
- Browser: Safari

What branch are you running?

Master

Trace Logs?

11:12:28.9|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2023-05-10 11:12:29.0|Trace|Cardigann|Getting Basic search
2023-05-10 11:12:29.0|Trace|ConfigService|Using default config value for 'logindexerresponse' defaultValue:'False'
2023-05-10 11:12:29.0|Debug|Cardigann|Populating config vars
2023-05-10 11:12:29.0|Debug|Cardigann|Adding request: http://www.learnbits.me/browse.php
2023-05-10 11:12:29.0|Debug|Cardigann|Downloading Feed http://www.learnbits.me/browse.php: do=search&search_type=t_name&category=0&sortby=added&orderby=DESC
2023-05-10 11:12:29.0|Trace|ConfigService|Using default config value for 'logindexerresponse' defaultValue:'False'
2023-05-10 11:12:29.0|Trace|IndexerHttpClient|Req: [POST] http://www.learnbits.me/browse.php: do=search&search_type=t_name&category=0&sortby=added&orderby=DESC
2023-05-10 11:12:29.0|Trace|ConfigService|Using default config value for 'proxyenabled' defaultValue:'False'
2023-05-10 11:12:29.0|Trace|IndexerHttpClient|Res: [POST] http://www.learnbits.me/browse.php: 302.Redirect (0 bytes) (67 ms)
2023-05-10 11:12:29.0|Debug|FlareSolverr|CF Protection not detected, returning original response
2023-05-10 11:12:29.0|Trace|Cardigann|Attempting to re-auth based on indexer search response
2023-05-10 11:12:29.0|Trace|ConfigService|Using default config value for 'logindexerresponse' defaultValue:'False'
2023-05-10 11:12:29.0|Debug|Cardigann|Populating config vars
2023-05-10 11:12:29.0|Trace|ConfigService|Using default config value for 'logindexerresponse' defaultValue:'False'
2023-05-10 11:12:29.0|Debug|Cardigann|Populating config vars
2023-05-10 11:12:29.0|Trace|ConfigService|Using default config value for 'logindexerresponse' defaultValue:'False'
2023-05-10 11:12:29.0|Debug|Cardigann|Populating config vars
2023-05-10 11:12:29.0|Trace|RateLimitService|Rate Limit triggered, delaying 'www.learnbits.me' for 1.924 sec
2023-05-10 11:12:31.0|Trace|IndexerHttpClient|Req: [POST] http://www.learnbits.me/takelogin.php: username=(removed)&password=(removed)&security_code=UGOUUF&logout=yes&logintype=yes
2023-05-10 11:12:31.0|Trace|ConfigService|Using default config value for 'proxyenabled' defaultValue:'False'
2023-05-10 11:12:31.0|Trace|IndexerHttpClient|Res: [POST] http://www.learnbits.me/takelogin.php: 200.OK (965 bytes) (69 ms)
2023-05-10 11:12:31.0|Trace|IndexerHttpClient|Response content (965 bytes): <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en">
<head>
<title>LearnBits</title>
<meta http-equiv="refresh" content="3;URL=http://www.learnbits.me/index.php">
<link rel="stylesheet" href="http://www.learnbits.me/include/templates/default/style/style.css" type="text/css" media="screen">
</head>
<body>
<br>
<br>
<br>
<br>
<div style="margin: auto auto; width: 50%" align="center">
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<tr>
<td class="thead"><strong><a href="http://www.learnbits.me">LearnBits</a></strong></td>
</tr>
<tr>
<td class="trow1" align="center"><p><font color="#000000">You have succesfully logged in...</font></p></td>
</tr>
<tr>
<td class="trow2" align="right"><a href="http://www.learnbits.me/index.php">
<span class="smalltext">Click here if you don't want to wait any longer.</span></a></td>
</tr>
</table>
</div>
</body>
</html>

2023-05-10 11:12:31.0|Debug|FlareSolverr|CF Protection not detected, returning original response
2023-05-10 11:12:31.0|Trace|RateLimitService|Rate Limit triggered, delaying 'www.learnbits.me' for 1.920 sec
2023-05-10 11:12:33.0|Trace|IndexerHttpClient|Req: [POST] http://www.learnbits.me/browse.php: do=search&search_type=t_name&category=0&sortby=added&orderby=DESC
2023-05-10 11:12:33.0|Trace|ConfigService|Using default config value for 'proxyenabled' defaultValue:'False'
2023-05-10 11:12:33.0|Trace|IndexerHttpClient|Res: [POST] http://www.learnbits.me/browse.php: 302.Redirect (0 bytes) (65 ms)
2023-05-10 11:12:33.0|Debug|FlareSolverr|CF Protection not detected, returning original response
2023-05-10 11:12:33.0|Debug|Cardigann|Parsing
2023-05-10 11:12:33.0|Trace|ConfigService|Using default config value for 'logindexerresponse' defaultValue:'False'
2023-05-10 11:12:33.0|Trace|Cardigann|Unexpected Response content (0 bytes): 
2023-05-10 11:12:33.0|Warn|Cardigann|Unable to connect to indexer

[v1.4.1.3258] NzbDrone.Core.Indexers.Exceptions.IndexerException: We are being redirected to the login page. Most likely your session expired or was killed. Recheck your cookie or credentials and try testing the indexer.
   at NzbDrone.Core.Indexers.Definitions.Cardigann.CardigannParser.ParseResponse(IndexerResponse indexerResponse) in ./Prowlarr.Core/Indexers/Definitions/Cardigann/CardigannParser.cs:line 49
   at NzbDrone.Core.Indexers.HttpIndexerBase`1.FetchPage(IndexerRequest request, IParseIndexerResponse parser) in ./Prowlarr.Core/Indexers/HttpIndexerBase.cs:line 436
   at NzbDrone.Core.Indexers.HttpIndexerBase`1.TestConnection() in ./Prowlarr.Core/Indexers/HttpIndexerBase.cs:line 588
RequestUri: http://www.learnbits.me/browse.php;RequestSummary: do=search&search_type=t_name&category=0&sortby=added&orderby=DESC;StatusCode: Redirect;ContentType: text/html;ContentLength: 0

2023-05-10 11:12:33.0|Error|Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware|An unhandled exception has occurred while executing the request.

[v1.4.1.3258] FluentValidation.ValidationException: Validation failed: 
 -- : Unable to connect to indexer. We are being redirected to the login page. Most likely your session expired or was killed. Recheck your cookie or credentials and try testing the indexer.
   at Prowlarr.Api.V1.ProviderControllerBase`3.VerifyValidationResult(ValidationResult validationResult, Boolean includeWarnings) in ./Prowlarr.Api.V1/ProviderControllerBase.cs:line 209
   at Prowlarr.Api.V1.ProviderControllerBase`3.Test(TProviderDefinition definition, Boolean includeWarnings) in ./Prowlarr.Api.V1/ProviderControllerBase.cs:line 195
   at Prowlarr.Api.V1.ProviderControllerBase`3.CreateProvider(TProviderResource providerResource) in ./Prowlarr.Api.V1/ProviderControllerBase.cs:line 69
   at lambda_method576(Closure , Object , Object[] )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Prowlarr.Http.Middleware.BufferingMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/BufferingMiddleware.cs:line 28
   at Prowlarr.Http.Middleware.IfModifiedMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/IfModifiedMiddleware.cs:line 41
   at Prowlarr.Http.Middleware.CacheHeaderMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/CacheHeaderMiddleware.cs:line 33
   at Prowlarr.Http.Middleware.StartingUpMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/StartingUpMiddleware.cs:line 38
   at Prowlarr.Http.Middleware.UrlBaseMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/UrlBaseMiddleware.cs:line 27
   at Prowlarr.Http.Middleware.VersionMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/VersionMiddleware.cs:line 28
   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
   at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)


2023-05-10 11:12:33.2|Trace|ProwlarrErrorPipeline|Handling Exception
2023-05-10 11:12:33.2|Warn|ProwlarrErrorPipeline|FluentValidation.ValidationException: Validation failed: 
 -- : Unable to connect to indexer. We are being redirected to the login page. Most likely your session expired or was killed. Recheck your cookie or credentials and try testing the indexer.

[v1.4.1.3258] FluentValidation.ValidationException: Validation failed: 
 -- : Unable to connect to indexer. We are being redirected to the login page. Most likely your session expired or was killed. Recheck your cookie or credentials and try testing the indexer.
   at Prowlarr.Api.V1.ProviderControllerBase`3.VerifyValidationResult(ValidationResult validationResult, Boolean includeWarnings) in ./Prowlarr.Api.V1/ProviderControllerBase.cs:line 209
   at Prowlarr.Api.V1.ProviderControllerBase`3.Test(TProviderDefinition definition, Boolean includeWarnings) in ./Prowlarr.Api.V1/ProviderControllerBase.cs:line 195
   at Prowlarr.Api.V1.ProviderControllerBase`3.CreateProvider(TProviderResource providerResource) in ./Prowlarr.Api.V1/ProviderControllerBase.cs:line 69
   at lambda_method576(Closure , Object , Object[] )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Prowlarr.Http.Middleware.BufferingMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/BufferingMiddleware.cs:line 28
   at Prowlarr.Http.Middleware.IfModifiedMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/IfModifiedMiddleware.cs:line 41
   at Prowlarr.Http.Middleware.CacheHeaderMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/CacheHeaderMiddleware.cs:line 33
   at Prowlarr.Http.Middleware.StartingUpMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/StartingUpMiddleware.cs:line 38
   at Prowlarr.Http.Middleware.UrlBaseMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/UrlBaseMiddleware.cs:line 27
   at Prowlarr.Http.Middleware.VersionMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/VersionMiddleware.cs:line 28
   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
   at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)


2023-05-10 11:12:33.3|Warn|ProwlarrErrorPipeline|Invalid request Validation failed: 
 -- : Unable to connect to indexer. We are being redirected to the login page. Most likely your session expired or was killed. Recheck your cookie or credentials and try testing the indexer.
2023-05-10 11:12:33.3|Trace|Http|Res: 550 [POST] /api/v1/indexer: 400.BadRequest (4372 ms)
2023-05-10 11:12:33.3|Debug|Api|[POST] /api/v1/indexer: 400.BadRequest (4372 ms)
2023-05-10 11:12:39.9|Trace|Scheduler|Pending Tasks: 

Trace Logs have been provided as applicable. Reports may be closed if the required logs are not provided.

  • I have followed the steps in the wiki link above and provided the required trace logs that are relevant and show this issue.
Originally created by @Smexhy on GitHub (May 10, 2023). ### Is there an existing issue for this? - [X] I have searched the existing open and closed issues ### Current Behavior `Unable to connect to indexer. We are being redirected to the login page. Most likely your session expired or was killed. Recheck your cookie or credentials and try testing the indexer.` hello, I am having the following error when trying to add this indexer for some reason ### Expected Behavior Indexer should connect, since jackett is working just fine using the same method. ### Steps To Reproduce _No response_ ### Environment ```markdown - OS: Ununtu 22.04.2 - Prowlarr: 1.4.1.3258 - Docker Install: Yes - Using Reverse Proxy: Yes - Browser: Safari ``` ### What branch are you running? Master ### Trace Logs? ``` 11:12:28.9|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated. 2023-05-10 11:12:29.0|Trace|Cardigann|Getting Basic search 2023-05-10 11:12:29.0|Trace|ConfigService|Using default config value for 'logindexerresponse' defaultValue:'False' 2023-05-10 11:12:29.0|Debug|Cardigann|Populating config vars 2023-05-10 11:12:29.0|Debug|Cardigann|Adding request: http://www.learnbits.me/browse.php 2023-05-10 11:12:29.0|Debug|Cardigann|Downloading Feed http://www.learnbits.me/browse.php: do=search&search_type=t_name&category=0&sortby=added&orderby=DESC 2023-05-10 11:12:29.0|Trace|ConfigService|Using default config value for 'logindexerresponse' defaultValue:'False' 2023-05-10 11:12:29.0|Trace|IndexerHttpClient|Req: [POST] http://www.learnbits.me/browse.php: do=search&search_type=t_name&category=0&sortby=added&orderby=DESC 2023-05-10 11:12:29.0|Trace|ConfigService|Using default config value for 'proxyenabled' defaultValue:'False' 2023-05-10 11:12:29.0|Trace|IndexerHttpClient|Res: [POST] http://www.learnbits.me/browse.php: 302.Redirect (0 bytes) (67 ms) 2023-05-10 11:12:29.0|Debug|FlareSolverr|CF Protection not detected, returning original response 2023-05-10 11:12:29.0|Trace|Cardigann|Attempting to re-auth based on indexer search response 2023-05-10 11:12:29.0|Trace|ConfigService|Using default config value for 'logindexerresponse' defaultValue:'False' 2023-05-10 11:12:29.0|Debug|Cardigann|Populating config vars 2023-05-10 11:12:29.0|Trace|ConfigService|Using default config value for 'logindexerresponse' defaultValue:'False' 2023-05-10 11:12:29.0|Debug|Cardigann|Populating config vars 2023-05-10 11:12:29.0|Trace|ConfigService|Using default config value for 'logindexerresponse' defaultValue:'False' 2023-05-10 11:12:29.0|Debug|Cardigann|Populating config vars 2023-05-10 11:12:29.0|Trace|RateLimitService|Rate Limit triggered, delaying 'www.learnbits.me' for 1.924 sec 2023-05-10 11:12:31.0|Trace|IndexerHttpClient|Req: [POST] http://www.learnbits.me/takelogin.php: username=(removed)&password=(removed)&security_code=UGOUUF&logout=yes&logintype=yes 2023-05-10 11:12:31.0|Trace|ConfigService|Using default config value for 'proxyenabled' defaultValue:'False' 2023-05-10 11:12:31.0|Trace|IndexerHttpClient|Res: [POST] http://www.learnbits.me/takelogin.php: 200.OK (965 bytes) (69 ms) 2023-05-10 11:12:31.0|Trace|IndexerHttpClient|Response content (965 bytes): <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en"> <head> <title>LearnBits</title> <meta http-equiv="refresh" content="3;URL=http://www.learnbits.me/index.php"> <link rel="stylesheet" href="http://www.learnbits.me/include/templates/default/style/style.css" type="text/css" media="screen"> </head> <body> <br> <br> <br> <br> <div style="margin: auto auto; width: 50%" align="center"> <table border="0" cellspacing="1" cellpadding="4" class="tborder"> <tr> <td class="thead"><strong><a href="http://www.learnbits.me">LearnBits</a></strong></td> </tr> <tr> <td class="trow1" align="center"><p><font color="#000000">You have succesfully logged in...</font></p></td> </tr> <tr> <td class="trow2" align="right"><a href="http://www.learnbits.me/index.php"> <span class="smalltext">Click here if you don't want to wait any longer.</span></a></td> </tr> </table> </div> </body> </html> 2023-05-10 11:12:31.0|Debug|FlareSolverr|CF Protection not detected, returning original response 2023-05-10 11:12:31.0|Trace|RateLimitService|Rate Limit triggered, delaying 'www.learnbits.me' for 1.920 sec 2023-05-10 11:12:33.0|Trace|IndexerHttpClient|Req: [POST] http://www.learnbits.me/browse.php: do=search&search_type=t_name&category=0&sortby=added&orderby=DESC 2023-05-10 11:12:33.0|Trace|ConfigService|Using default config value for 'proxyenabled' defaultValue:'False' 2023-05-10 11:12:33.0|Trace|IndexerHttpClient|Res: [POST] http://www.learnbits.me/browse.php: 302.Redirect (0 bytes) (65 ms) 2023-05-10 11:12:33.0|Debug|FlareSolverr|CF Protection not detected, returning original response 2023-05-10 11:12:33.0|Debug|Cardigann|Parsing 2023-05-10 11:12:33.0|Trace|ConfigService|Using default config value for 'logindexerresponse' defaultValue:'False' 2023-05-10 11:12:33.0|Trace|Cardigann|Unexpected Response content (0 bytes): 2023-05-10 11:12:33.0|Warn|Cardigann|Unable to connect to indexer [v1.4.1.3258] NzbDrone.Core.Indexers.Exceptions.IndexerException: We are being redirected to the login page. Most likely your session expired or was killed. Recheck your cookie or credentials and try testing the indexer. at NzbDrone.Core.Indexers.Definitions.Cardigann.CardigannParser.ParseResponse(IndexerResponse indexerResponse) in ./Prowlarr.Core/Indexers/Definitions/Cardigann/CardigannParser.cs:line 49 at NzbDrone.Core.Indexers.HttpIndexerBase`1.FetchPage(IndexerRequest request, IParseIndexerResponse parser) in ./Prowlarr.Core/Indexers/HttpIndexerBase.cs:line 436 at NzbDrone.Core.Indexers.HttpIndexerBase`1.TestConnection() in ./Prowlarr.Core/Indexers/HttpIndexerBase.cs:line 588 RequestUri: http://www.learnbits.me/browse.php;RequestSummary: do=search&search_type=t_name&category=0&sortby=added&orderby=DESC;StatusCode: Redirect;ContentType: text/html;ContentLength: 0 2023-05-10 11:12:33.0|Error|Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware|An unhandled exception has occurred while executing the request. [v1.4.1.3258] FluentValidation.ValidationException: Validation failed: -- : Unable to connect to indexer. We are being redirected to the login page. Most likely your session expired or was killed. Recheck your cookie or credentials and try testing the indexer. at Prowlarr.Api.V1.ProviderControllerBase`3.VerifyValidationResult(ValidationResult validationResult, Boolean includeWarnings) in ./Prowlarr.Api.V1/ProviderControllerBase.cs:line 209 at Prowlarr.Api.V1.ProviderControllerBase`3.Test(TProviderDefinition definition, Boolean includeWarnings) in ./Prowlarr.Api.V1/ProviderControllerBase.cs:line 195 at Prowlarr.Api.V1.ProviderControllerBase`3.CreateProvider(TProviderResource providerResource) in ./Prowlarr.Api.V1/ProviderControllerBase.cs:line 69 at lambda_method576(Closure , Object , Object[] ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync() at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at Prowlarr.Http.Middleware.BufferingMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/BufferingMiddleware.cs:line 28 at Prowlarr.Http.Middleware.IfModifiedMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/IfModifiedMiddleware.cs:line 41 at Prowlarr.Http.Middleware.CacheHeaderMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/CacheHeaderMiddleware.cs:line 33 at Prowlarr.Http.Middleware.StartingUpMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/StartingUpMiddleware.cs:line 38 at Prowlarr.Http.Middleware.UrlBaseMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/UrlBaseMiddleware.cs:line 27 at Prowlarr.Http.Middleware.VersionMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/VersionMiddleware.cs:line 28 at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context) at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult) at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task) 2023-05-10 11:12:33.2|Trace|ProwlarrErrorPipeline|Handling Exception 2023-05-10 11:12:33.2|Warn|ProwlarrErrorPipeline|FluentValidation.ValidationException: Validation failed: -- : Unable to connect to indexer. We are being redirected to the login page. Most likely your session expired or was killed. Recheck your cookie or credentials and try testing the indexer. [v1.4.1.3258] FluentValidation.ValidationException: Validation failed: -- : Unable to connect to indexer. We are being redirected to the login page. Most likely your session expired or was killed. Recheck your cookie or credentials and try testing the indexer. at Prowlarr.Api.V1.ProviderControllerBase`3.VerifyValidationResult(ValidationResult validationResult, Boolean includeWarnings) in ./Prowlarr.Api.V1/ProviderControllerBase.cs:line 209 at Prowlarr.Api.V1.ProviderControllerBase`3.Test(TProviderDefinition definition, Boolean includeWarnings) in ./Prowlarr.Api.V1/ProviderControllerBase.cs:line 195 at Prowlarr.Api.V1.ProviderControllerBase`3.CreateProvider(TProviderResource providerResource) in ./Prowlarr.Api.V1/ProviderControllerBase.cs:line 69 at lambda_method576(Closure , Object , Object[] ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync() at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at Prowlarr.Http.Middleware.BufferingMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/BufferingMiddleware.cs:line 28 at Prowlarr.Http.Middleware.IfModifiedMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/IfModifiedMiddleware.cs:line 41 at Prowlarr.Http.Middleware.CacheHeaderMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/CacheHeaderMiddleware.cs:line 33 at Prowlarr.Http.Middleware.StartingUpMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/StartingUpMiddleware.cs:line 38 at Prowlarr.Http.Middleware.UrlBaseMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/UrlBaseMiddleware.cs:line 27 at Prowlarr.Http.Middleware.VersionMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/VersionMiddleware.cs:line 28 at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context) at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult) at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task) 2023-05-10 11:12:33.3|Warn|ProwlarrErrorPipeline|Invalid request Validation failed: -- : Unable to connect to indexer. We are being redirected to the login page. Most likely your session expired or was killed. Recheck your cookie or credentials and try testing the indexer. 2023-05-10 11:12:33.3|Trace|Http|Res: 550 [POST] /api/v1/indexer: 400.BadRequest (4372 ms) 2023-05-10 11:12:33.3|Debug|Api|[POST] /api/v1/indexer: 400.BadRequest (4372 ms) 2023-05-10 11:12:39.9|Trace|Scheduler|Pending Tasks: ``` ### Trace Logs have been provided as applicable. Reports may be closed if the required logs are not provided. - [X] I have followed the steps in the wiki link above and provided the required trace logs that are relevant and show this issue.
Author
Owner

@ilike2burnthing commented on GitHub (May 13, 2023):

Can confirm, working in Jackett but not Prowlarr.

Adding followredirect shows that despite having received, "You have succesfully logged in..." it's definitely the login page we're redirected to, with the error, "Unfortunately, the page you tried to view can only be used when you're logged in. You will be redirected after a successful login."

@ilike2burnthing commented on GitHub (May 13, 2023): Can confirm, working in Jackett but not Prowlarr. Adding `followredirect` shows that despite having received, "You have succesfully logged in..." it's definitely the login page we're redirected to, with the error, "Unfortunately, the page you tried to view **can only be used when you're logged in**. You will be redirected after a successful login."
Author
Owner

@mynameisbogdan commented on GitHub (May 17, 2023):

@Smexhy restart Prowlarr and try again to add this indexer.

@mynameisbogdan commented on GitHub (May 17, 2023): @Smexhy restart Prowlarr and try again to add this indexer.
Author
Owner

@ilike2burnthing commented on GitHub (May 17, 2023):

Not working here. Still getting "You have succesfully logged in..." and then being redirected to login when it performs a search.

@ilike2burnthing commented on GitHub (May 17, 2023): Not working here. Still getting "You have succesfully logged in..." and then being redirected to login when it performs a search.
Author
Owner

@Smexhy commented on GitHub (May 17, 2023):

@Smexhy restart Prowlarr and try again to add this indexer.

Restarted Prowlarr through webUI and still having the same error.

@Smexhy commented on GitHub (May 17, 2023): > @Smexhy restart Prowlarr and try again to add this indexer. Restarted Prowlarr through webUI and still having the same error.
Author
Owner

@mynameisbogdan commented on GitHub (May 17, 2023):

Is the logout selector maybe incorrect?

@mynameisbogdan commented on GitHub (May 17, 2023): Is the logout selector maybe incorrect?
Author
Owner

@ilike2burnthing commented on GitHub (May 17, 2023):

Nope, definitely correct:

<a href="https://learnbits.me/logout.php?logouthash=xxxxx" onclick="return log_out()">[logout]</a>

Removing method: post from search doesn't work, switching to HTTPS with the cert exception added doesn't work, and trying index.php instead of browse.php (post or not) doesn't work.

Login works fine, but as soon as we go to search we're kicked out, the site doesn't see us as logged in anymore.

See if dev trace logs help:

prowlarr.trace
2023-05-17 23:03:12.3|Trace|Http|Req: 62 [POST] /api/v1/indexer/action/getUrls (from ::1 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.42)
2023-05-17 23:03:12.3|Trace|Http|Req: 63 [POST] /api/v1/indexer/action/checkCaptcha (from ::1 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.42)
2023-05-17 23:03:12.3|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2023-05-17 23:03:12.3|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2023-05-17 23:03:12.4|Trace|IndexerDefinitionUpdateService|Loading Cardigann definition C:\ProgramData\Prowlarr\Definitions\learnbits.yml
2023-05-17 23:03:12.4|Trace|IndexerDefinitionUpdateService|Loading Cardigann definition C:\ProgramData\Prowlarr\Definitions\learnbits.yml
2023-05-17 23:03:12.5|Trace|Http|Res: 62 [POST] /api/v1/indexer/action/getUrls: 200.OK (155 ms)
2023-05-17 23:03:12.5|Debug|Api|[POST] /api/v1/indexer/action/getUrls: 200.OK (155 ms)
2023-05-17 23:03:12.5|Debug|Cardigann|Populating config vars
2023-05-17 23:03:12.5|Trace|Cardigann|.Config.username got value ""
2023-05-17 23:03:12.5|Debug|Cardigann|Setting username to ""
2023-05-17 23:03:12.5|Trace|Cardigann|.Config.freeleech got value false
2023-05-17 23:03:12.5|Debug|Cardigann|Setting freeleech to null
2023-05-17 23:03:12.5|Trace|Cardigann|.Config.sort got value 0
2023-05-17 23:03:12.5|Trace|Cardigann|Setting options: {
  "added": "created",
  "seeders": "seeders",
  "size": "size"
}
2023-05-17 23:03:12.5|Debug|Cardigann|Selected option: {
  "key": "added",
  "value": "created"
}
2023-05-17 23:03:12.5|Debug|Cardigann|Setting sort to "added"
2023-05-17 23:03:12.5|Trace|Cardigann|.Config.type got value 1
2023-05-17 23:03:12.5|Trace|Cardigann|Setting options: {
  "desc": "desc",
  "asc": "asc"
}
2023-05-17 23:03:12.5|Debug|Cardigann|Selected option: {
  "key": "DESC",
  "value": "desc"
}
2023-05-17 23:03:12.5|Debug|Cardigann|Setting type to "DESC"
2023-05-17 23:03:12.5|Trace|SqlBuilderExtensions|
==== Begin Query Trace ====

QUERY TEXT:
SELECT "IndexerProxies".*
 FROM "IndexerProxies"       

PARAMETERS:

==== End Query Trace ====


2023-05-17 23:03:12.5|Trace|IndexerHttpClient|Req: [GET] http://www.learnbits.me/login.php
2023-05-17 23:03:12.5|Trace|ConfigService|Using default config value for 'proxyenabled' defaultValue:'False'
2023-05-17 23:03:12.7|Trace|IndexerHttpClient|Res: [GET] http://www.learnbits.me/login.php: 200.OK (8805 bytes) (158 ms)
2023-05-17 23:03:12.7|Trace|IndexerHttpClient|Response content (8805 bytes): 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />

<meta http-equiv="Page-Enter" content="blendTrans(Duration=0.3)" />

<meta name="generator" content="LearnBits :: Login" />

<meta name="revisit-after" content="3 days" />

<meta name="robots" content="index, follow" />

<meta name="description" content="LearnBits - eLearning" />

<meta name="keywords" content="LearnBits" />

<title>LearnBits :: Login</title>

<link rel="stylesheet" href="http://www.learnbits.me/include/templates/default/style/style.css" type="text/css" media="screen" />

<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://www.learnbits.me/rss.php" />

<link rel="alternate" type="text/xml" title="RSS .92" href="http://www.learnbits.me/rss.php" />



<link rel="icon" href="/include/templates/default/favico5.gif" type="image/gif" />

<script type="text/javascript">

var sitename="LearnBits"

var baseurl="http://www.learnbits.me"

var dimagedir="http://www.learnbits.me/pic/"

var imagedir = "http://www.learnbits.me/include/templates/default/images/";

var cssdir = "http://www.learnbits.me/include/templates/default/style/";

var charset="ISO-8859-1"

var defaulttemplate="default"

var autorefreshtime="1:30"

var requesturl="/login.php"

var invites="Login First"

var bonus="Login First"

var username=(removed) userid="Guest_9793"

var userip="REMOVED"

</script>

<script type="text/javascript">
var l_message="Sorry, this function has been disabled for security reasons.";
var l_helpfaq="FAQ";
var l_helprules="Rules";
var l_staffcontact="Contact Staff";
var l_ajaxerror="There was a problem with the request. Please report this to administrator.";
var l_ajaxerror2="Cannot create XMLHTTP instance.";
var l_password=(removed) and Paste your new password below:";
var l_entername="Please enter your username.";
var l_wrongusername=(removed) characters length: ";
var l_spacenotallowed="Sorry, spaces are not allowed. Try again.";
var l_passwordtwice="Please enter your password twice.";
var l_wrongpassword1="Minimum/Maximum characters length: ";
var l_wrongpassword2="You did not enter the same new password twice. Please re-enter your password.";
var l_wrongpassword3="Sorry, password cannot be same as user name. Try again.";
var l_wronghintanswer1="Minumum hintanswer characters: ";
var l_wronghintanswer2="Sorry, hintanswer cannot be same as user name. Try again.";
var l_wronghintanswer3="Sorry, hintanswer cannot be same as password. Try again.";
var l_wrongemail="Please enter a valid email address.";
var l_pleasewait="Please wait ...";
var l_sidemenu="Side Menu";
var l_homepage="Home Page";
var l_login="Login";
var l_register="Register";
var l_recover1="Recover Password";
var l_recover2="Via EMAIL";
var l_recover3="Via Question";
var l_needhelp="Need Help?";
var l_extramenu="Extra Menu";
var l_enterurl="You must enter a URL";
var l_entertitle="You must enter a title";
var l_closetag="Close last, Open tags ";
var l_prompt="Enter item of the list. For end of the list, press 'cancel' or leave the next field empty ";
var l_error="Error! ";
var l_enteriamgeurl="You must enter a full image URL";
var l_thankyou="thank you!";
var l_thankyoutoo="thank you too!";
var l_ff="Netscape 6 or Mozilla is needed!";
var l_limit="Limit:";
	var l_newreply = "Post Reply"; // Added v3.9
	var l_updateerror = "There was an error performing the update.\n\nError Message:\n-----------------------------------\n"; // Added v3.9
</script>

<script type="text/javascript" src="http://www.learnbits.me/scripts/java_klappe.js?v=5.1"></script>

<script type="text/javascript" src="http://www.learnbits.me/scripts/ncode_imageresizer.js?v=5.1"></script>

<script type="text/javascript" src="http://www.learnbits.me/scripts/main.js?v=5.1"></script>

<script type="text/javascript">

	function show_ts_clock()

	{

		var TimezoneOffset = 0;  // adjust for time zone

		var localTime = new Date();

		var ms = localTime.getTime() 

				 + (localTime.getTimezoneOffset() * 60000)

				 + TimezoneOffset * 3600000;



		var time = new Date(ms)

		var hour = time.getHours()

		var minute = time.getMinutes()

		var second = time.getSeconds()

		var temp = ((hour < 10) ? "0" : "") + hour

		temp += ((minute < 10) ? ":0" : ":") + minute

		temp += ((second < 10) ? ":0" : ":") + second

		document.getElementById('showTSclock').innerHTML=temp;

		id = setTimeout("show_ts_clock()",1000)

	 };

</script>

<script type="text/javascript" src="http://www.learnbits.me/scripts/preview.js?v=5.1"></script><script type="text/javascript" src="http://www.learnbits.me/scripts/collapse.js?v=5.1"></script><script src="http://www.learnbits.me/scripts/ssm.js?v=5.1" language="JavaScript1.2"></script>

</head>

<body>

<div class="content">

	<div id="top">

		<div style="float: left; color:#ffffff; padding: 20px 25px 0 40px; position:relative;" id="showTSclock"></div>

		<div class="padding" align="center">
	<a href="http://www.learnbits.me/login.php">Login</a> | <a href="http://www.learnbits.me/signup.php">Register</a> | Recover Password: <a href="http://www.learnbits.me/recover.php">via Email</a> | <a href="http://www.learnbits.me/recoverhint.php">via Question</a>



</div>

</div>

<div id="headerextern">

<div class="title">

<h1>&nbsp;</h1>

<h6>&nbsp;</h6>

</div>

</div>
<div id="subheader">

<div id="menu">

<script type="text/javascript" src="http://www.learnbits.me/scripts/dropdown.js?v=5.1"></script>

<ul>

<li class="page_item"><a href="http://www.learnbits.me">Home</a></li>



	</ul>

	</div>

	</div>

	<div id="main">

	<div class="left_side">


<script>show_ts_clock();</script>

<form method="post" action="takelogin.php">
<table border="0" cellpadding="5" width="100%">
<tr><td colspan="2" class="thead" align="center">
<a style="float: right;" href="#top" onclick="return toggle_collapse('loginarea')"><img id="collapseimg_loginarea" src="http://www.learnbits.me/pic/collapse_tcat.gif" alt="" border="0" /></a>
LearnBits Login
</td></tr><tbody id="collapseobj_loginarea" style="none">
<tr>
<td class="rowhead">Username:</td>
<td align="left"><input type="text" name="username" class="inputUsername" value="" /></td>
</tr>

<tr>
<td class="rowhead">Password:</td>
<td align="left"><input type="password" name="password" class="inputPassword" value="" /></td>
</tr>
		<script type="text/javascript">
			function reload ()
			{
				TSGetID('regimage').src = "http://www.learnbits.me/captcha.php?" + Math.random();
				return;
			};
		</script>
		<tr>
			<td class="rowhead">Security Image:<br />(Not case sensitive)</td>
			<td>
				<table>
					<tr>
						<td rowspan="2" class="none"><img src="/captcha.php" id="regimage" alt="" /></td>
						<td class="none"><img src="http://www.learnbits.me/pic/listen.gif" border="0" style="cursor:pointer" onclick="return ts_open_popup('http://www.learnbits.me/listen.php', 400, 120);" alt="Play audio and type the numbers you hear." title="Play audio and type the numbers you hear." /></td>
					</tr>
					<tr>
						<td class="none"><img src="http://www.learnbits.me/pic/reload.gif" border="0" style="cursor:pointer" onload="reload()" onclick="javascript:reload()" alt="Image too difficult to read? Click here to load a new one." title="Image too difficult to read? Click here to load a new one." /></td>
					</tr>
				</table>
			</td>
		</tr>
		<tr><td class="rowhead">Security Code: </td>
		<td><input type="text" size="26" name="security_code" class="inputPassword" value="" autocomplete="off" />
		
		</td></tr>
<tr><td class="rowhead"><input type="checkbox" class="none" name="logout" style="vertical-align: middle;" value="yes" />Log me out after 15 minutes inactivity 
<input type="checkbox" class="none" name="logintype" style="vertical-align: middle;" value="yes"  />Secure Login</td>
<td align="left"><input type="submit" value="LOGIN" /> <input type="reset" value="RESET" /></td></tr>

</tbody></table></form>
<center><br />Forget your password? Recover your password <a href="recover.php"><b>via email</b></a> or&nbsp;&nbsp;<a href="recoverhint.php"><b>via question</b></a>.<br /><br />Haven't received the Activation Code? Click <a href="/login.php?do=activation_code"><b>here</b></a>.<br /><br />Have a Question?  Visit our IRC help channel:&nbsp;&nbsp;<a href=irc://irc.learnbits.me:6667/LB-help><b>irc.learnbits.me #LB-help</b></a></p></center><br /></div></div><div id="footer"><div class="padding"> &copy; 2023 <font color="white"><a href="http://www.learnbits.me" target="_self"><strong>LearnBits</strong></a></font>  [Executed in <b> 0.0031 </b>seconds]</div></div></div></body></html>
2023-05-17 23:03:12.9|Debug|Cardigann|Populating config vars
2023-05-17 23:03:12.9|Trace|Cardigann|.Config.username got value ""
2023-05-17 23:03:12.9|Debug|Cardigann|Setting username to ""
2023-05-17 23:03:12.9|Trace|Cardigann|.Config.freeleech got value false
2023-05-17 23:03:12.9|Debug|Cardigann|Setting freeleech to null
2023-05-17 23:03:12.9|Trace|Cardigann|.Config.sort got value 0
2023-05-17 23:03:12.9|Trace|Cardigann|Setting options: {
  "added": "created",
  "seeders": "seeders",
  "size": "size"
}
2023-05-17 23:03:12.9|Debug|Cardigann|Selected option: {
  "key": "added",
  "value": "created"
}
2023-05-17 23:03:12.9|Debug|Cardigann|Setting sort to "added"
2023-05-17 23:03:12.9|Trace|Cardigann|.Config.type got value 1
2023-05-17 23:03:12.9|Trace|Cardigann|Setting options: {
  "desc": "desc",
  "asc": "asc"
}
2023-05-17 23:03:12.9|Debug|Cardigann|Selected option: {
  "key": "DESC",
  "value": "desc"
}
2023-05-17 23:03:12.9|Debug|Cardigann|Setting type to "DESC"
2023-05-17 23:03:12.9|Trace|SqlBuilderExtensions|
==== Begin Query Trace ====

QUERY TEXT:
SELECT "IndexerProxies".*
 FROM "IndexerProxies"       

PARAMETERS:

==== End Query Trace ====


2023-05-17 23:03:12.9|Trace|RateLimitService|Rate Limit triggered, delaying 'www.learnbits.me' for 1.636 sec
2023-05-17 23:03:14.5|Trace|IndexerHttpClient|Req: [GET] http://www.learnbits.me/captcha.php
2023-05-17 23:03:14.5|Trace|ConfigService|Using default config value for 'proxyenabled' defaultValue:'False'
2023-05-17 23:03:14.6|Trace|IndexerHttpClient|Res: [GET] http://www.learnbits.me/captcha.php: 200.OK (3521 bytes) (90 ms)
2023-05-17 23:03:14.6|Trace|Http|Res: 63 [POST] /api/v1/indexer/action/checkCaptcha: 200.OK (2309 ms)
2023-05-17 23:03:14.6|Debug|Api|[POST] /api/v1/indexer/action/checkCaptcha: 200.OK (2309 ms)
2023-05-17 23:03:33.1|Trace|Scheduler|Pending Tasks: 0
2023-05-17 23:03:40.6|Trace|Http|Req: 64 [POST] /api/v1/indexer (from ::1 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.42)
2023-05-17 23:03:40.6|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2023-05-17 23:03:40.6|Trace|SqlBuilderExtensions|
==== Begin Query Trace ====

QUERY TEXT:
SELECT "Indexers".*
 FROM "Indexers"       

PARAMETERS:

==== End Query Trace ====


2023-05-17 23:03:40.6|Trace|Cardigann|Getting Basic search
2023-05-17 23:03:40.6|Debug|Cardigann|Populating config vars
2023-05-17 23:03:40.6|Trace|Cardigann|.Config.username got value "REMOVED"
2023-05-17 23:03:40.6|Debug|Cardigann|Setting username to "REMOVED"
2023-05-17 23:03:40.6|Trace|Cardigann|.Config.freeleech got value false
2023-05-17 23:03:40.6|Debug|Cardigann|Setting freeleech to null
2023-05-17 23:03:40.6|Trace|Cardigann|.Config.sort got value 0
2023-05-17 23:03:40.6|Trace|Cardigann|Setting options: {
  "added": "created",
  "seeders": "seeders",
  "size": "size"
}
2023-05-17 23:03:40.6|Debug|Cardigann|Selected option: {
  "key": "added",
  "value": "created"
}
2023-05-17 23:03:40.6|Debug|Cardigann|Setting sort to "added"
2023-05-17 23:03:40.6|Trace|Cardigann|.Config.type got value 1
2023-05-17 23:03:40.6|Trace|Cardigann|Setting options: {
  "desc": "desc",
  "asc": "asc"
}
2023-05-17 23:03:40.6|Debug|Cardigann|Selected option: {
  "key": "DESC",
  "value": "desc"
}
2023-05-17 23:03:40.6|Debug|Cardigann|Setting type to "DESC"
2023-05-17 23:03:40.7|Debug|Cardigann|Adding request: http://www.learnbits.me/browse.php
2023-05-17 23:03:40.7|Debug|Cardigann|Downloading Feed http://www.learnbits.me/browse.php: do=search&search_type=t_name&category=0&sortby=added&orderby=DESC
2023-05-17 23:03:40.7|Trace|SqlBuilderExtensions|
==== Begin Query Trace ====

QUERY TEXT:
SELECT "IndexerStatus".*
 FROM "IndexerStatus"    WHERE ("IndexerStatus"."ProviderId" = @Clause1_P1)
   

PARAMETERS:
Clause1_P1 = [0]

==== End Query Trace ====


2023-05-17 23:03:40.7|Trace|SqlBuilderExtensions|
==== Begin Query Trace ====

QUERY TEXT:
SELECT "IndexerStatus".*
 FROM "IndexerStatus"    WHERE ("IndexerStatus"."ProviderId" = @Clause1_P1)
   

PARAMETERS:
Clause1_P1 = [0]

==== End Query Trace ====


2023-05-17 23:03:40.7|Trace|SqlBuilderExtensions|
==== Begin Query Trace ====

QUERY TEXT:
SELECT "IndexerProxies".*
 FROM "IndexerProxies"       

PARAMETERS:

==== End Query Trace ====


2023-05-17 23:03:40.7|Trace|IndexerHttpClient|Req: [POST] http://www.learnbits.me/browse.php: do=search&search_type=t_name&category=0&sortby=added&orderby=DESC
2023-05-17 23:03:40.7|Trace|ConfigService|Using default config value for 'proxyenabled' defaultValue:'False'
2023-05-17 23:03:40.8|Trace|IndexerHttpClient|Res: [POST] http://www.learnbits.me/browse.php: 302.Redirect (0 bytes) (93 ms)
2023-05-17 23:03:40.8|Trace|IndexerHttpClient|Response content (0 bytes): 
2023-05-17 23:03:40.8|Trace|Cardigann|Attempting to re-auth based on indexer search response
2023-05-17 23:03:40.8|Debug|Cardigann|Populating config vars
2023-05-17 23:03:40.8|Trace|Cardigann|.Config.username got value "REMOVED"
2023-05-17 23:03:40.8|Debug|Cardigann|Setting username to "REMOVED"
2023-05-17 23:03:40.8|Trace|Cardigann|.Config.freeleech got value false
2023-05-17 23:03:40.8|Debug|Cardigann|Setting freeleech to null
2023-05-17 23:03:40.8|Trace|Cardigann|.Config.sort got value 0
2023-05-17 23:03:40.8|Trace|Cardigann|Setting options: {
  "added": "created",
  "seeders": "seeders",
  "size": "size"
}
2023-05-17 23:03:40.8|Debug|Cardigann|Selected option: {
  "key": "added",
  "value": "created"
}
2023-05-17 23:03:40.8|Debug|Cardigann|Setting sort to "added"
2023-05-17 23:03:40.8|Trace|Cardigann|.Config.type got value 1
2023-05-17 23:03:40.8|Trace|Cardigann|Setting options: {
  "desc": "desc",
  "asc": "asc"
}
2023-05-17 23:03:40.8|Debug|Cardigann|Selected option: {
  "key": "DESC",
  "value": "desc"
}
2023-05-17 23:03:40.8|Debug|Cardigann|Setting type to "DESC"
2023-05-17 23:03:40.8|Debug|Cardigann|Populating config vars
2023-05-17 23:03:40.8|Trace|Cardigann|.Config.username got value "REMOVED"
2023-05-17 23:03:40.8|Debug|Cardigann|Setting username to "REMOVED"
2023-05-17 23:03:40.8|Trace|Cardigann|.Config.freeleech got value false
2023-05-17 23:03:40.8|Debug|Cardigann|Setting freeleech to null
2023-05-17 23:03:40.8|Trace|Cardigann|.Config.sort got value 0
2023-05-17 23:03:40.8|Trace|Cardigann|Setting options: {
  "added": "created",
  "seeders": "seeders",
  "size": "size"
}
2023-05-17 23:03:40.8|Debug|Cardigann|Selected option: {
  "key": "added",
  "value": "created"
}
2023-05-17 23:03:40.8|Debug|Cardigann|Setting sort to "added"
2023-05-17 23:03:40.8|Trace|Cardigann|.Config.type got value 1
2023-05-17 23:03:40.8|Trace|Cardigann|Setting options: {
  "desc": "desc",
  "asc": "asc"
}
2023-05-17 23:03:40.8|Debug|Cardigann|Selected option: {
  "key": "DESC",
  "value": "desc"
}
2023-05-17 23:03:40.8|Debug|Cardigann|Setting type to "DESC"
2023-05-17 23:03:40.8|Debug|Cardigann|Populating config vars
2023-05-17 23:03:40.8|Trace|Cardigann|.Config.username got value "REMOVED"
2023-05-17 23:03:40.8|Debug|Cardigann|Setting username to "REMOVED"
2023-05-17 23:03:40.8|Trace|Cardigann|.Config.freeleech got value false
2023-05-17 23:03:40.8|Debug|Cardigann|Setting freeleech to null
2023-05-17 23:03:40.8|Trace|Cardigann|.Config.sort got value 0
2023-05-17 23:03:40.8|Trace|Cardigann|Setting options: {
  "added": "created",
  "seeders": "seeders",
  "size": "size"
}
2023-05-17 23:03:40.8|Debug|Cardigann|Selected option: {
  "key": "added",
  "value": "created"
}
2023-05-17 23:03:40.8|Debug|Cardigann|Setting sort to "added"
2023-05-17 23:03:40.8|Trace|Cardigann|.Config.type got value 1
2023-05-17 23:03:40.8|Trace|Cardigann|Setting options: {
  "desc": "desc",
  "asc": "asc"
}
2023-05-17 23:03:40.8|Debug|Cardigann|Selected option: {
  "key": "DESC",
  "value": "desc"
}
2023-05-17 23:03:40.8|Debug|Cardigann|Setting type to "DESC"
2023-05-17 23:03:40.8|Trace|SqlBuilderExtensions|
==== Begin Query Trace ====

QUERY TEXT:
SELECT "IndexerProxies".*
 FROM "IndexerProxies"       

PARAMETERS:

==== End Query Trace ====


2023-05-17 23:03:40.8|Trace|RateLimitService|Rate Limit triggered, delaying 'www.learnbits.me' for 1.863 sec
2023-05-17 23:03:42.7|Trace|IndexerHttpClient|Req: [POST] http://www.learnbits.me/takelogin.php: username=(removed)&password=(removed)&security_code=OOCDUW&logout=yes&logintype=yes
2023-05-17 23:03:42.7|Trace|ConfigService|Using default config value for 'proxyenabled' defaultValue:'False'
2023-05-17 23:03:42.8|Trace|IndexerHttpClient|Res: [POST] http://www.learnbits.me/takelogin.php: 200.OK (965 bytes) (97 ms)
2023-05-17 23:03:42.8|Trace|IndexerHttpClient|Response content (965 bytes): <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en">
<head>
<title>LearnBits</title>
<meta http-equiv="refresh" content="3;URL=http://www.learnbits.me/index.php">
<link rel="stylesheet" href="http://www.learnbits.me/include/templates/default/style/style.css" type="text/css" media="screen">
</head>
<body>
<br>
<br>
<br>
<br>
<div style="margin: auto auto; width: 50%" align="center">
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<tr>
<td class="thead"><strong><a href="http://www.learnbits.me">LearnBits</a></strong></td>
</tr>
<tr>
<td class="trow1" align="center"><p><font color="#000000">You have succesfully logged in...</font></p></td>
</tr>
<tr>
<td class="trow2" align="right"><a href="http://www.learnbits.me/index.php">
<span class="smalltext">Click here if you don't want to wait any longer.</span></a></td>
</tr>
</table>
</div>
</body>
</html>

2023-05-17 23:03:42.8|Trace|SqlBuilderExtensions|
==== Begin Query Trace ====

QUERY TEXT:
SELECT "IndexerProxies".*
 FROM "IndexerProxies"       

PARAMETERS:

==== End Query Trace ====


2023-05-17 23:03:42.8|Trace|RateLimitService|Rate Limit triggered, delaying 'www.learnbits.me' for 1.868 sec
2023-05-17 23:03:44.7|Trace|IndexerHttpClient|Req: [POST] http://www.learnbits.me/browse.php: do=search&search_type=t_name&category=0&sortby=added&orderby=DESC
2023-05-17 23:03:44.7|Trace|ConfigService|Using default config value for 'proxyenabled' defaultValue:'False'
2023-05-17 23:03:44.8|Trace|IndexerHttpClient|Res: [POST] http://www.learnbits.me/browse.php: 302.Redirect (0 bytes) (98 ms)
2023-05-17 23:03:44.8|Trace|IndexerHttpClient|Response content (0 bytes): 
2023-05-17 23:03:44.8|Debug|Cardigann|Parsing
2023-05-17 23:03:44.8|Trace|Cardigann|Unexpected Response content (0 bytes): 
2023-05-17 23:03:44.8|Warn|Cardigann|Unable to connect to indexer

[v1.4.1.3258] NzbDrone.Core.Indexers.Exceptions.IndexerException: We are being redirected to the login page. Most likely your session expired or was killed. Recheck your cookie or credentials and try testing the indexer.
   at NzbDrone.Core.Indexers.Definitions.Cardigann.CardigannParser.ParseResponse(IndexerResponse indexerResponse) in ./Prowlarr.Core/Indexers/Definitions/Cardigann/CardigannParser.cs:line 49
   at NzbDrone.Core.Indexers.HttpIndexerBase`1.FetchPage(IndexerRequest request, IParseIndexerResponse parser) in ./Prowlarr.Core/Indexers/HttpIndexerBase.cs:line 417
   at NzbDrone.Core.Indexers.HttpIndexerBase`1.TestConnection() in ./Prowlarr.Core/Indexers/HttpIndexerBase.cs:line 588
RequestUri: http://www.learnbits.me/browse.php;RequestSummary: do=search&search_type=t_name&category=0&sortby=added&orderby=DESC;StatusCode: Redirect;ContentType: text/html;ContentLength: 0

2023-05-17 23:03:44.9|Error|Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware|An unhandled exception has occurred while executing the request.

[v1.4.1.3258] FluentValidation.ValidationException: Validation failed: 
 -- : Unable to connect to indexer. We are being redirected to the login page. Most likely your session expired or was killed. Recheck your cookie or credentials and try testing the indexer.
   at Prowlarr.Api.V1.ProviderControllerBase`3.VerifyValidationResult(ValidationResult validationResult, Boolean includeWarnings) in ./Prowlarr.Api.V1/ProviderControllerBase.cs:line 209
   at Prowlarr.Api.V1.ProviderControllerBase`3.Test(TProviderDefinition definition, Boolean includeWarnings) in ./Prowlarr.Api.V1/ProviderControllerBase.cs:line 195
   at Prowlarr.Api.V1.ProviderControllerBase`3.CreateProvider(TProviderResource providerResource) in ./Prowlarr.Api.V1/ProviderControllerBase.cs:line 69
   at lambda_method198(Closure , Object , Object[] )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Prowlarr.Http.Middleware.BufferingMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/BufferingMiddleware.cs:line 28
   at Prowlarr.Http.Middleware.IfModifiedMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/IfModifiedMiddleware.cs:line 41
   at Prowlarr.Http.Middleware.CacheHeaderMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/CacheHeaderMiddleware.cs:line 33
   at Prowlarr.Http.Middleware.StartingUpMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/StartingUpMiddleware.cs:line 38
   at Prowlarr.Http.Middleware.UrlBaseMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/UrlBaseMiddleware.cs:line 27
   at Prowlarr.Http.Middleware.VersionMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/VersionMiddleware.cs:line 28
   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
   at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)


2023-05-17 23:03:45.1|Trace|ProwlarrErrorPipeline|Handling Exception
2023-05-17 23:03:45.1|Warn|ProwlarrErrorPipeline|FluentValidation.ValidationException: Validation failed: 
 -- : Unable to connect to indexer. We are being redirected to the login page. Most likely your session expired or was killed. Recheck your cookie or credentials and try testing the indexer.

[v1.4.1.3258] FluentValidation.ValidationException: Validation failed: 
 -- : Unable to connect to indexer. We are being redirected to the login page. Most likely your session expired or was killed. Recheck your cookie or credentials and try testing the indexer.
   at Prowlarr.Api.V1.ProviderControllerBase`3.VerifyValidationResult(ValidationResult validationResult, Boolean includeWarnings) in ./Prowlarr.Api.V1/ProviderControllerBase.cs:line 209
   at Prowlarr.Api.V1.ProviderControllerBase`3.Test(TProviderDefinition definition, Boolean includeWarnings) in ./Prowlarr.Api.V1/ProviderControllerBase.cs:line 195
   at Prowlarr.Api.V1.ProviderControllerBase`3.CreateProvider(TProviderResource providerResource) in ./Prowlarr.Api.V1/ProviderControllerBase.cs:line 69
   at lambda_method198(Closure , Object , Object[] )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Prowlarr.Http.Middleware.BufferingMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/BufferingMiddleware.cs:line 28
   at Prowlarr.Http.Middleware.IfModifiedMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/IfModifiedMiddleware.cs:line 41
   at Prowlarr.Http.Middleware.CacheHeaderMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/CacheHeaderMiddleware.cs:line 33
   at Prowlarr.Http.Middleware.StartingUpMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/StartingUpMiddleware.cs:line 38
   at Prowlarr.Http.Middleware.UrlBaseMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/UrlBaseMiddleware.cs:line 27
   at Prowlarr.Http.Middleware.VersionMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/VersionMiddleware.cs:line 28
   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
   at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)


2023-05-17 23:03:45.4|Warn|ProwlarrErrorPipeline|Invalid request Validation failed: 
 -- : Unable to connect to indexer. We are being redirected to the login page. Most likely your session expired or was killed. Recheck your cookie or credentials and try testing the indexer.
2023-05-17 23:03:45.4|Trace|Http|Res: 64 [POST] /api/v1/indexer: 400.BadRequest (4746 ms)
2023-05-17 23:03:45.4|Debug|Api|[POST] /api/v1/indexer: 400.BadRequest (4746 ms)

Failing that, I can throw you my credentials to play around with.

@ilike2burnthing commented on GitHub (May 17, 2023): Nope, definitely correct: ```html <a href="https://learnbits.me/logout.php?logouthash=xxxxx" onclick="return log_out()">[logout]</a> ``` Removing `method: post` from search doesn't work, switching to HTTPS with the cert exception added doesn't work, and trying `index.php` instead of `browse.php` (post or not) doesn't work. Login works fine, but as soon as we go to search we're kicked out, the site doesn't see us as logged in anymore. See if dev trace logs help: <details> <summary>prowlarr.trace</summary> ```text 2023-05-17 23:03:12.3|Trace|Http|Req: 62 [POST] /api/v1/indexer/action/getUrls (from ::1 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.42) 2023-05-17 23:03:12.3|Trace|Http|Req: 63 [POST] /api/v1/indexer/action/checkCaptcha (from ::1 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.42) 2023-05-17 23:03:12.3|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated. 2023-05-17 23:03:12.3|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated. 2023-05-17 23:03:12.4|Trace|IndexerDefinitionUpdateService|Loading Cardigann definition C:\ProgramData\Prowlarr\Definitions\learnbits.yml 2023-05-17 23:03:12.4|Trace|IndexerDefinitionUpdateService|Loading Cardigann definition C:\ProgramData\Prowlarr\Definitions\learnbits.yml 2023-05-17 23:03:12.5|Trace|Http|Res: 62 [POST] /api/v1/indexer/action/getUrls: 200.OK (155 ms) 2023-05-17 23:03:12.5|Debug|Api|[POST] /api/v1/indexer/action/getUrls: 200.OK (155 ms) 2023-05-17 23:03:12.5|Debug|Cardigann|Populating config vars 2023-05-17 23:03:12.5|Trace|Cardigann|.Config.username got value "" 2023-05-17 23:03:12.5|Debug|Cardigann|Setting username to "" 2023-05-17 23:03:12.5|Trace|Cardigann|.Config.freeleech got value false 2023-05-17 23:03:12.5|Debug|Cardigann|Setting freeleech to null 2023-05-17 23:03:12.5|Trace|Cardigann|.Config.sort got value 0 2023-05-17 23:03:12.5|Trace|Cardigann|Setting options: { "added": "created", "seeders": "seeders", "size": "size" } 2023-05-17 23:03:12.5|Debug|Cardigann|Selected option: { "key": "added", "value": "created" } 2023-05-17 23:03:12.5|Debug|Cardigann|Setting sort to "added" 2023-05-17 23:03:12.5|Trace|Cardigann|.Config.type got value 1 2023-05-17 23:03:12.5|Trace|Cardigann|Setting options: { "desc": "desc", "asc": "asc" } 2023-05-17 23:03:12.5|Debug|Cardigann|Selected option: { "key": "DESC", "value": "desc" } 2023-05-17 23:03:12.5|Debug|Cardigann|Setting type to "DESC" 2023-05-17 23:03:12.5|Trace|SqlBuilderExtensions| ==== Begin Query Trace ==== QUERY TEXT: SELECT "IndexerProxies".* FROM "IndexerProxies" PARAMETERS: ==== End Query Trace ==== 2023-05-17 23:03:12.5|Trace|IndexerHttpClient|Req: [GET] http://www.learnbits.me/login.php 2023-05-17 23:03:12.5|Trace|ConfigService|Using default config value for 'proxyenabled' defaultValue:'False' 2023-05-17 23:03:12.7|Trace|IndexerHttpClient|Res: [GET] http://www.learnbits.me/login.php: 200.OK (8805 bytes) (158 ms) 2023-05-17 23:03:12.7|Trace|IndexerHttpClient|Response content (8805 bytes): <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <meta http-equiv="Page-Enter" content="blendTrans(Duration=0.3)" /> <meta name="generator" content="LearnBits :: Login" /> <meta name="revisit-after" content="3 days" /> <meta name="robots" content="index, follow" /> <meta name="description" content="LearnBits - eLearning" /> <meta name="keywords" content="LearnBits" /> <title>LearnBits :: Login</title> <link rel="stylesheet" href="http://www.learnbits.me/include/templates/default/style/style.css" type="text/css" media="screen" /> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://www.learnbits.me/rss.php" /> <link rel="alternate" type="text/xml" title="RSS .92" href="http://www.learnbits.me/rss.php" /> <link rel="icon" href="/include/templates/default/favico5.gif" type="image/gif" /> <script type="text/javascript"> var sitename="LearnBits" var baseurl="http://www.learnbits.me" var dimagedir="http://www.learnbits.me/pic/" var imagedir = "http://www.learnbits.me/include/templates/default/images/"; var cssdir = "http://www.learnbits.me/include/templates/default/style/"; var charset="ISO-8859-1" var defaulttemplate="default" var autorefreshtime="1:30" var requesturl="/login.php" var invites="Login First" var bonus="Login First" var username=(removed) userid="Guest_9793" var userip="REMOVED" </script> <script type="text/javascript"> var l_message="Sorry, this function has been disabled for security reasons."; var l_helpfaq="FAQ"; var l_helprules="Rules"; var l_staffcontact="Contact Staff"; var l_ajaxerror="There was a problem with the request. Please report this to administrator."; var l_ajaxerror2="Cannot create XMLHTTP instance."; var l_password=(removed) and Paste your new password below:"; var l_entername="Please enter your username."; var l_wrongusername=(removed) characters length: "; var l_spacenotallowed="Sorry, spaces are not allowed. Try again."; var l_passwordtwice="Please enter your password twice."; var l_wrongpassword1="Minimum/Maximum characters length: "; var l_wrongpassword2="You did not enter the same new password twice. Please re-enter your password."; var l_wrongpassword3="Sorry, password cannot be same as user name. Try again."; var l_wronghintanswer1="Minumum hintanswer characters: "; var l_wronghintanswer2="Sorry, hintanswer cannot be same as user name. Try again."; var l_wronghintanswer3="Sorry, hintanswer cannot be same as password. Try again."; var l_wrongemail="Please enter a valid email address."; var l_pleasewait="Please wait ..."; var l_sidemenu="Side Menu"; var l_homepage="Home Page"; var l_login="Login"; var l_register="Register"; var l_recover1="Recover Password"; var l_recover2="Via EMAIL"; var l_recover3="Via Question"; var l_needhelp="Need Help?"; var l_extramenu="Extra Menu"; var l_enterurl="You must enter a URL"; var l_entertitle="You must enter a title"; var l_closetag="Close last, Open tags "; var l_prompt="Enter item of the list. For end of the list, press 'cancel' or leave the next field empty "; var l_error="Error! "; var l_enteriamgeurl="You must enter a full image URL"; var l_thankyou="thank you!"; var l_thankyoutoo="thank you too!"; var l_ff="Netscape 6 or Mozilla is needed!"; var l_limit="Limit:"; var l_newreply = "Post Reply"; // Added v3.9 var l_updateerror = "There was an error performing the update.\n\nError Message:\n-----------------------------------\n"; // Added v3.9 </script> <script type="text/javascript" src="http://www.learnbits.me/scripts/java_klappe.js?v=5.1"></script> <script type="text/javascript" src="http://www.learnbits.me/scripts/ncode_imageresizer.js?v=5.1"></script> <script type="text/javascript" src="http://www.learnbits.me/scripts/main.js?v=5.1"></script> <script type="text/javascript"> function show_ts_clock() { var TimezoneOffset = 0; // adjust for time zone var localTime = new Date(); var ms = localTime.getTime() + (localTime.getTimezoneOffset() * 60000) + TimezoneOffset * 3600000; var time = new Date(ms) var hour = time.getHours() var minute = time.getMinutes() var second = time.getSeconds() var temp = ((hour < 10) ? "0" : "") + hour temp += ((minute < 10) ? ":0" : ":") + minute temp += ((second < 10) ? ":0" : ":") + second document.getElementById('showTSclock').innerHTML=temp; id = setTimeout("show_ts_clock()",1000) }; </script> <script type="text/javascript" src="http://www.learnbits.me/scripts/preview.js?v=5.1"></script><script type="text/javascript" src="http://www.learnbits.me/scripts/collapse.js?v=5.1"></script><script src="http://www.learnbits.me/scripts/ssm.js?v=5.1" language="JavaScript1.2"></script> </head> <body> <div class="content"> <div id="top"> <div style="float: left; color:#ffffff; padding: 20px 25px 0 40px; position:relative;" id="showTSclock"></div> <div class="padding" align="center"> <a href="http://www.learnbits.me/login.php">Login</a> | <a href="http://www.learnbits.me/signup.php">Register</a> | Recover Password: <a href="http://www.learnbits.me/recover.php">via Email</a> | <a href="http://www.learnbits.me/recoverhint.php">via Question</a> </div> </div> <div id="headerextern"> <div class="title"> <h1>&nbsp;</h1> <h6>&nbsp;</h6> </div> </div> <div id="subheader"> <div id="menu"> <script type="text/javascript" src="http://www.learnbits.me/scripts/dropdown.js?v=5.1"></script> <ul> <li class="page_item"><a href="http://www.learnbits.me">Home</a></li> </ul> </div> </div> <div id="main"> <div class="left_side"> <script>show_ts_clock();</script> <form method="post" action="takelogin.php"> <table border="0" cellpadding="5" width="100%"> <tr><td colspan="2" class="thead" align="center"> <a style="float: right;" href="#top" onclick="return toggle_collapse('loginarea')"><img id="collapseimg_loginarea" src="http://www.learnbits.me/pic/collapse_tcat.gif" alt="" border="0" /></a> LearnBits Login </td></tr><tbody id="collapseobj_loginarea" style="none"> <tr> <td class="rowhead">Username:</td> <td align="left"><input type="text" name="username" class="inputUsername" value="" /></td> </tr> <tr> <td class="rowhead">Password:</td> <td align="left"><input type="password" name="password" class="inputPassword" value="" /></td> </tr> <script type="text/javascript"> function reload () { TSGetID('regimage').src = "http://www.learnbits.me/captcha.php?" + Math.random(); return; }; </script> <tr> <td class="rowhead">Security Image:<br />(Not case sensitive)</td> <td> <table> <tr> <td rowspan="2" class="none"><img src="/captcha.php" id="regimage" alt="" /></td> <td class="none"><img src="http://www.learnbits.me/pic/listen.gif" border="0" style="cursor:pointer" onclick="return ts_open_popup('http://www.learnbits.me/listen.php', 400, 120);" alt="Play audio and type the numbers you hear." title="Play audio and type the numbers you hear." /></td> </tr> <tr> <td class="none"><img src="http://www.learnbits.me/pic/reload.gif" border="0" style="cursor:pointer" onload="reload()" onclick="javascript:reload()" alt="Image too difficult to read? Click here to load a new one." title="Image too difficult to read? Click here to load a new one." /></td> </tr> </table> </td> </tr> <tr><td class="rowhead">Security Code: </td> <td><input type="text" size="26" name="security_code" class="inputPassword" value="" autocomplete="off" /> </td></tr> <tr><td class="rowhead"><input type="checkbox" class="none" name="logout" style="vertical-align: middle;" value="yes" />Log me out after 15 minutes inactivity <input type="checkbox" class="none" name="logintype" style="vertical-align: middle;" value="yes" />Secure Login</td> <td align="left"><input type="submit" value="LOGIN" /> <input type="reset" value="RESET" /></td></tr> </tbody></table></form> <center><br />Forget your password? Recover your password <a href="recover.php"><b>via email</b></a> or&nbsp;&nbsp;<a href="recoverhint.php"><b>via question</b></a>.<br /><br />Haven't received the Activation Code? Click <a href="/login.php?do=activation_code"><b>here</b></a>.<br /><br />Have a Question? Visit our IRC help channel:&nbsp;&nbsp;<a href=irc://irc.learnbits.me:6667/LB-help><b>irc.learnbits.me #LB-help</b></a></p></center><br /></div></div><div id="footer"><div class="padding"> &copy; 2023 <font color="white"><a href="http://www.learnbits.me" target="_self"><strong>LearnBits</strong></a></font> [Executed in <b> 0.0031 </b>seconds]</div></div></div></body></html> 2023-05-17 23:03:12.9|Debug|Cardigann|Populating config vars 2023-05-17 23:03:12.9|Trace|Cardigann|.Config.username got value "" 2023-05-17 23:03:12.9|Debug|Cardigann|Setting username to "" 2023-05-17 23:03:12.9|Trace|Cardigann|.Config.freeleech got value false 2023-05-17 23:03:12.9|Debug|Cardigann|Setting freeleech to null 2023-05-17 23:03:12.9|Trace|Cardigann|.Config.sort got value 0 2023-05-17 23:03:12.9|Trace|Cardigann|Setting options: { "added": "created", "seeders": "seeders", "size": "size" } 2023-05-17 23:03:12.9|Debug|Cardigann|Selected option: { "key": "added", "value": "created" } 2023-05-17 23:03:12.9|Debug|Cardigann|Setting sort to "added" 2023-05-17 23:03:12.9|Trace|Cardigann|.Config.type got value 1 2023-05-17 23:03:12.9|Trace|Cardigann|Setting options: { "desc": "desc", "asc": "asc" } 2023-05-17 23:03:12.9|Debug|Cardigann|Selected option: { "key": "DESC", "value": "desc" } 2023-05-17 23:03:12.9|Debug|Cardigann|Setting type to "DESC" 2023-05-17 23:03:12.9|Trace|SqlBuilderExtensions| ==== Begin Query Trace ==== QUERY TEXT: SELECT "IndexerProxies".* FROM "IndexerProxies" PARAMETERS: ==== End Query Trace ==== 2023-05-17 23:03:12.9|Trace|RateLimitService|Rate Limit triggered, delaying 'www.learnbits.me' for 1.636 sec 2023-05-17 23:03:14.5|Trace|IndexerHttpClient|Req: [GET] http://www.learnbits.me/captcha.php 2023-05-17 23:03:14.5|Trace|ConfigService|Using default config value for 'proxyenabled' defaultValue:'False' 2023-05-17 23:03:14.6|Trace|IndexerHttpClient|Res: [GET] http://www.learnbits.me/captcha.php: 200.OK (3521 bytes) (90 ms) 2023-05-17 23:03:14.6|Trace|Http|Res: 63 [POST] /api/v1/indexer/action/checkCaptcha: 200.OK (2309 ms) 2023-05-17 23:03:14.6|Debug|Api|[POST] /api/v1/indexer/action/checkCaptcha: 200.OK (2309 ms) 2023-05-17 23:03:33.1|Trace|Scheduler|Pending Tasks: 0 2023-05-17 23:03:40.6|Trace|Http|Req: 64 [POST] /api/v1/indexer (from ::1 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.42) 2023-05-17 23:03:40.6|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated. 2023-05-17 23:03:40.6|Trace|SqlBuilderExtensions| ==== Begin Query Trace ==== QUERY TEXT: SELECT "Indexers".* FROM "Indexers" PARAMETERS: ==== End Query Trace ==== 2023-05-17 23:03:40.6|Trace|Cardigann|Getting Basic search 2023-05-17 23:03:40.6|Debug|Cardigann|Populating config vars 2023-05-17 23:03:40.6|Trace|Cardigann|.Config.username got value "REMOVED" 2023-05-17 23:03:40.6|Debug|Cardigann|Setting username to "REMOVED" 2023-05-17 23:03:40.6|Trace|Cardigann|.Config.freeleech got value false 2023-05-17 23:03:40.6|Debug|Cardigann|Setting freeleech to null 2023-05-17 23:03:40.6|Trace|Cardigann|.Config.sort got value 0 2023-05-17 23:03:40.6|Trace|Cardigann|Setting options: { "added": "created", "seeders": "seeders", "size": "size" } 2023-05-17 23:03:40.6|Debug|Cardigann|Selected option: { "key": "added", "value": "created" } 2023-05-17 23:03:40.6|Debug|Cardigann|Setting sort to "added" 2023-05-17 23:03:40.6|Trace|Cardigann|.Config.type got value 1 2023-05-17 23:03:40.6|Trace|Cardigann|Setting options: { "desc": "desc", "asc": "asc" } 2023-05-17 23:03:40.6|Debug|Cardigann|Selected option: { "key": "DESC", "value": "desc" } 2023-05-17 23:03:40.6|Debug|Cardigann|Setting type to "DESC" 2023-05-17 23:03:40.7|Debug|Cardigann|Adding request: http://www.learnbits.me/browse.php 2023-05-17 23:03:40.7|Debug|Cardigann|Downloading Feed http://www.learnbits.me/browse.php: do=search&search_type=t_name&category=0&sortby=added&orderby=DESC 2023-05-17 23:03:40.7|Trace|SqlBuilderExtensions| ==== Begin Query Trace ==== QUERY TEXT: SELECT "IndexerStatus".* FROM "IndexerStatus" WHERE ("IndexerStatus"."ProviderId" = @Clause1_P1) PARAMETERS: Clause1_P1 = [0] ==== End Query Trace ==== 2023-05-17 23:03:40.7|Trace|SqlBuilderExtensions| ==== Begin Query Trace ==== QUERY TEXT: SELECT "IndexerStatus".* FROM "IndexerStatus" WHERE ("IndexerStatus"."ProviderId" = @Clause1_P1) PARAMETERS: Clause1_P1 = [0] ==== End Query Trace ==== 2023-05-17 23:03:40.7|Trace|SqlBuilderExtensions| ==== Begin Query Trace ==== QUERY TEXT: SELECT "IndexerProxies".* FROM "IndexerProxies" PARAMETERS: ==== End Query Trace ==== 2023-05-17 23:03:40.7|Trace|IndexerHttpClient|Req: [POST] http://www.learnbits.me/browse.php: do=search&search_type=t_name&category=0&sortby=added&orderby=DESC 2023-05-17 23:03:40.7|Trace|ConfigService|Using default config value for 'proxyenabled' defaultValue:'False' 2023-05-17 23:03:40.8|Trace|IndexerHttpClient|Res: [POST] http://www.learnbits.me/browse.php: 302.Redirect (0 bytes) (93 ms) 2023-05-17 23:03:40.8|Trace|IndexerHttpClient|Response content (0 bytes): 2023-05-17 23:03:40.8|Trace|Cardigann|Attempting to re-auth based on indexer search response 2023-05-17 23:03:40.8|Debug|Cardigann|Populating config vars 2023-05-17 23:03:40.8|Trace|Cardigann|.Config.username got value "REMOVED" 2023-05-17 23:03:40.8|Debug|Cardigann|Setting username to "REMOVED" 2023-05-17 23:03:40.8|Trace|Cardigann|.Config.freeleech got value false 2023-05-17 23:03:40.8|Debug|Cardigann|Setting freeleech to null 2023-05-17 23:03:40.8|Trace|Cardigann|.Config.sort got value 0 2023-05-17 23:03:40.8|Trace|Cardigann|Setting options: { "added": "created", "seeders": "seeders", "size": "size" } 2023-05-17 23:03:40.8|Debug|Cardigann|Selected option: { "key": "added", "value": "created" } 2023-05-17 23:03:40.8|Debug|Cardigann|Setting sort to "added" 2023-05-17 23:03:40.8|Trace|Cardigann|.Config.type got value 1 2023-05-17 23:03:40.8|Trace|Cardigann|Setting options: { "desc": "desc", "asc": "asc" } 2023-05-17 23:03:40.8|Debug|Cardigann|Selected option: { "key": "DESC", "value": "desc" } 2023-05-17 23:03:40.8|Debug|Cardigann|Setting type to "DESC" 2023-05-17 23:03:40.8|Debug|Cardigann|Populating config vars 2023-05-17 23:03:40.8|Trace|Cardigann|.Config.username got value "REMOVED" 2023-05-17 23:03:40.8|Debug|Cardigann|Setting username to "REMOVED" 2023-05-17 23:03:40.8|Trace|Cardigann|.Config.freeleech got value false 2023-05-17 23:03:40.8|Debug|Cardigann|Setting freeleech to null 2023-05-17 23:03:40.8|Trace|Cardigann|.Config.sort got value 0 2023-05-17 23:03:40.8|Trace|Cardigann|Setting options: { "added": "created", "seeders": "seeders", "size": "size" } 2023-05-17 23:03:40.8|Debug|Cardigann|Selected option: { "key": "added", "value": "created" } 2023-05-17 23:03:40.8|Debug|Cardigann|Setting sort to "added" 2023-05-17 23:03:40.8|Trace|Cardigann|.Config.type got value 1 2023-05-17 23:03:40.8|Trace|Cardigann|Setting options: { "desc": "desc", "asc": "asc" } 2023-05-17 23:03:40.8|Debug|Cardigann|Selected option: { "key": "DESC", "value": "desc" } 2023-05-17 23:03:40.8|Debug|Cardigann|Setting type to "DESC" 2023-05-17 23:03:40.8|Debug|Cardigann|Populating config vars 2023-05-17 23:03:40.8|Trace|Cardigann|.Config.username got value "REMOVED" 2023-05-17 23:03:40.8|Debug|Cardigann|Setting username to "REMOVED" 2023-05-17 23:03:40.8|Trace|Cardigann|.Config.freeleech got value false 2023-05-17 23:03:40.8|Debug|Cardigann|Setting freeleech to null 2023-05-17 23:03:40.8|Trace|Cardigann|.Config.sort got value 0 2023-05-17 23:03:40.8|Trace|Cardigann|Setting options: { "added": "created", "seeders": "seeders", "size": "size" } 2023-05-17 23:03:40.8|Debug|Cardigann|Selected option: { "key": "added", "value": "created" } 2023-05-17 23:03:40.8|Debug|Cardigann|Setting sort to "added" 2023-05-17 23:03:40.8|Trace|Cardigann|.Config.type got value 1 2023-05-17 23:03:40.8|Trace|Cardigann|Setting options: { "desc": "desc", "asc": "asc" } 2023-05-17 23:03:40.8|Debug|Cardigann|Selected option: { "key": "DESC", "value": "desc" } 2023-05-17 23:03:40.8|Debug|Cardigann|Setting type to "DESC" 2023-05-17 23:03:40.8|Trace|SqlBuilderExtensions| ==== Begin Query Trace ==== QUERY TEXT: SELECT "IndexerProxies".* FROM "IndexerProxies" PARAMETERS: ==== End Query Trace ==== 2023-05-17 23:03:40.8|Trace|RateLimitService|Rate Limit triggered, delaying 'www.learnbits.me' for 1.863 sec 2023-05-17 23:03:42.7|Trace|IndexerHttpClient|Req: [POST] http://www.learnbits.me/takelogin.php: username=(removed)&password=(removed)&security_code=OOCDUW&logout=yes&logintype=yes 2023-05-17 23:03:42.7|Trace|ConfigService|Using default config value for 'proxyenabled' defaultValue:'False' 2023-05-17 23:03:42.8|Trace|IndexerHttpClient|Res: [POST] http://www.learnbits.me/takelogin.php: 200.OK (965 bytes) (97 ms) 2023-05-17 23:03:42.8|Trace|IndexerHttpClient|Response content (965 bytes): <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en"> <head> <title>LearnBits</title> <meta http-equiv="refresh" content="3;URL=http://www.learnbits.me/index.php"> <link rel="stylesheet" href="http://www.learnbits.me/include/templates/default/style/style.css" type="text/css" media="screen"> </head> <body> <br> <br> <br> <br> <div style="margin: auto auto; width: 50%" align="center"> <table border="0" cellspacing="1" cellpadding="4" class="tborder"> <tr> <td class="thead"><strong><a href="http://www.learnbits.me">LearnBits</a></strong></td> </tr> <tr> <td class="trow1" align="center"><p><font color="#000000">You have succesfully logged in...</font></p></td> </tr> <tr> <td class="trow2" align="right"><a href="http://www.learnbits.me/index.php"> <span class="smalltext">Click here if you don't want to wait any longer.</span></a></td> </tr> </table> </div> </body> </html> 2023-05-17 23:03:42.8|Trace|SqlBuilderExtensions| ==== Begin Query Trace ==== QUERY TEXT: SELECT "IndexerProxies".* FROM "IndexerProxies" PARAMETERS: ==== End Query Trace ==== 2023-05-17 23:03:42.8|Trace|RateLimitService|Rate Limit triggered, delaying 'www.learnbits.me' for 1.868 sec 2023-05-17 23:03:44.7|Trace|IndexerHttpClient|Req: [POST] http://www.learnbits.me/browse.php: do=search&search_type=t_name&category=0&sortby=added&orderby=DESC 2023-05-17 23:03:44.7|Trace|ConfigService|Using default config value for 'proxyenabled' defaultValue:'False' 2023-05-17 23:03:44.8|Trace|IndexerHttpClient|Res: [POST] http://www.learnbits.me/browse.php: 302.Redirect (0 bytes) (98 ms) 2023-05-17 23:03:44.8|Trace|IndexerHttpClient|Response content (0 bytes): 2023-05-17 23:03:44.8|Debug|Cardigann|Parsing 2023-05-17 23:03:44.8|Trace|Cardigann|Unexpected Response content (0 bytes): 2023-05-17 23:03:44.8|Warn|Cardigann|Unable to connect to indexer [v1.4.1.3258] NzbDrone.Core.Indexers.Exceptions.IndexerException: We are being redirected to the login page. Most likely your session expired or was killed. Recheck your cookie or credentials and try testing the indexer. at NzbDrone.Core.Indexers.Definitions.Cardigann.CardigannParser.ParseResponse(IndexerResponse indexerResponse) in ./Prowlarr.Core/Indexers/Definitions/Cardigann/CardigannParser.cs:line 49 at NzbDrone.Core.Indexers.HttpIndexerBase`1.FetchPage(IndexerRequest request, IParseIndexerResponse parser) in ./Prowlarr.Core/Indexers/HttpIndexerBase.cs:line 417 at NzbDrone.Core.Indexers.HttpIndexerBase`1.TestConnection() in ./Prowlarr.Core/Indexers/HttpIndexerBase.cs:line 588 RequestUri: http://www.learnbits.me/browse.php;RequestSummary: do=search&search_type=t_name&category=0&sortby=added&orderby=DESC;StatusCode: Redirect;ContentType: text/html;ContentLength: 0 2023-05-17 23:03:44.9|Error|Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware|An unhandled exception has occurred while executing the request. [v1.4.1.3258] FluentValidation.ValidationException: Validation failed: -- : Unable to connect to indexer. We are being redirected to the login page. Most likely your session expired or was killed. Recheck your cookie or credentials and try testing the indexer. at Prowlarr.Api.V1.ProviderControllerBase`3.VerifyValidationResult(ValidationResult validationResult, Boolean includeWarnings) in ./Prowlarr.Api.V1/ProviderControllerBase.cs:line 209 at Prowlarr.Api.V1.ProviderControllerBase`3.Test(TProviderDefinition definition, Boolean includeWarnings) in ./Prowlarr.Api.V1/ProviderControllerBase.cs:line 195 at Prowlarr.Api.V1.ProviderControllerBase`3.CreateProvider(TProviderResource providerResource) in ./Prowlarr.Api.V1/ProviderControllerBase.cs:line 69 at lambda_method198(Closure , Object , Object[] ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync() at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at Prowlarr.Http.Middleware.BufferingMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/BufferingMiddleware.cs:line 28 at Prowlarr.Http.Middleware.IfModifiedMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/IfModifiedMiddleware.cs:line 41 at Prowlarr.Http.Middleware.CacheHeaderMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/CacheHeaderMiddleware.cs:line 33 at Prowlarr.Http.Middleware.StartingUpMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/StartingUpMiddleware.cs:line 38 at Prowlarr.Http.Middleware.UrlBaseMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/UrlBaseMiddleware.cs:line 27 at Prowlarr.Http.Middleware.VersionMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/VersionMiddleware.cs:line 28 at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context) at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult) at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task) 2023-05-17 23:03:45.1|Trace|ProwlarrErrorPipeline|Handling Exception 2023-05-17 23:03:45.1|Warn|ProwlarrErrorPipeline|FluentValidation.ValidationException: Validation failed: -- : Unable to connect to indexer. We are being redirected to the login page. Most likely your session expired or was killed. Recheck your cookie or credentials and try testing the indexer. [v1.4.1.3258] FluentValidation.ValidationException: Validation failed: -- : Unable to connect to indexer. We are being redirected to the login page. Most likely your session expired or was killed. Recheck your cookie or credentials and try testing the indexer. at Prowlarr.Api.V1.ProviderControllerBase`3.VerifyValidationResult(ValidationResult validationResult, Boolean includeWarnings) in ./Prowlarr.Api.V1/ProviderControllerBase.cs:line 209 at Prowlarr.Api.V1.ProviderControllerBase`3.Test(TProviderDefinition definition, Boolean includeWarnings) in ./Prowlarr.Api.V1/ProviderControllerBase.cs:line 195 at Prowlarr.Api.V1.ProviderControllerBase`3.CreateProvider(TProviderResource providerResource) in ./Prowlarr.Api.V1/ProviderControllerBase.cs:line 69 at lambda_method198(Closure , Object , Object[] ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync() at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at Prowlarr.Http.Middleware.BufferingMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/BufferingMiddleware.cs:line 28 at Prowlarr.Http.Middleware.IfModifiedMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/IfModifiedMiddleware.cs:line 41 at Prowlarr.Http.Middleware.CacheHeaderMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/CacheHeaderMiddleware.cs:line 33 at Prowlarr.Http.Middleware.StartingUpMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/StartingUpMiddleware.cs:line 38 at Prowlarr.Http.Middleware.UrlBaseMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/UrlBaseMiddleware.cs:line 27 at Prowlarr.Http.Middleware.VersionMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/VersionMiddleware.cs:line 28 at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context) at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult) at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task) 2023-05-17 23:03:45.4|Warn|ProwlarrErrorPipeline|Invalid request Validation failed: -- : Unable to connect to indexer. We are being redirected to the login page. Most likely your session expired or was killed. Recheck your cookie or credentials and try testing the indexer. 2023-05-17 23:03:45.4|Trace|Http|Res: 64 [POST] /api/v1/indexer: 400.BadRequest (4746 ms) 2023-05-17 23:03:45.4|Debug|Api|[POST] /api/v1/indexer: 400.BadRequest (4746 ms) ``` </details> Failing that, I can throw you my credentials to play around with.
Author
Owner

@mynameisbogdan commented on GitHub (May 17, 2023):

Failing that, I can throw you my credentials to play around with.

Yeah, I would have to check what's with the We are being redirected to the login page. so I'll take you on that offer. :)

@mynameisbogdan commented on GitHub (May 17, 2023): > Failing that, I can throw you my credentials to play around with. Yeah, I would have to check what's with the `We are being redirected to the login page.` so I'll take you on that offer. :)
Author
Owner

@bakerboy448 commented on GitHub (May 17, 2023):

@mynameisbogdan there's this issue and a few existing others -- all similar to successful auth, but losing the cookie or it's invalid as soon as a search is attempted.

@bakerboy448 commented on GitHub (May 17, 2023): @mynameisbogdan there's this issue and a few existing others -- all similar to successful auth, but losing the cookie or it's invalid as soon as a search is attempted.
Author
Owner

@mynameisbogdan commented on GitHub (May 17, 2023):

Related to what, Cardigann or learnbits?

@mynameisbogdan commented on GitHub (May 17, 2023): Related to what, Cardigann or learnbits?
Author
Owner

@bakerboy448 commented on GitHub (May 17, 2023):

Cardigann. E.g. https://github.com/Prowlarr/Prowlarr/issues/185 and https://github.com/Prowlarr/Prowlarr/issues/1136

All typically seem to auth / login successfully and then get redir'd.
Maybe related....maybe not.

@bakerboy448 commented on GitHub (May 17, 2023): Cardigann. E.g. https://github.com/Prowlarr/Prowlarr/issues/185 and https://github.com/Prowlarr/Prowlarr/issues/1136 All typically seem to auth / login successfully and then get redir'd. Maybe related....maybe not.
Author
Owner

@mynameisbogdan commented on GitHub (May 17, 2023):

#1136 might be, we'll see in time. But #185 is not.

@mynameisbogdan commented on GitHub (May 17, 2023): #1136 might be, we'll see in time. But #185 is not.
Author
Owner

@mynameisbogdan commented on GitHub (May 18, 2023):

Fixed in github.com/Prowlarr/Indexers@2f05c62e88

@mynameisbogdan commented on GitHub (May 18, 2023): Fixed in https://github.com/Prowlarr/Indexers/commit/2f05c62e88c27765d5a66de5aa70d3cef8a6cefc
Author
Owner

@ilike2burnthing commented on GitHub (May 19, 2023):

github.com/Jackett/Jackett@6ab273651d

Was working in Prowlarr but failing in Jackett (because reasons). Working in both now.

Prowlarr was and still is showing weird behaviour:

  • add LearnBits
  • search fails
  • edit LearnBits
  • search works
  • remove LearnBits
  • add LearnBits
  • search fails
  • repeat...
@ilike2burnthing commented on GitHub (May 19, 2023): https://github.com/Jackett/Jackett/commit/6ab273651da8ffb87671fbbedd274fb0f457c6b5 Was working in Prowlarr but failing in Jackett (because reasons). Working in both now. Prowlarr was and still is showing weird behaviour: - add LearnBits - search fails - edit LearnBits - search works - remove LearnBits - add LearnBits - search fails - repeat...
Author
Owner

@mynameisbogdan commented on GitHub (May 19, 2023):

Well, one of those is exactly the reason is failing since the site is HTTP only I'm guessing. Login is failing if selected in browser as well.

@mynameisbogdan commented on GitHub (May 19, 2023): Well, one of those is exactly the reason is failing since the site is HTTP only I'm guessing. Login is failing if selected in browser as well.
Author
Owner

@mynameisbogdan commented on GitHub (May 19, 2023):

github.com/Prowlarr/Indexers@71d3325882

@mynameisbogdan commented on GitHub (May 19, 2023): https://github.com/Prowlarr/Indexers/commit/71d3325882da44faec32ae92f5e2fd49ad7386b9
Author
Owner

@ilike2burnthing commented on GitHub (May 19, 2023):

One more fix - github.com/Jackett/Jackett@25cdf412c1, though still seeing that weird behaviour.

@ilike2burnthing commented on GitHub (May 19, 2023): One more fix - https://github.com/Jackett/Jackett/commit/25cdf412c19650f6eaac2bc6acaa3c7549f472a3, though still seeing that weird behaviour.
Author
Owner

@ilike2burnthing commented on GitHub (May 19, 2023):

Last one ;P github.com/Jackett/Jackett@7e33461c7f

@ilike2burnthing commented on GitHub (May 19, 2023): Last one ;P https://github.com/Jackett/Jackett/commit/7e33461c7f7409442cdf7aaab78e06c9a394b649
Author
Owner

@IHateIssues commented on GitHub (May 25, 2023):

Seems to be working now, but everyday after I update all containers I need to reenter captcha every time or I get an error if I don't

@IHateIssues commented on GitHub (May 25, 2023): Seems to be working now, but everyday after I update all containers I need to reenter captcha every time or I get an error if I don't
Author
Owner

@mynameisbogdan commented on GitHub (May 25, 2023):

What version of Prowlarr are you using currently?

@mynameisbogdan commented on GitHub (May 25, 2023): What version of Prowlarr are you using currently?
Author
Owner

@IHateIssues commented on GitHub (May 25, 2023):

Currently on 1.5.0.3390

@IHateIssues commented on GitHub (May 25, 2023): Currently on 1.5.0.3390
Author
Owner

@mynameisbogdan commented on GitHub (May 25, 2023):

Do a fresh login on their site and check the cookies to see what expire date they have.

@mynameisbogdan commented on GitHub (May 25, 2023): Do a fresh login on their site and check the cookies to see what expire date they have.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Prowlarr#854
No description provided.