Sporadic issues with Toloka.to indexer when requesting a torrent file download #1245

Open
opened 2026-02-20 10:08:56 -05:00 by deekerman · 3 comments
Owner

Originally created by @drrako on GitHub (Nov 8, 2025).

I attest that there is not an existing issue for this?

  • I have searched the existing open and closed issues
  • I confirm this is not related to a Cardigann YML Indexer

Current Behavior

When using the Toloka.to indexer in Radarr/Sonarr, I frequently encounter the following problem:

  1. I open Radarr/Sonarr and search for a release using the toloka.to indexer.
  2. Attempting to grab a release torrent file fails, and the indexer is marked as having issues.
  3. To resolve this, I navigate to System > Health, click the pipette icon, and the issue is temporarily fixed.
  4. After this, everything works as expected for a while.
  5. After a few days, the issue recurs and the process repeats.

Based on the logs, it appears that grabbing the feed in problematic scenario is successful. However, when the client requests an actual torrent file, toloka.to authentication does not work and instead of providing the actual torrent file, it returns a login form page.

Expected Behavior

The Toloka.to indexer should consistently allow grabbing releases without requiring manual intervention in the System/Health section.

Steps To Reproduce

Since issue is sporadic and most likely related to authentication flow/state - it is not very trivial to reproduce intentionally.

Environment

- OS: Ubuntu Server 25.04
- Prowlarr: 2.1.5.5216
- Docker Install: Yes (Poddman)
- Using Reverse Proxy: No
- Browser: Firefox 144.0.2

What branch are you running?

Master

Trace Logs?

...
2025-11-08 10:24:28.6|Debug|Toloka|Downloading Feed https://toloka.to/tracker.php?o=1&s=2&nm=Guillermo+del+Toro%27s+Pinocchio+2022&f[]=117&f[]=84&f[]=42&f[]=129&f[]=219&f[]=118&f[]=16&f[]=19&f[]=55&f[]=94&f[]=144&f[]=190&f[]=70&f[]=193&f[]=196&f[]=197&f[]=96&f[]=139&f[]=120&f[]=66&f[]=137&f[]=138&f[]=237
2025-11-08 10:25:10.2|Debug|Toloka|Downloaded for release finished (7774 bytes from https://toloka.to/download.php?id=(removed)&sid=(removed))
2025-11-08 10:25:10.2|Debug|Toloka|Invalid torrent file contents: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="uk" dir="ltr">
<head>
	<title></title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="Content-Style-Type" content="text/css">
    <meta name="viewport" content="width=960, initial-scale=1.0" />
	<meta name="referrer" content="no-referrer" />
		<link rel="icon" type="image/png" sizes="192x192" href="/favicon.png">
	<link rel="stylesheet" href="/templates/Saphic/SaphicV153.css" type="text/css">
	<link rel="stylesheet" href="/misc/js/css_rater6.css" type="text/css">
	<!--[if IE]><link rel="stylesheet" href="templates/Saphic/ie6fixes2.css" type="text/css" media="screen"><![endif]-->
	<link rel="alternate" type="application/rss+xml" title="???????? ????????????????????????" href="/rss.php?lite=0">
	<link rel="alternate" type="application/rss+xml" title="???????? ????????" href="/rss.php?t=1">
	<link rel="search" type="application/opensearchdescription+xml" href="search.xml" title="????????????" />
    <script type="text/javascript" src="/misc/js/jquery.min.js"></script>
    <script type="text/javascript" src="/misc/js/bbcodev5.min.js"></script>
</head>
<body bgcolor="#E5E5E5" text="#000000" link="#006699" vlink="#5493B4">
<a name="top"></a>
<div class="maxwidth">
<table width="97% "cellspacing="0" cellpadding="10" border="0" align="center">
	<tr>
		<td class="bodyline">
			<table id="header-block" align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
				<tbody><tr>
					<td align="left">
					<div id="overlay-background" style="width:100%; background-image: url(/templates/Saphic/images/day-0317.jpg); background-repeat: no-repeat;">
					<div style="clear:right">
					<img src="/templates/Saphic/images/left-overlay_13.png" alt="" id="left-overlay" usemap="#left-overlay-map">
					<map name="left-overlay-map">
						<area shape="rect" coords="5,37,524,87" href="/" alt="" title="????????????">
						<area shape="rect" coords="5,87,142,115" href="https://www.hurtom.com/portal/" alt="" title="???????????? ????????????">
						<area shape="rect" coords="214,85,531,115" alt="" id="overlay-custom-link" />					</map>
					</div>
					<img src="/templates/Saphic/images/right-overlay8.png" alt="" id="right-overlay" usemap="#right-overlay-map" align="right">
					<form action="/tracker.php" method="get" id="toloka-search-box" name="tolokasearch" method="post"><input type="text" name="nm" id="nm"></form>
					<map name="right-overlay-map">
							<area shape="rect" coords="134,19,232,30" href="/release.php" rel="nofollow" alt="" title="">
							<area shape="rect" coords="107,40,167,52" rel="nofollow" alt="" title="">
							<area shape="rect" coords="182,40,231,52" rel="nofollow" alt="" title="">
							<area shape="rect" coords="97,60,231,71" href="/helptoseed.php" rel="nofollow" alt="" title="??????????????, ???? ???????????? ??????????????????">
							<area shape="rect" coords="69,107,168,112" href="/googlesearch.php" rel="nofollow" alt="" title="?????????????????????????? - google">
							<area shape="rect" coords="176,81,236,106" alt="" style="cursor:pointer" onClick="tolokasearch.submit();" nohref>
					</map>
					</div>
					</td>
				</tr></tbody>
			</table>
			<table class="navie6fix" width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
				<tr>
					<td height="25" class="nav1" align="center">
						<ul class="nav_top">
							<li><a href="http://dorizhky.hurtom.com/">??????????????</a>
							<li><a href="/featured">??????????????????</a>
							<li><a href="/faq.php">??????????????</a>
														<li><a href="/profile.php?mode=register" rel="nofollow">??????????????????????????????</a>
																					<li><a href="/login.php" rel="nofollow">????????</a>
						</ul>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<br>

<table width="97%" cellspacing="0" cellpadding="10" border="0" align="center">
	<tr>
		<td class="bodyline"> 
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
	<tr>
		<td align="left" class="nav"><a href="/" class="nav">???????????? ??? ??????????????-????????????</a></td>
	</tr>
</table>

<table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0">
	<tr>
		<th class="thHead" height="25"><b>????????????????????????</b></th>
	</tr>
	<tr> 
		<td class="row1"><table width="100%" cellspacing="0" cellpadding="1" border="0">
			<tr> 
				<td>&nbsp;</td>
			</tr>
			<tr> 
				<td align="center"><span class="gen">?????? ???????????????????????????? ???????????????? <b><a href="http://toloka.hurtom.com/profile.php?mode=register&t=0">??????????????????????????????</a></b>. <br /><br />???????????????????? ?????????????????? ???? ???????????????? ?? ?????????????????????? ?? ?????????????? ??????????.</span></td>
			</tr>
			<tr> 
				<td>&nbsp;</td>
			</tr>
		</table></td>
	</tr>
</table>

<br clear="all" />
<br /><br /><br />
<div align="center"><br /><span class="gensmall"></span>
<br /><br />
<table width="95%" cellspacing="0" cellpadding="0" border="0" align="center">
  <tr>
    <td class="copyright" height="28">
    <br />
    </td>
    <td class="copyright" align="right" >
    <a style="color: white;" href="/rightholders.php" rel="nofollow">???????????????????? ?????? ????????????????????????????</a>&nbsp;&nbsp;
    </td>
  </tr>
</table>
</div>
</td>
</tr>
</table>
</div>
<script type="text/javascript" src="/misc/js/mainV5.js"></script>
<script type="text/javascript" src="/misc/js/jquery.lazyload-any.min.js"></script>
			<script type="text/javascript">
			<!--
			var ExternalLinks_InNewWindow = '1';
			function initSpoilers(context)
			{
				var context = context || 'body';
				$('div.spoiler-body').each( function() {
					var code = $(this).find('textarea').text();
					if(code) $(this).html(code);
				});
				$('div.spoiler-head', $(context)).click(function() {
					var code = $(this).next('div.spoiler-body').find('textarea').text();
					if(code) $(this).next('div.spoiler-body').html(code);
					$(this).toggleClass('unfolded');
					$(this).next('div.spoiler-body').slideToggle('fast');
				});
			}
			function initForums(context)
			{
				var context = context || 'body';
				$('div.forum-head', $(context)).click(function() {
					$(this).toggleClass('unforded');
					$(this).next('div.forum-body').slideToggle('fast');
				});
			}
			function initExternalLinks(context) {
				ExternalLinks_InNewWindow && $("a.postLink:not([href*='toloka.to']):not([href^='/'])", $(context)).bind("click", function () {
					return !window.open(this.href)
				})
			}
			$(document).ready(function(){
				initSpoilers('body');
				initForums('body');
				initExternalLinks();
			});

			//-->

            function load(img)
            {
            img.fadeOut(0, function() {
                img.delay(100).fadeIn(300);
            });
            }
            $('.lazyload-thumbnail').lazyload({load: load});
            $('.lazyload-youtube').lazyload({trigger: 'click'});
			</script>


	<script language="JavaScript" type="text/javascript" src="misc/js/release.js"></script>
	<script language="JavaScript" type="text/javascript" src="misc/js/ajax.js"></script>
<div style="display:none" id="resizemod"></div>
<script defer src="https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon='{"version":"2024.11.0","token":"(removed)","r":1,"server_timing":{"name":{"cfCacheStatus":true,"cfEdge":true,"cfExtPri":true,"cfL4":true,"cfOrigin":true,"cfSpeedBrain":true},"location_startswith":null}}' crossorigin="anonymous"></script>
</body>
</html>

2025-11-08 10:25:10.2|Error|NewznabController|System.NotSupportedException: Invalid torrent file contents. Reason: Invalid torrent file specified
...

toloka.to.report.log
prowlarr.debug.txt

I attest that Trace Logs have been provided as applicable. Reports will be closed if the required logs are not provided.

  • I attest that I have read and followed the steps in the wiki link above and provided the required trace logs - the logs contain trace - that are relevant and show this issue.
Originally created by @drrako on GitHub (Nov 8, 2025). ### I attest that there is not an existing issue for this? - [x] I have searched the existing open and closed issues ### I attest this is not related to a Cardigann YML Indexer. - [x] I confirm this is not related to a Cardigann YML Indexer ### Current Behavior When using the `Toloka.to` indexer in Radarr/Sonarr, I frequently encounter the following problem: 1. I open Radarr/Sonarr and search for a release using the toloka.to indexer. 2. Attempting to grab a release torrent file fails, and the indexer is marked as having issues. 3. To resolve this, I navigate to System > Health, click the pipette icon, and the issue is temporarily fixed. 4. After this, everything works as expected for a while. 5. After a few days, the issue recurs and the process repeats. Based on the logs, it appears that grabbing the feed in problematic scenario is successful. However, when the client requests an actual torrent file, `toloka.to` authentication does not work and instead of providing the actual torrent file, it returns a login form page. ### Expected Behavior The `Toloka.to` indexer should consistently allow grabbing releases without requiring manual intervention in the System/Health section. ### Steps To Reproduce Since issue is sporadic and most likely related to authentication flow/state - it is not very trivial to reproduce intentionally. ### Environment ```markdown - OS: Ubuntu Server 25.04 - Prowlarr: 2.1.5.5216 - Docker Install: Yes (Poddman) - Using Reverse Proxy: No - Browser: Firefox 144.0.2 ``` ### What branch are you running? Master ### Trace Logs? ``` ... 2025-11-08 10:24:28.6|Debug|Toloka|Downloading Feed https://toloka.to/tracker.php?o=1&s=2&nm=Guillermo+del+Toro%27s+Pinocchio+2022&f[]=117&f[]=84&f[]=42&f[]=129&f[]=219&f[]=118&f[]=16&f[]=19&f[]=55&f[]=94&f[]=144&f[]=190&f[]=70&f[]=193&f[]=196&f[]=197&f[]=96&f[]=139&f[]=120&f[]=66&f[]=137&f[]=138&f[]=237 2025-11-08 10:25:10.2|Debug|Toloka|Downloaded for release finished (7774 bytes from https://toloka.to/download.php?id=(removed)&sid=(removed)) 2025-11-08 10:25:10.2|Debug|Toloka|Invalid torrent file contents: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html lang="uk" dir="ltr"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Style-Type" content="text/css"> <meta name="viewport" content="width=960, initial-scale=1.0" /> <meta name="referrer" content="no-referrer" /> <link rel="icon" type="image/png" sizes="192x192" href="/favicon.png"> <link rel="stylesheet" href="/templates/Saphic/SaphicV153.css" type="text/css"> <link rel="stylesheet" href="/misc/js/css_rater6.css" type="text/css"> <!--[if IE]><link rel="stylesheet" href="templates/Saphic/ie6fixes2.css" type="text/css" media="screen"><![endif]--> <link rel="alternate" type="application/rss+xml" title="???????? ????????????????????????" href="/rss.php?lite=0"> <link rel="alternate" type="application/rss+xml" title="???????? ????????" href="/rss.php?t=1"> <link rel="search" type="application/opensearchdescription+xml" href="search.xml" title="????????????" /> <script type="text/javascript" src="/misc/js/jquery.min.js"></script> <script type="text/javascript" src="/misc/js/bbcodev5.min.js"></script> </head> <body bgcolor="#E5E5E5" text="#000000" link="#006699" vlink="#5493B4"> <a name="top"></a> <div class="maxwidth"> <table width="97% "cellspacing="0" cellpadding="10" border="0" align="center"> <tr> <td class="bodyline"> <table id="header-block" align="center" border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody><tr> <td align="left"> <div id="overlay-background" style="width:100%; background-image: url(/templates/Saphic/images/day-0317.jpg); background-repeat: no-repeat;"> <div style="clear:right"> <img src="/templates/Saphic/images/left-overlay_13.png" alt="" id="left-overlay" usemap="#left-overlay-map"> <map name="left-overlay-map"> <area shape="rect" coords="5,37,524,87" href="/" alt="" title="????????????"> <area shape="rect" coords="5,87,142,115" href="https://www.hurtom.com/portal/" alt="" title="???????????? ????????????"> <area shape="rect" coords="214,85,531,115" alt="" id="overlay-custom-link" /> </map> </div> <img src="/templates/Saphic/images/right-overlay8.png" alt="" id="right-overlay" usemap="#right-overlay-map" align="right"> <form action="/tracker.php" method="get" id="toloka-search-box" name="tolokasearch" method="post"><input type="text" name="nm" id="nm"></form> <map name="right-overlay-map"> <area shape="rect" coords="134,19,232,30" href="/release.php" rel="nofollow" alt="" title=""> <area shape="rect" coords="107,40,167,52" rel="nofollow" alt="" title=""> <area shape="rect" coords="182,40,231,52" rel="nofollow" alt="" title=""> <area shape="rect" coords="97,60,231,71" href="/helptoseed.php" rel="nofollow" alt="" title="??????????????, ???? ???????????? ??????????????????"> <area shape="rect" coords="69,107,168,112" href="/googlesearch.php" rel="nofollow" alt="" title="?????????????????????????? - google"> <area shape="rect" coords="176,81,236,106" alt="" style="cursor:pointer" onClick="tolokasearch.submit();" nohref> </map> </div> </td> </tr></tbody> </table> <table class="navie6fix" width="100%" cellspacing="0" cellpadding="0" border="0" align="center"> <tr> <td height="25" class="nav1" align="center"> <ul class="nav_top"> <li><a href="http://dorizhky.hurtom.com/">??????????????</a> <li><a href="/featured">??????????????????</a> <li><a href="/faq.php">??????????????</a> <li><a href="/profile.php?mode=register" rel="nofollow">??????????????????????????????</a> <li><a href="/login.php" rel="nofollow">????????</a> </ul> </td> </tr> </table> </td> </tr> </table> <br> <table width="97%" cellspacing="0" cellpadding="10" border="0" align="center"> <tr> <td class="bodyline"> <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center"> <tr> <td align="left" class="nav"><a href="/" class="nav">???????????? ??? ??????????????-????????????</a></td> </tr> </table> <table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0"> <tr> <th class="thHead" height="25"><b>????????????????????????</b></th> </tr> <tr> <td class="row1"><table width="100%" cellspacing="0" cellpadding="1" border="0"> <tr> <td>&nbsp;</td> </tr> <tr> <td align="center"><span class="gen">?????? ???????????????????????????? ???????????????? <b><a href="http://toloka.hurtom.com/profile.php?mode=register&t=0">??????????????????????????????</a></b>. <br /><br />???????????????????? ?????????????????? ???? ???????????????? ?? ?????????????????????? ?? ?????????????? ??????????.</span></td> </tr> <tr> <td>&nbsp;</td> </tr> </table></td> </tr> </table> <br clear="all" /> <br /><br /><br /> <div align="center"><br /><span class="gensmall"></span> <br /><br /> <table width="95%" cellspacing="0" cellpadding="0" border="0" align="center"> <tr> <td class="copyright" height="28"> <br /> </td> <td class="copyright" align="right" > <a style="color: white;" href="/rightholders.php" rel="nofollow">???????????????????? ?????? ????????????????????????????</a>&nbsp;&nbsp; </td> </tr> </table> </div> </td> </tr> </table> </div> <script type="text/javascript" src="/misc/js/mainV5.js"></script> <script type="text/javascript" src="/misc/js/jquery.lazyload-any.min.js"></script> <script type="text/javascript"> <!-- var ExternalLinks_InNewWindow = '1'; function initSpoilers(context) { var context = context || 'body'; $('div.spoiler-body').each( function() { var code = $(this).find('textarea').text(); if(code) $(this).html(code); }); $('div.spoiler-head', $(context)).click(function() { var code = $(this).next('div.spoiler-body').find('textarea').text(); if(code) $(this).next('div.spoiler-body').html(code); $(this).toggleClass('unfolded'); $(this).next('div.spoiler-body').slideToggle('fast'); }); } function initForums(context) { var context = context || 'body'; $('div.forum-head', $(context)).click(function() { $(this).toggleClass('unforded'); $(this).next('div.forum-body').slideToggle('fast'); }); } function initExternalLinks(context) { ExternalLinks_InNewWindow && $("a.postLink:not([href*='toloka.to']):not([href^='/'])", $(context)).bind("click", function () { return !window.open(this.href) }) } $(document).ready(function(){ initSpoilers('body'); initForums('body'); initExternalLinks(); }); //--> function load(img) { img.fadeOut(0, function() { img.delay(100).fadeIn(300); }); } $('.lazyload-thumbnail').lazyload({load: load}); $('.lazyload-youtube').lazyload({trigger: 'click'}); </script> <script language="JavaScript" type="text/javascript" src="misc/js/release.js"></script> <script language="JavaScript" type="text/javascript" src="misc/js/ajax.js"></script> <div style="display:none" id="resizemod"></div> <script defer src="https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon='{"version":"2024.11.0","token":"(removed)","r":1,"server_timing":{"name":{"cfCacheStatus":true,"cfEdge":true,"cfExtPri":true,"cfL4":true,"cfOrigin":true,"cfSpeedBrain":true},"location_startswith":null}}' crossorigin="anonymous"></script> </body> </html> 2025-11-08 10:25:10.2|Error|NewznabController|System.NotSupportedException: Invalid torrent file contents. Reason: Invalid torrent file specified ... ``` [toloka.to.report.log](https://github.com/user-attachments/files/23431557/toloka.to.report.log) [prowlarr.debug.txt](https://github.com/user-attachments/files/23431651/prowlarr.debug.txt) ### I attest that Trace Logs have been provided as applicable. Reports will be closed if the required logs are not provided. - [x] I attest that I have read and followed the steps in the wiki link above and provided the required trace logs - the logs contain `trace` - that are relevant and show this issue.
Author
Owner

@mynameisbogdan commented on GitHub (Nov 8, 2025):

The debug logs aren't very useful.

But I noticed your download links contain a &sid=somevalue while I'm not getting any sid query params. Did you enabled some option on their site that might affect this?

@mynameisbogdan commented on GitHub (Nov 8, 2025): The debug logs aren't very useful. But I noticed your download links contain a `&sid=somevalue` while I'm not getting any `sid` query params. Did you enabled some option on their site that might affect this?
Author
Owner

@drrako commented on GitHub (Nov 8, 2025):

Here are the profile settings I have:

Image Image

I will also enable trace level logging moving forward, as it may provide more helpful information.

I noticed your download links contain a &sid=somevalue, while mine do not include any sid query parameters.

Interestingly, on the second (successful) attempt - after I fixed the indexer in System/Health - the &sid=somevalue parameter was no longer present in the query (you can see this in the logs I attached). I also tested the link with the &sid=somevalue parameter in an authenticated Firefox tab, and it worked fine for me.

@drrako commented on GitHub (Nov 8, 2025): Here are the profile settings I have: <img width="400" alt="Image" src="https://github.com/user-attachments/assets/82e7d5ff-57ae-4479-bde0-42ad80ed622b" /> <img width="400" alt="Image" src="https://github.com/user-attachments/assets/e7835848-8873-4eff-9f5a-883b69758345" /> I will also enable trace level logging moving forward, as it may provide more helpful information. > I noticed your download links contain a `&sid=somevalue`, while mine do not include any `sid` query parameters. Interestingly, on the second (successful) attempt - after I fixed the indexer in System/Health - the `&sid=somevalue` parameter was no longer present in the query (you can see this in the logs I attached). I also tested the link with the `&sid=somevalue` parameter in an authenticated Firefox tab, and it worked fine for me.
Author
Owner

@drrako commented on GitHub (Nov 8, 2025):

Here is the trace log that captures the exact same steps:

  1. Interactive search.
  2. Failed attempt to download the torrent file.
  3. Fixing the indexer on the System/Health page.
  4. Same interactive search and successful download of the same, previously failed torrent file.

prowlarr.trace.txt

@drrako commented on GitHub (Nov 8, 2025): Here is the trace log that captures the exact same steps: 1. Interactive search. 2. Failed attempt to download the torrent file. 3. Fixing the indexer on the `System/Health` page. 4. Same interactive search and successful download of the same, previously failed torrent file. [prowlarr.trace.txt](https://github.com/user-attachments/files/23434670/prowlarr.trace.txt)
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#1245
No description provided.