[bittorrent] Problems connecting with tracker

Brett Cooper bac15 at uakron.edu
Mon Mar 6 21:33:45 EST 2006

Brian Dessent wrote:

>Brett Cooper wrote:
>>But, instead of getting a peer list back, I get (depending on the
>>d14:failure reason63:Requested download is not authorized for use with this tracker.e
>>d14:failure reason40:this tracker is for torrents on TPB onlye
>You're not encoding the parameters correctly.  It looks like you're
>sending just straight hexadecimal, but that's incorrect.  Take the raw
>20 byte binary hash value and then urlencode that.  You should end up
>with %nn replacing any byte that is outside of the printable ascii
>range.  Check RFC1738 or
><http://www.blooberry.com/indexdot/html/topics/urlencoding.htm>.  The
>same applies for peer_id as well, but that is of less importance since
>most clients pick values that all lie in the printable range so normally
>no urlencoding is needed there.
>BitTorrent mailing list
>BitTorrent at lists.ibiblio.org
    Thanks for the input.  I believe what you said makes sense.  Simply
send the actual hexidecimal (byte format) to the tracker and make sure
it is urlencoded if necessary instead of the string of hexidecimal
values being sent.  I will give that a try and see what happens.  Thanks
a bunch!

    - Brett

More information about the BitTorrent mailing list