| View previous topic :: View next topic |
| Author |
Message |
Markos neophyte
Joined: 17 Aug 2005 Posts: 4 Location: Spain
|
Posted: Thu Oct 22, 2009 7:13 am Post subject: compute_torrent not working? |
|
|
Hi all,
i'm having trouble using compute_torrent, both for single file and for directories.
I'm using V2.9.5.
Situation:
* I issue "compute_torrent incoming/File1.txt Blahblah".
* The .torrent is generated and put into the .mldonkey/torrents/seeded directory (seems OK)
* I check if it's seeded with "seeded_torrents" and it says "File1.txt [0]" (Size 0??? Why?? File is accessible ok....)
* Nothing is logged at the mlnet.log file
* I copy the .torrent into the torrents/tracked dir, so tracker can announce it when requested.
* I copy the .torrent into another machine (another location, outside LAN), and run a win torrent client, but it can't download the file. (Clients: tested ABC, Vuzereus)
* Checking the mlnet log I see periodically: "[bTTrack] Tracker rejected announce request for torrent XXXX (torrent hash)"
**** What is going on here? ******
Why does it reject the announce?
Fact is I remember having created some time ago a .torrent correctly and downloaded it ok....
* The very same situation if I seed a directory....
===================================
Can anyone put some light on this please (my family is waiting for my holiday videos )?
Thanks. |
|
| Back to top |
|
 |
Markos neophyte
Joined: 17 Aug 2005 Posts: 4 Location: Spain
|
Posted: Wed Oct 28, 2009 8:47 am Post subject: Into the source |
|
|
Browsing a little bit the source code, I found the error string in reply_has_tracker (is that a function? sorry, I've never ocaml....) (File: "bttracker.ml")
| Code: |
let reply_has_tracker r info_hash peer_id peer_ip peer_port peer_key peer_left peer_event numwant no_peer_id =
let tracker_ok = ref true in
if !verbose_msg_servers then
lprintf_nl "tracker contacted for [%s]" (Sha1.to_hexa info_hash);
let tracker = try
Hashtbl.find tracked_files info_hash
with Not_found ->
if !!tracker_force_local_torrents then begin
tracker_ok := false;
lprintf_nl "Tracker rejected announce request for torrent [%s]\n" (Sha1.to_hexa info_hash);
failwith "Unknown torrent"
end;
|
So I understand that Hashtbl is not finding the file in the "tracked_files" list.
How can that happen? How does mlnet keep track of the .torrents?
Shouldn't compute_torrent automagically add the file to that list?
Regards. Marcos. |
|
| Back to top |
|
 |
Markos neophyte
Joined: 17 Aug 2005 Posts: 4 Location: Spain
|
Posted: Thu Oct 29, 2009 8:56 am Post subject: Update |
|
|
* Update * - Compiled 3.0.1 , with same result.
Even worst, i've run a clean instance within another user's home (clean .mldonkey dir), with no luck at all!
Tracker still refuses to announce it. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © phpBB Group
|
|
|
|