This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Problem with scrape requests after 2.1xxx

Tags: None
(comma "," separated)
shatpav
Registered Member
Posts
10
Karma
0
My tracker does not support scrape at all. That is why I can't use ktorrent 2.1xxx. I think - this problem is not only my problem. Could you please be so kind to make enable/disable option for scrape requests?
Thank you!
imported4-Ivan
Registered Member
Posts
819
Karma
0

Thu Jan 04, 2007 7:53 pm
We could add option to disable scrape, but what I don't understand is why you can't use KTorrent?! If your tracker doesn't support scrape it will just ignore it and KT will continue to work properly, doesn't it?
shatpav
Registered Member
Posts
10
Karma
0

Thu Jan 04, 2007 8:15 pm
I don't know the details, but after scrape request ktorrent show such message in log:
Invalid scrape data : t

And do not download torrent. :(

If I put logged scrape request URL in browset I receive next answer.
URL: http://bt.torrents.my.host:8000/bt/scra ... %db%cf%5du
Browser window: turn off scrape!

As I understand ktorrent log:
Invalid scrape data : t
t - this it first character from turn off scrape!

Why ktorrent do not download file....? It is some hidden think for me. :(

Whatever - I use ktorrent 2.0.3 now, and it will be good to use next generation of ktorrent in future. :)

Thank you a lot for disable scrape option!
George
Moderator
Posts
5421
Karma
1

Sat Jan 06, 2007 1:18 pm
KT will just ignore the scrape going wrong, and should continue downloading. So the option to disable scrape is not needed.

Does it stop downloading ?
shatpav
Registered Member
Posts
10
Karma
0

Sat Jan 06, 2007 2:44 pm
George wrote:KT will just ignore the scrape going wrong, and should continue downloading. So the option to disable scrape is not needed.

Does it stop downloading ?


As you see from my last message - KT 2.1xx just write to log some error about scrape and do not download anything. :(

KT 2.0.3 works fine.
George
Moderator
Posts
5421
Karma
1

Sat Jan 06, 2007 6:28 pm
shatpav wrote:
George wrote:KT will just ignore the scrape going wrong, and should continue downloading. So the option to disable scrape is not needed.

Does it stop downloading ?


As you see from my last message - KT 2.1xx just write to log some error about scrape and do not download anything. :(

KT 2.0.3 works fine.


Yeah, but in the status column, is the status stalled or error ?
shatpav
Registered Member
Posts
10
Karma
0

Sat Jan 06, 2007 6:30 pm
George wrote:
shatpav wrote:
George wrote:KT will just ignore the scrape going wrong, and should continue downloading. So the option to disable scrape is not needed.

Does it stop downloading ?


As you see from my last message - KT 2.1xx just write to log some error about scrape and do not download anything. :(

KT 2.0.3 works fine.


Yeah, but in the status column, is the status stalled or error ?


Status: stalled
George
Moderator
Posts
5421
Karma
1

Sat Jan 06, 2007 7:01 pm
Can you post your log file ? You can find it here :

~/.kde/share/apps/ktorrent/log
shatpav
Registered Member
Posts
10
Karma
0

Sat Jan 06, 2007 8:32 pm
George wrote:Can you post your log file ? You can find it here :

~/.kde/share/apps/ktorrent/log


Ok. This is one example. If you need full log - please let me know.

Thank you in advance!

---------------------------------------------
......
......
Authentication to 62.80.175.29 : ok
Authentication to 80.70.66.213 : ok
Loading torrent from data
Encoding : UTF-8
OutputPath = /home/luser/download/Fm.avi
Starting download
Pre-allocating diskspace
Preallocating file /home/luser/download/edonkey/tor4/cache (693538816 bytes)
file_size = 693538816
PreallocationThread has finished
Selected tracker http://bt.torrents.net.ua:8000/bt/annou ... ua=passwd& (tier = 1)
Switching to tracker http://bt.torrents.net.ua:8000/bt/annou ... ua=passwd&
Doing tracker request to url : http://bt.torrents.net.ua:8000/bt/annou ... %2cL%be%a8
Doing scrape request to url : http://bt.torrents.net.ua:8000/bt/scrap ... %2cL%be%a8
Invalid scrape data Illegal token: t
Timeout occurred
Authentication to 89.252.2.118 : failure
Initiating connection to 195.234.96.58
Initiating connection to 195.234.97.99
Initiating connection to 195.234.98.115
Initiating connection to 195.234.98.244
Initiating connection to 195.69.86.152
.........
........
George
Moderator
Posts
5421
Karma
1

Sun Jan 07, 2007 1:55 pm
Do you see something like :

Authentication to <ip address> : ok

in the log file ?
shatpav
Registered Member
Posts
10
Karma
0

Sun Jan 07, 2007 4:10 pm
Yes - you can see it. Please look at the first two strings of log in my last post.
And I can post much more such strings:
------------------
Authentication to 89.107.229.116 : ok
Authentication to 83.218.237.214 : ok
Authentication to 89.252.16.21 : ok
Authentication to 89.252.4.21 : ok

There are a lot of it.
imported4-Ivan
Registered Member
Posts
819
Karma
0

Sun Jan 07, 2007 5:53 pm
So you are connected to some peers. You should see at least some download, don't you?

BTW, this has nothing to do with scrape failing. KTorrent certainly ignores this error and seeing that you get peers from tracker it's obvious that the tracker doesn't give a damn too. Problem lies elsewhere.
shatpav
Registered Member
Posts
10
Karma
0

Sun Jan 07, 2007 6:20 pm
Ivan wrote:So you are connected to some peers. You should see at least some download, don't you?

BTW, this has nothing to do with scrape failing. KTorrent certainly ignores this error and seeing that you get peers from tracker it's obvious that the tracker doesn't give a damn too. Problem lies elsewhere.


I can't undestand situation so detailed. Only one think that I can say, and I shure - it is true:
When I use KT 2.0.3 all fine, and download is working.
When I try to use KT 2.1xxx - I see some scrape requests errors and download does not working. :(
That is why I decide that problem in scrape requests. (And in rules of my tracker I readed - turn off scrape! But there is no such option in KT.)

From logging information I can't see the reason of this behavor. If it is not scrape requests, then what? :(

May be I can give more detailed information?

Thank you!
shatpav
Registered Member
Posts
10
Karma
0

Sun Jan 07, 2007 8:00 pm
I have some additional info.
I have disabled string number 449 in
libktorrent/torrent/peersourcemanager.cpp

// curr->scrape();


Then recompile KT 2.1.rc1 and start it - I have got the same result:
- download/upload not working
ONLY one new think - no scrape requests/errors in logging information.

If I understand it correct - with this changes KT does not try to do scrape requests, but download steel not working.... :(

May be you can help me - where problem can be now?

Thank you!
imported4-Ivan
Registered Member
Posts
819
Karma
0

Sun Jan 07, 2007 8:24 pm
I told you it's not scrape that causes the problem :)

We have numerous changes since v2.0.3 so it would be difficult to track them and see what's causing your problems.

Open PeerView tab in InfoWidget (enable the plugin if it's not already) and tell me how many seeders/peers are you connected to. Then take a look if all of them are choking you ('choked' column in PeerView). Finally, if there are the ones that are not choking you, take a look at the 'requests' column and see if KTorrent has properly sent some requests. You're interested in the first number only: sent_requests / received_requests.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]