tracker working but no seed
haojiang - June 25, 2009 - 12:43
| Project: | BitTorrent |
| Version: | 6.x-9.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
no errors showed up in my drupal and my bittorrent client showed "tracker is working" ,
but my bittorrent client just could not find out even a seed , so of course , file could not be download
right now , below is the only working version in my so many tests , both private and public mode.
http://drupal.org/files/issues/bittorrent.rar_.txt (not ipv6) form issue "http://drupal.org/node/441488"
and i made a diff with 6.x-9.1 version , a lot of files had been changed , so i could not figure out where maybe the problem localed .
please have a look at the attachment to have a more clear view.
| Attachment | Size |
|---|---|
| vs.jpg | 304.71 KB |

#1
There was problem with DB collations, so I have changed IP data type from "varchar" to "varbinary" to solve this.
Try:
bittorrent 6.x-9.2-alpha1
#2
overall:
public tracker is working on IPV4 this time but IPV6 still fail.
and again, table "bt_tracker_users" is empty again , so private tracker mode fails
i tested IPV6 , still in public stracker mode:
tracker is working "http://[2001:250:3002:1041::142]/bt6/announce.php"
but there is no seed, so file could not be downloaded.
i guess maybe bittorrent6.12 from bittorrent.com do not support ipv6. so which client are you using for testing ipv6?
by the way, your views (all three views ) have some error
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 0) AND (.uid = 1) LIMIT 0, 10' at line 16 query: SELECT node.nid AS nid, node.type AS node_type, node.vid AS node_vid, node.title AS node_title, total_size, seeders, leechers, snatches, downloaded, last_seed, bytes_uploaded, bytes_downloaded, bytes_left, last_announce FROM node node WHERE (.bytes_left = 0) AND (.uid = 1) LIMIT 0, 10 in C:\root\bt6\sites\all\modules\views\includes\view.inc on line 755.
#3
Is this right for 6.x-9.2-alpha1 ?
I cannot re-pruduce this. I have tested 6.x-9.2-alpha1 release on clean installation and all works fine...
It's supposed that IPv6 will be used for peers IPs. IPv6 in announce URL take no sense, because this is controlled by other software (DNS, browser, ...). So we need to test IPv6 for peers. You can see your IP (to test is it IPv6 or not) on your profile page (if bt_profile is enabled and set up).
I'm using "uTorrent 1.8.2" (http://www.utorrent.com/). But a cannot test IPv6, because my hardware and software does not support it. (As far as I know IPv6 is widely distributed in China, but currently not in other countries.)
Where from have you got this error (on wich page)?
#4
6.x-9.2-alpha1 , public tracker mode , in IPV4 is all right , but in IPV6 fail
ok , i will have a clean installation to test again
sorry , i can't follow you , could you please describe it in another way ,please?
did you mean , i should not set my "/admin/bt/torrent"--"announce url" =="http://[2001:250:3002:1041::142]/bt6/announce.php"
then how could i test ipv6
and
error shows up on "admin/build/views/edit/bt_user_all_torrents"
#5
i do have a clear installation again , public tracker success in ipv4 but failed in ipv6 ,
table "bt_tracker_users" is empty again while setting to private tracker mode.
overall , would you mind to upload your "success clear installation (whole site)" or email me a copy , my email is "blogbydrupal@gmail.com"
so that i could make a diff between mine one and yours, please!
#6
Yes, you should not set "/admin/bt/torrent"--"announce url" == "http://[2001:250:3002:1041::142]/bt6/announce.php",
you should set to "http://blog.bojistudio.org/bt6/announce.php". Because there is not difference between them, because "blog.bojistudio.org" will be translated to "2001:250:3002:1041::142" by DNS server wich hold this domain name. Also as far as I know IPv6 should be written without square brackets ("[]"), i.e. "http://2001:250:3002:1041::142/bt6/announce.php". Also numbers in IPv6 should be written using HEX (hexadecimal) format (ex: FF2D, ...). Because there are no one hex digit in your address, I suppose that it written in DEC (decimal) format.
To test IPv6 for peers, ensure:
- install and set up bt_profile module
- your IP on your profile page is in IPv6 format
- tracker is working properly
In the view preview?
About IPv6 see above.
I have tested it, it works fine on my installation.
Made special installation of latest modules versions, because usually I testing on Drupal 6.10 and with not latest modules versions.
Sent by e-mail.
users passwords: "password"
#7
i don't have an ipv6 domain , and blog.bojistudio.org is ipv4 only , so i have to use ipv6 ip to test.
http://[2001:250:3002:1041::142]/bt8/announce.php works on public tracker mode while i test again on a same physical machine but two different virtual machines A and B , but on a third machine C which is on another physical machine ,C only works on ipv4.
A and B could download files on each other , and they both could not download file from C .
but C could open website "http://[2001:250:3002:1041::142]/bt8/" , which means that C have a normal ipv6 enviroment , too
cut it short ::
i think A\B\C have a normal IPV6 enviroment , but don't know why A and B could not access C using BT while C could access both A and B from webpage but not BT .
And my "bt_tracker_users" (mysql ) is still empty on private mode.i think it's because i don't know how to config "bt_profile module" which also has no document, could you please descripe how to set up "bt_profile module" , i guess it have something correlation with private tracker mode.
so , what exactly button or link you click to let "bt_tracker_users" (mysql ) from empty to have passkey inside?
"admin/build/views/edit/bt_user_all_torrents" , just below the "Relationships box" "Error: handler for node_data_field_torrent_file > field_torrent_file_fid doesn't exist!"
"admin/build/views/edit/bt_user_leeching_torrents "Error: handler for node_data_field_torrent_file > field_torrent_file_fid doesn't exist!"
admin/build/views/edit/bt_user_seeding_torrents "Error: handler for node_data_field_torrent_file > field_torrent_file_fid doesn't exist!"
then if i use 1 as an argument and click preview , three page of the above also show up the same error message :
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 0) AND (.uid = 1) LIMIT 0, 10' at line 16 query: SELECT node.nid AS nid, node.type AS node_type, node.vid AS node_vid, node.title AS node_title, total_size, seeders, leechers, snatches, downloaded, last_seed, bytes_uploaded, bytes_downloaded, bytes_left, last_announce FROM node node WHERE (.bytes_left = 0) AND (.uid = 1) LIMIT 0, 10 in C:\root\bt8\sites\all\modules\views\includes\view.inc on line 755.
by the way , are there any user who had reported their success experience to the project?
#8
Pls, see: #441488: Torrent Field #29 - #32
Yes, you are right.
Yes, you are right.
Yes, it is OK.
Yes, (and even more, you can upload a torrent-file completly without announce URLs), but you have to re-download, just uploaded torrent-file by clicking on "Download the Torrent", because at the moment of torrent-file download it modified and announce URL specified at admin/bt/torrent inserted and if the module is in private mode passkey of the user, that download a torrent-file, appended to inserting announce URL.
Unfortunatelly I don't know... But we can see usage statistics http://drupal.org/project/usage/bittorrent (at the bottom of the page).
#9
overall :
i finally found out where was the problem.
your document must have left something important to mention!
if one would like to use private tracker , he or she has to set page "admin/content/node-type/story/display" to "bittorrent"
if one forget to do this step , which is not mention in your document , he or she will fail to test in private mode.
sorry , i wish to make a path , but i don't know how to .
#10
overall :
i finally found out where was the problem.
your document must have left something important to mention!
if one would like to use private tracker , he or she has to set page "admin/content/node-type/story/display" to "bittorrent"
if one forget to do this step , which is not mention in your document , he or she will fail to test in private mode.
sorry , i wish to make a path , but i don't know how to .
#11
You are absolutly right, I have to document this setup step.
Also a have to mention that this belongs not only for private mode but for all modes of work. But for private it's required.
#12
Automatically closed -- issue fixed for 2 weeks with no activity.