Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
Health Status
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Support

2022-12-30 15:59:31
When I upload a torrent, the health appears at 0 and when I hit the "update stats" button it gives the error "Tracker Timeout
Please retry later". I have tried to disable strict mode and give the appropriate permissions to the upload folder. Searching the forum I find different answers but they are very old and the links to the solutions do not work.
cap.png
cap.png
2022-12-30 17:42:13
As I see you have tested the script with "external torrent". Do you have a chance to test it on "local torrent" and see if it works, because TT is known to have some problems with "external scrape torrents"


www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
2022-12-30 18:00:12
Scraper works but even in best cases it will timeout, it is work in progress although mostly moved on.

Usually the issue is DNS resolution failure - out of our reach.
2022-12-30 18:31:53
make sure you have cURL installed, and also UDP torrents have always been an issue. As a test, go get a ubuntu torrent and upload it and try again https://ubuntu.com/download/server#downloads
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
Last edited by MicroMonkey on 2022-12-30 18:51:42
2022-12-30 19:17:07
Indeed, when I test with the ubuntu torrent it works correctly. How can you switch to using "Local Torrents"?
2022-12-30 19:28:17
backend/config.php
$site_config['ALLOWEXTERNAL'] = true;		//Enable Uploading of external tracked torrents

I assume thats what you are asking. Create a torrent with your own announce as per the upload page
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
Last edited by MicroMonkey on 2022-12-30 19:29:42
2022-12-30 20:04:29
if you want, you can use a copy button to copy your announce to the clipboard. Better than clicking and dragging your mouse to highlight and copy. If this can be improved, let me know. In torrents-upload.php find
begin_frame(T_("UPLOAD"));
?>
<form name="upload" enctype="multipart/form-data" action="torrents-upload.php" method="post">
<input type="hidden" name="takeupload" value="yes" />
<table border="0" cellspacing="0" cellpadding="6" align="center">
<?php
print ("<tr><td align='right' valign='top'>" . T_("ANNOUNCE_URL") . ": </td><td align='left'>");

//while (list($key,$value) = thisEach($announce_urls)) {
foreach($announce_urls as $key => $value) {
echo "<b>$value</b><br />";
}


replace with
begin_frame(T_("UPLOAD"));
?>
<table border="0" cellspacing="0" cellpadding="6" align="center">
<?php
echo "<br />";
print ("<tr><td align='right' valign='top'>" . T_("ANNOUNCE_URL") . ": </td><td align='left'>");

foreach($announce_urls as $key => $value) {
echo ("<input type='text' id='myInput' size='30' value='" . $value . "' />");
}
?>

<!-- The button and styling used to copy the announce -->
<style>
.tooltip {
   position: relative;
   display: inline-block;
}

.tooltip .tooltiptext {
   visibility: hidden;
   width: 140px;
   background-color: #555;
   color: #fff;
   text-align: center;
   border-radius: 6px;
   padding: 5px;
   position: absolute;
   z-index: 1;
   bottom: 150%;
   left: 50%;
   margin-left: -75px;
   opacity: 0;
   transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
   content: "";
   position: absolute;
   top: 100%;
   left: 50%;
   margin-left: -5px;
   border-width: 5px;
   border-style: solid;
   border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
   visibility: visible;
   opacity: 1;
}
</style>

<div class="tooltip">
<button onclick="myFunction()" onmouseout="outFunc()">
 <span class="tooltiptext" id="myTooltip">Copy to clipboard</span>
 Copy Announce
 </button>
</div>
<script>
function myFunction() {
 var copyText = document.getElementById("myInput");
 copyText.select();
 document.execCommand("Copy");
 
 var tooltip = document.getElementById("myTooltip");
 tooltip.innerHTML = "Copied!";
}

function outFunc() {
 var tooltip = document.getElementById("myTooltip");
 tooltip.innerHTML = "Copy to clipboard";
}
</script>

<!--END copy button and styling-->


<form name="upload" enctype="multipart/form-data" action="torrents-upload.php" method="post">
<input type="hidden" name="takeupload" value="yes" />

<?php


TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
2022-12-31 06:45:30
execCommand() is now obsolete. It may run into problems as Chrome and other browsers age.

Try this.


function myFunction() {
   if (navigator.clipboard) {
       var copyText = document.getElementById('myInput');
       var tooltip = document.getElementById('myTooltip');
       navigator.clipboard.writeText(copyText)
           .then(() => {
               tooltip.innerHTML = 'Copied!';
           })
           .catch((error) => {
               tooltip.innerHTML = 'Copy Failed!';
           });
   } else {
       tooltip.innerHTML = 'Copy Failed!';
   }
}


https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API
Last edited by STorrents2020 on 2022-12-31 06:48:50
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 2
  • Members: 0
  • Guests online: 2
  • Comments: 3
  • Messages: 1,728