Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with torrent: error persisting piece: InvalidStateError #135

Open
sutty5 opened this issue Apr 24, 2016 · 32 comments
Open

Error with torrent: error persisting piece: InvalidStateError #135

sutty5 opened this issue Apr 24, 2016 · 32 comments
Labels

Comments

@sutty5
Copy link

sutty5 commented Apr 24, 2016

Unsure what causes this issue or if it is just isolated to the Toshiba Chromebook 2, but the error above happens with every torrent I download.

I have optimised everything I can. i.e. used the fastest SD Card I have (150MBps), closed any other application. minimised allowed peer connections. But I still get this error multiple times during a torrent download and I have to restart the download each time until it is complete. My internet connection is 150Mbps down and 12Mbps up.

Frequency, downloading a 3.2GB torrent takes roughly 1 hour as long as I restart the download as soon as it stops. For this 3.2GB torrent, it stopped around 6 times before complete.

For smaller torrents, this still occurs. i.e. a 1GB torent will download within 20 minutes but might stop 2 or 3 times.

The error is the same each time, for any torrent.

@kzahel
Copy link
Owner

kzahel commented Apr 24, 2016

Second report I've had of this problem: https://www.reddit.com/r/JSTorrent/comments/4esuus/issues_arising_with_magnet_links_for_win10/

Antivirus is obviously not an issue in your case (which I suspected with windows)

I haven't seen this in my own testing, and I download 3+GB torrents many times without error (ASUS chromebook flip which is ARM, and now an HP celeron chromebox)

From usage statistics I am seeing this happen with some regularity though.

https://bugs.chromium.org/p/chromium/issues/detail?id=404301 this could be the problem. I am writing blobs, perhaps I don't need to I can just write ArrayBuffers directly.

CB2 has 2GB RAM right?

@sutty5
Copy link
Author

sutty5 commented Apr 24, 2016

I am using Toshiba Chromebook 2 CB30-B-104 which has 4GB RAM.

Chrome OS Version: 49.0.2623.112 (64-bit)

There are no other extensions running to interfere. I also made sure to keep the system awake at all times and never left it.

Not sure if this is an issue also, but I can never reach a download speed above 4MB/s, even though I can download at 16MB/s on other machines on my network. Speedtest.net on this chromebook tests at 152Mbps and can download from other websites at this full speed if server allows.

Just tested and torrent stopped after 656MB of writing.

(Now Resumed)

No stop, torrent continued to download until complete which was a further 1420MB, however, total download is recorded as 3.508GB whereas total size showed 3.135GB?

Chrome OS shows total file size of 3.1GB.

I'll be happy to test the app with updates to code should you require me to verify a fix.

Or if you have any instruction for further testing, let me know.

This is what I can see from the messages pane:

Warn1513 previous messages not shown
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: connect_errornet::ERR_CONNECTION_REFUSED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
Errorwriter error [object ProgressEvent] [object FileError]
POWERnumber of active torrents now 0
POWERrelease keep awake
WarncancelTorrentJobs
ErroronTorrentError [object Arguments]
Errortorrent error: [,,]
Warnthis piece was reset while it was being hash checked... why? 463
WarnonClose: torrent stopped lasterror [object Object] result undefined
report basic job error [object Object] undefined:0
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: torrent stopped lasterror [object Object] result undefined
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
SYSTEMidle state changed idle , online: true
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
BAD PIECE RECEIVED!593
Erroreither unable to hash piece due to worker error, or hash mismatch
Warnresetting piece data, not punishing peers...
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
BAD PIECE RECEIVED!596
Erroreither unable to hash piece due to worker error, or hash mismatch
Warnresetting piece data, not punishing peers...
BAD PIECE RECEIVED!598
Erroreither unable to hash piece due to worker error, or hash mismatch
Warnresetting piece data, not punishing peers...
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
WarnonClose: writeerrSocket not found lasterror [object Object] result undefined
BAD PIECE RECEIVED!601
Erroreither unable to hash piece due to worker error, or hash mismatch
Warnresetting piece data, not punishing peers...
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
WarnonClose: writeerrnet::ERR_SOCKET_NOT_CONNECTED lasterror [object Object] result undefined
SYSTEMidle state changed active , online: true

@kzahel
Copy link
Owner

kzahel commented Apr 24, 2016

Hmm so the idea I had didn't work out. You still can't write ArrayBuffer to FileWriter. Dang.

Can you keep the DiskIO tab open? Do you see that list getting really large? This can happen if the download is happening faster than it can write it to the disk. That could perhaps result in the problem.

If you open chrome://blob-internals in a tab, if you see a bunch of JSTorrent stuff there, that could also indicate a problem (you'll need to refresh)

Really appreciate your helping with this. We'll get it!

@sutty5
Copy link
Author

sutty5 commented Apr 24, 2016

It's my pleasure! Helping towards a fix for the benefit of myself and others is always a great feeling.

I just watched the DiskIO Tab until the first InvalidState Error. There were never more than 5 lines at one time.
When the download stopped, I couldn't see anything in this tab that would indicate a problem.

Here's a paste of the blob tab during torrent download:

06138bff-43d1-4b55-aa55-0e6204127ae4
Refcount: 1
Type: data
Length: 4,194,304
0b5271a7-0d2c-4712-be70-09d1aa48e8c0
Refcount: 1
Type: data
Length: 4,194,304
12fdc7c8-1be5-4d0b-8768-aa3fbdc11053
Refcount: 1
Type: data
Length: 4,194,304
20b4c900-870c-4012-9551-f58c4820650a
Refcount: 1
Type: data
Length: 4,194,304
23299973-df93-4a56-b83c-488ee279f985
Refcount: 1
Type: data
Length: 4,194,304
27dd7b1b-4b59-40f2-b572-8df4aac34d4a
Refcount: 1
Content Type: application/zip
2ca31eca-948b-4750-81f9-1d79a3fb065c
Refcount: 1
Type: data
Length: 141
2e952eef-c520-4c95-81ac-90e9ff8b2217
Refcount: 1
Type: data
Length: 4,194,304
313c3109-5b48-409a-af68-eb6bcea54716
Refcount: 1
Type: data
Length: 543
3b9ae296-eea0-4049-aaad-c2ac08eba7ca
Refcount: 1
Type: data
Length: 141
3ef9a410-751c-463b-ae3f-65d96b8e1b77
Refcount: 1
Type: data
Length: 4,194,304
434bd72b-eac4-493c-8337-e85cc50506c1
Refcount: 1
Type: data
Length: 4,194,304
44d11ea9-a2d8-434b-a49f-f0d1719f3b29
Refcount: 1
Type: data
Length: 4,194,304
4d580f01-13e1-4e90-9f20-2d1d639f9cb9
Refcount: 1
Type: data
Length: 168
5386dcc8-a464-464f-ac17-66496e1f9de1
Refcount: 1
Type: data
Length: 4,194,304
5b694375-b09f-45ef-ae01-667e283ed432
Refcount: 1
Type: data
Length: 4,194,304
6385a098-8abf-47de-99d5-f77db65ee652
Refcount: 1
Type: data
Length: 4,194,304
63d84366-06f0-4d1e-86ae-a94a5c3070b3
Refcount: 1
Type: data
Length: 4,194,304
675a0da3-8d20-4c7b-a11a-100eee939fc6
Refcount: 1
Type: data
Length: 4,194,304
70132b6c-5cfb-454b-a6d5-767e5b59c4f1
Refcount: 1
Length: 2,519,620
77719ffe-642e-41ad-b3af-ee52b23eb923
Refcount: 1
Type: data
Length: 4,194,304
783c7d46-2772-4188-866c-3f5cc459226d
Refcount: 1
Type: data
Length: 4,194,304
806242d6-7421-4b41-add9-70a900982393
Refcount: 1
Type: data
Length: 4,194,304
83572479-7a7e-4f97-aad1-0ab0c4413e63
Refcount: 1
Type: data
Length: 4,194,304
8b0ad13c-a6a7-4772-aa6f-f9747790b949
Refcount: 1
Type: data
Length: 4,194,304
943b04e0-c2cb-473f-a4e3-73980a9b0b94
Refcount: 1
Type: data
Length: 4,194,304
9966a374-0342-47cd-b800-5d74f6b3b5d8
Refcount: 1
Type: data
Length: 4,194,304
a076e787-4034-4cfa-86aa-9c6c7233c05a
Refcount: 1
Type: data
Length: 4,194,304
a11e0404-a17c-4f0b-bc74-207d9fa3828f
Refcount: 1
Type: data
Length: 4,194,304
a2b289ff-2a11-4bc1-8ed0-060b2e64ffa3
Refcount: 1
Type: data
Length: 141
aad7d26b-051b-42a3-a8a3-d8da874e204a
Refcount: 1
Type: data
Length: 61
ab726372-319d-4ece-8278-a168fc11d88b
Refcount: 1
Type: data
Length: 202
bec30b9a-bc70-495e-94f8-c436cb0eb016
Refcount: 1
Type: data
Length: 4,194,304
c3c8e8e1-bd04-4791-8d81-d703ae80b086
Refcount: 1
Type: data
Length: 4,194,304
ca348b89-edd8-4e43-ad48-226f9ea9b89a
Refcount: 1
Type: data
Length: 4,194,304
d1a75af8-7d3f-472d-bd2b-2229c6ed59e3
Refcount: 1
Type: data
Length: 71
d20557db-c263-4c60-ab0a-6a6b5844c6ad
Refcount: 1
Type: data
Length: 4,194,304
d99117c3-3a9d-4590-b9a1-40ddf352b1d3
Refcount: 1
Type: data
Length: 4,194,304
dd327a54-265e-4b07-b9de-4ad1664b3c1e
Refcount: 1
Type: data
Length: 71
dd82f37c-a46f-41b2-bfc2-4f27d0b874a1
Refcount: 1
Type: data
Length: 4,194,304
e26f7caa-da65-4cd5-bcdb-3322366f574e
Refcount: 1
Type: data
Length: 4,194,304
ede76da0-2084-4868-9dbf-1103f2663e15
Refcount: 1
Type: data
Length: 2
ee1f5d15-d8bc-4235-a1ad-03e60cc4f0da
Refcount: 1
Type: data
Length: 4,194,304
f0c7d272-3605-4afb-bba4-bb18bfd5d796
Refcount: 1
Type: data
Length: 760
f7ced567-ea22-4714-b4c9-de32065ae775
Refcount: 1
Type: data
Length: 1
f8e0c55a-fa4a-4e89-b2c4-86e0a7b7fc48
Refcount: 1
Type: data
Length: 61
f93f0669-d37d-45cc-b662-4ea98f089679
Refcount: 1
Type: data
Length: 61
fc988c2f-b5be-4ecf-bf7b-a2b46698001e
Refcount: 1
Type: data
Length: 4,194,304

@kzahel
Copy link
Owner

kzahel commented Apr 24, 2016

Interesting. There are a lot of 4mb blobs there. Do those stay around even
when downloading stops? That would indicate a memory leak
On Apr 24, 2016 10:37 AM, "sutty5" notifications@github.com wrote:

It's my pleasure! Helping towards a fix for the benefit of myself and
others is always a great feeling.

I just watched the DiskIO Tab until the first InvalidState Error. There
were never more than 5 lines at one time.
When the download stopped, I couldn't see anything in this tab that would
indicate a problem.

Here's a paste of the blob tab during torrent download:

06138bff-43d1-4b55-aa55-0e6204127ae4
Refcount: 1
Type: data
Length: 4,194,304
0b5271a7-0d2c-4712-be70-09d1aa48e8c0
Refcount: 1
Type: data
Length: 4,194,304
12fdc7c8-1be5-4d0b-8768-aa3fbdc11053
Refcount: 1
Type: data
Length: 4,194,304
20b4c900-870c-4012-9551-f58c4820650a
Refcount: 1
Type: data
Length: 4,194,304
23299973-df93-4a56-b83c-488ee279f985
Refcount: 1
Type: data
Length: 4,194,304
27dd7b1b-4b59-40f2-b572-8df4aac34d4a
Refcount: 1
Content Type: application/zip
2ca31eca-948b-4750-81f9-1d79a3fb065c
Refcount: 1
Type: data
Length: 141
2e952eef-c520-4c95-81ac-90e9ff8b2217
Refcount: 1
Type: data
Length: 4,194,304
313c3109-5b48-409a-af68-eb6bcea54716
Refcount: 1
Type: data
Length: 543
3b9ae296-eea0-4049-aaad-c2ac08eba7ca
Refcount: 1
Type: data
Length: 141
3ef9a410-751c-463b-ae3f-65d96b8e1b77
Refcount: 1
Type: data
Length: 4,194,304
434bd72b-eac4-493c-8337-e85cc50506c1
Refcount: 1
Type: data
Length: 4,194,304
44d11ea9-a2d8-434b-a49f-f0d1719f3b29
Refcount: 1
Type: data
Length: 4,194,304
4d580f01-13e1-4e90-9f20-2d1d639f9cb9
Refcount: 1
Type: data
Length: 168
5386dcc8-a464-464f-ac17-66496e1f9de1
Refcount: 1
Type: data
Length: 4,194,304
5b694375-b09f-45ef-ae01-667e283ed432
Refcount: 1
Type: data
Length: 4,194,304
6385a098-8abf-47de-99d5-f77db65ee652
Refcount: 1
Type: data
Length: 4,194,304
63d84366-06f0-4d1e-86ae-a94a5c3070b3
Refcount: 1
Type: data
Length: 4,194,304
675a0da3-8d20-4c7b-a11a-100eee939fc6
Refcount: 1
Type: data
Length: 4,194,304
70132b6c-5cfb-454b-a6d5-767e5b59c4f1
Refcount: 1
Length: 2,519,620
77719ffe-642e-41ad-b3af-ee52b23eb923
Refcount: 1
Type: data
Length: 4,194,304
783c7d46-2772-4188-866c-3f5cc459226d
Refcount: 1
Type: data
Length: 4,194,304
806242d6-7421-4b41-add9-70a900982393
Refcount: 1
Type: data
Length: 4,194,304
83572479-7a7e-4f97-aad1-0ab0c4413e63
Refcount: 1
Type: data
Length: 4,194,304
8b0ad13c-a6a7-4772-aa6f-f9747790b949
Refcount: 1
Type: data
Length: 4,194,304
943b04e0-c2cb-473f-a4e3-73980a9b0b94
Refcount: 1
Type: data
Length: 4,194,304
9966a374-0342-47cd-b800-5d74f6b3b5d8
Refcount: 1
Type: data
Length: 4,194,304
a076e787-4034-4cfa-86aa-9c6c7233c05a
Refcount: 1
Type: data
Length: 4,194,304
a11e0404-a17c-4f0b-bc74-207d9fa3828f
Refcount: 1
Type: data
Length: 4,194,304
a2b289ff-2a11-4bc1-8ed0-060b2e64ffa3
Refcount: 1
Type: data
Length: 141
aad7d26b-051b-42a3-a8a3-d8da874e204a
Refcount: 1
Type: data
Length: 61
ab726372-319d-4ece-8278-a168fc11d88b
Refcount: 1
Type: data
Length: 202
bec30b9a-bc70-495e-94f8-c436cb0eb016
Refcount: 1
Type: data
Length: 4,194,304
c3c8e8e1-bd04-4791-8d81-d703ae80b086
Refcount: 1
Type: data
Length: 4,194,304
ca348b89-edd8-4e43-ad48-226f9ea9b89a
Refcount: 1
Type: data
Length: 4,194,304
d1a75af8-7d3f-472d-bd2b-2229c6ed59e3
Refcount: 1
Type: data
Length: 71
d20557db-c263-4c60-ab0a-6a6b5844c6ad
Refcount: 1
Type: data
Length: 4,194,304
d99117c3-3a9d-4590-b9a1-40ddf352b1d3
Refcount: 1
Type: data
Length: 4,194,304
dd327a54-265e-4b07-b9de-4ad1664b3c1e
Refcount: 1
Type: data
Length: 71
dd82f37c-a46f-41b2-bfc2-4f27d0b874a1
Refcount: 1
Type: data
Length: 4,194,304
e26f7caa-da65-4cd5-bcdb-3322366f574e
Refcount: 1
Type: data
Length: 4,194,304
ede76da0-2084-4868-9dbf-1103f2663e15
Refcount: 1
Type: data
Length: 2
ee1f5d15-d8bc-4235-a1ad-03e60cc4f0da
Refcount: 1
Type: data
Length: 4,194,304
f0c7d272-3605-4afb-bba4-bb18bfd5d796
Refcount: 1
Type: data
Length: 760
f7ced567-ea22-4714-b4c9-de32065ae775
Refcount: 1
Type: data
Length: 1
f8e0c55a-fa4a-4e89-b2c4-86e0a7b7fc48
Refcount: 1
Type: data
Length: 61
f93f0669-d37d-45cc-b662-4ea98f089679
Refcount: 1
Type: data
Length: 61
fc988c2f-b5be-4ecf-bf7b-a2b46698001e
Refcount: 1
Type: data
Length: 4,194,304


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#135 (comment)

@kzahel
Copy link
Owner

kzahel commented Apr 24, 2016

I made an update to the free version to add some more information that should help me debug. (ver 2.4.4
https://chrome.google.com/webstore/detail/jstorrent-lite/abmohcnlldaiaodkpacnldcdnjjgldfh). If you can try to reproduce with that version and see if the error messages have changed.

Also I forgot to ask, are you running the app from the store ? or from github?

@kzahel
Copy link
Owner

kzahel commented Apr 24, 2016

This might be the problem: https://bugs.chromium.org/p/chromium/issues/detail?id=375297

@sutty5
Copy link
Author

sutty5 commented Apr 24, 2016

Those blobs disappear when torrent stops. I use the paid store version as I wanted to contribute. Will give 2.4.4 a test and feed back.

Thank you

@kzahel
Copy link
Owner

kzahel commented Apr 24, 2016

Makes sense they disappear after it stops, I clear them out at stop time anyway.
I notice that you're getting bad piece messages. I put out another update (2.4.5) to track how many of those total. It may be that the memory leak is related to not properly handling bad piece cleanup.

@sutty5
Copy link
Author

sutty5 commented Apr 24, 2016

Using 2.4.4 I got the invalidstate error again. It seemed to progress a little further before doing so but still got it.

Didn't see any 4mb blobs on chrome://blob-internals/ like the last time though.

will test your 2.4.5 now.

Messages from 2.4.4:

Warn 40 previous messages not shown
file complete event undefined:9
file complete event undefined:10
file complete event undefined:11
file complete event undefined:12
file complete event undefined:13
file complete event undefined:14
file complete event undefined:15
file complete event undefined:16
file complete event undefined:17
file complete event undefined:18
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
BAD PIECE RECEIVED! 121
Error either unable to hash piece due to worker error, or hash mismatch
Warn resetting piece data, not punishing peers...
Warn chunk response found no corresponding request, however it was in peer connection request list
Warn chunk response found no corresponding request, however it was in peer connection request list
DISKIO TRUNCATE!
BAD PIECE RECEIVED! 123
Error either unable to hash piece due to worker error, or hash mismatch
Warn resetting piece data, not punishing peers...
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
BAD PIECE RECEIVED! 166
Error either unable to hash piece due to worker error, or hash mismatch
Warn resetting piece data, not punishing peers...
SYSTEM idle state changed idle , online: true
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
SYSTEM idle state changed active , online: true
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
DISKIO TRUNCATE!
SYSTEM idle state changed idle , online: true
DISKIO TRUNCATE!
BAD PIECE RECEIVED! 215
Error either unable to hash piece due to worker error, or hash mismatch
Warn resetting piece data, not punishing peers...
SYSTEM idle state changed active , online: true
BAD PIECE RECEIVED! 216
Error either unable to hash piece due to worker error, or hash mismatch
Warn resetting piece data, not punishing peers...
DISKIO TRUNCATE!
BAD PIECE RECEIVED! 220
Error either unable to hash piece due to worker error, or hash mismatch
Warn resetting piece data, not punishing peers...
BAD PIECE RECEIVED! 222
Error either unable to hash piece due to worker error, or hash mismatch
Warn resetting piece data, not punishing peers...
SYSTEM idle state changed idle , online: true
SYSTEM idle state changed active , online: true
PEER onReceiveError {"resultCode":-7,"socketId":10615} TIMED_OUT
PEER onReceiveError {"resultCode":-7,"socketId":10483} TIMED_OUT
PEER onReceiveError {"resultCode":-7,"socketId":10617} TIMED_OUT
PEER onReceiveError {"resultCode":-7,"socketId":10948} TIMED_OUT
PEER onReceiveError {"resultCode":-7,"socketId":10630} TIMED_OUT
Error writer error {"isTrusted":true} {}
report basic job error {"error":"InvalidStateError","evt":{"isTrusted":true}} undefined:0
POWER number of active torrents now 0
POWER release keep awake
Warn cancelTorrentJobs
Error onTorrentError [object Arguments]
Error torrent error: [,,]

@kzahel
Copy link
Owner

kzahel commented Apr 24, 2016

Can you email me the .torrent / magnet link graehlarts@gmail.com so I can test if I get the problem here? .. could be torrent specific somehow? Update can take up to an hour to get to you. You can manually install by downloading the zip file and going to chrome://extensions and clicking on the check mark for developer and then load unpacked extension

@sutty5
Copy link
Author

sutty5 commented Apr 24, 2016

Tried this with many torrents and received the same error. However, will email the one that I last tested and got the error with.

I will go ahead and grab that zip.

Thanks.

@kzahel
Copy link
Owner

kzahel commented Apr 24, 2016

I have another idea, keep a look at the "Pieces" tab and let me know if that list gets bigger than say... 20 items. It may be that once that list gets big enough, it runs out of memory and causes the error.

@sutty5
Copy link
Author

sutty5 commented Apr 24, 2016

Whatever you did for 2.4.5, problem solved. 2 torrents downloaded successfully without error. Will try a few more to confirm for definite but seems to be fixed. Well done. Thank You.

@kzahel
Copy link
Owner

kzahel commented Apr 24, 2016

That sucks, because I didn't fix anything :-\ I'm still not able to
reproduce yet

On Sun, Apr 24, 2016 at 2:25 PM, sutty5 notifications@github.com wrote:

Whatever you did for 2.4.5, problem solved. 2 torrents downloaded
successfully without error. Will try a few more to confirm for definite but
seems to be fixed. Well done. Thank You.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#135 (comment)

@kzahel
Copy link
Owner

kzahel commented Apr 24, 2016

Well I did change one thing, but not something that I think should fix it. But maybe it did...

@sutty5
Copy link
Author

sutty5 commented Apr 24, 2016

Unfortunately my Chromebook has been kidnapped from me by my partner. I will run some more downloads tomorrow. And if there are any more logs or tests I can do. I'll be happy to do so. Thank you.

@kzahel kzahel added the bug label Apr 27, 2016
@spencerbutler
Copy link

I am having the same issue. It doesn't seem to be writing very much data to the disk, yet it downloads much more data than the file size. I have the same errors as mentioned here, so I won't repeat them. This is my system:

HP Chromebook 14 (4G RAM)

x86_64 Intel(R) Celeron(R) 2955U @ 1.40GHz GenuineIntel GNU/Linux

Version 49.0.2623.112 (64-bit)
Platform 7834.70.0 (Official Build) stable-channel falco
Firmware Google_Falco.4389.92.0

JSTorrent 2.4.3

@kzahel
Copy link
Owner

kzahel commented May 8, 2016

Can you update to the latest version? 2.4.3 is pretty old.

@spencerbutler
Copy link

I just updated to the 2.4.8 from GitHub. I'll keep you posted.

On Sun, May 8, 2016 at 3:52 PM, Kyle Graehl notifications@github.com
wrote:

Can you update to the latest version? 2.4.3 is pretty old.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#135 (comment)

@spencerbutler
Copy link

The first torrent I tried with 2.4.8 was successful and the download to
file size was the same. However, on subsequent attempts it failed to write
ANY data to disk even though it downloaded close to 2G of data from 3
different torrents. I see many instances of this in the logs.

checkBroken
checkBroken
checkBroken
disk getMetadata err {}

On Sun, May 8, 2016 at 3:59 PM, Spencer Butler <spencerunderground@gmail.com

wrote:

I just updated to the 2.4.8 from GitHub. I'll keep you posted.

On Sun, May 8, 2016 at 3:52 PM, Kyle Graehl notifications@github.com
wrote:

Can you update to the latest version? 2.4.3 is pretty old.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#135 (comment)

@kzahel
Copy link
Owner

kzahel commented May 9, 2016

Thanks for letting me know. I'll look into it tomorrow I may have an idea
about what's happening.
On May 8, 2016 9:37 PM, "spencerunderground" notifications@github.com
wrote:

The first torrent I tried with 2.4.8 was successful and the download to
file size was the same. However, on subsequent attempts it failed to write
ANY data to disk even though it downloaded close to 2G of data from 3
different torrents. I see many instances of this in the logs.

checkBroken
checkBroken
checkBroken
disk getMetadata err {}

On Sun, May 8, 2016 at 3:59 PM, Spencer Butler <
spencerunderground@gmail.com

wrote:

I just updated to the 2.4.8 from GitHub. I'll keep you posted.

On Sun, May 8, 2016 at 3:52 PM, Kyle Graehl notifications@github.com
wrote:

Can you update to the latest version? 2.4.3 is pretty old.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#135 (comment)


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#135 (comment)

@spencerbutler
Copy link

Let me also add, I've used this software for a couple of years (very
infrequently) and never had any problems. I'm pretty sure I saw 2 updates
go by between the last time it worked and today. So, something 'broke'
between then and now.

On Sun, May 8, 2016 at 9:50 PM, Kyle Graehl notifications@github.com
wrote:

Thanks for letting me know. I'll look into it tomorrow I may have an idea
about what's happening.
On May 8, 2016 9:37 PM, "spencerunderground" notifications@github.com
wrote:

The first torrent I tried with 2.4.8 was successful and the download to
file size was the same. However, on subsequent attempts it failed to
write
ANY data to disk even though it downloaded close to 2G of data from 3
different torrents. I see many instances of this in the logs.

checkBroken
checkBroken
checkBroken
disk getMetadata err {}

On Sun, May 8, 2016 at 3:59 PM, Spencer Butler <
spencerunderground@gmail.com

wrote:

I just updated to the 2.4.8 from GitHub. I'll keep you posted.

On Sun, May 8, 2016 at 3:52 PM, Kyle Graehl notifications@github.com
wrote:

Can you update to the latest version? 2.4.3 is pretty old.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
<
https://github.com/kzahel/jstorrent/issues/135#issuecomment-217751103>


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#135 (comment)


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#135 (comment)

@kzahel
Copy link
Owner

kzahel commented May 10, 2016

I committed some code that should address the problem. I wasn't handling the onSuspend event. If you're running from github, try updating again.

@spencerbutler
Copy link

Today I moved to an Internet location with much faster speeds and had 0
problems with the 3 torrents. I have yet to update to the latest git
version. I'll update to the latest version and see what happens on the
super slow Internet connection.

On Mon, May 9, 2016 at 6:25 PM, Kyle Graehl notifications@github.com
wrote:

I committed some code that should address the problem. I wasn't handling
the onSuspend event. If you're running from github, try updating again.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#135 (comment)

@spencerbutler
Copy link

I've also noticed with the 2.4.8 and now the 2.4.9 releases there is no way
that I've found to "skip" a download in the "Files" tab.

On Mon, May 9, 2016 at 7:20 PM, Spencer Butler <spencerunderground@gmail.com

wrote:

Today I moved to an Internet location with much faster speeds and had 0
problems with the 3 torrents. I have yet to update to the latest git
version. I'll update to the latest version and see what happens on the
super slow Internet connection.

On Mon, May 9, 2016 at 6:25 PM, Kyle Graehl notifications@github.com
wrote:

I committed some code that should address the problem. I wasn't handling
the onSuspend event. If you're running from github, try updating again.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#135 (comment)

@kzahel
Copy link
Owner

kzahel commented May 10, 2016

Oops! Thanks I'll get right on that

On Mon, May 9, 2016 at 7:32 PM, spencerunderground <notifications@github.com

wrote:

I've also noticed with the 2.4.8 and now the 2.4.9 releases there is no way
that I've found to "skip" a download in the "Files" tab.

On Mon, May 9, 2016 at 7:20 PM, Spencer Butler <
spencerunderground@gmail.com

wrote:

Today I moved to an Internet location with much faster speeds and had 0
problems with the 3 torrents. I have yet to update to the latest git
version. I'll update to the latest version and see what happens on the
super slow Internet connection.

On Mon, May 9, 2016 at 6:25 PM, Kyle Graehl notifications@github.com
wrote:

I committed some code that should address the problem. I wasn't handling
the onSuspend event. If you're running from github, try updating again.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#135 (comment)


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#135 (comment)

@kzahel
Copy link
Owner

kzahel commented May 10, 2016

Committed a change to fix the context menus.

@spencerbutler
Copy link

Thanks for fixing the menus. I am back on my very slow Internet connection
(average ~10kB/s) and the app is not saving any data. For a 287M torrent,
I've downloaded 20M and there have been no writes to disk. Other than
the "checkBroken"
and warnings about "chunk response found no corresponding request" I don't
see anything in the logs.

On Tue, May 10, 2016 at 10:31 AM, Kyle Graehl notifications@github.com
wrote:

Committed a change to fix the context menus.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#135 (comment)

@kzahel
Copy link
Owner

kzahel commented May 11, 2016

Wow! That's a slow connection!
I'm guessing it's pretty high latency, too.
Did you try lowering the peer connections to much lower? At 10kB, you might
only want say 4 or 5 peers max.
Unfortunately I did not do any testing at this slow of a connection. Is it
satellite? 3G? Tethered to 3G?

On Tue, May 10, 2016 at 6:01 PM, spencerunderground <
notifications@github.com> wrote:

Thanks for fixing the menus. I am back on my very slow Internet connection
(average ~10kB/s) and the app is not saving any data. For a 287M torrent,
I've downloaded 20M and there have been no writes to disk. Other than
the "checkBroken"
and warnings about "chunk response found no corresponding request" I don't
see anything in the logs.

On Tue, May 10, 2016 at 10:31 AM, Kyle Graehl notifications@github.com
wrote:

Committed a change to fix the context menus.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#135 (comment)


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#135 (comment)

@spencerbutler
Copy link

It is pretty volatile. Now and again I'll get up to 100kB/s but typically
it is much less and very latent. I'll play around with the peer connection
limit and see how it goes. My guess, is that I was connecting to too many
clients and unable to pull complete pieces from them for saving. Thanks for
your help.

On Tue, May 10, 2016 at 7:24 PM, Kyle Graehl notifications@github.com
wrote:

Wow! That's a slow connection!
I'm guessing it's pretty high latency, too.
Did you try lowering the peer connections to much lower? At 10kB, you might
only want say 4 or 5 peers max.
Unfortunately I did not do any testing at this slow of a connection. Is it
satellite? 3G? Tethered to 3G?

On Tue, May 10, 2016 at 6:01 PM, spencerunderground <
notifications@github.com> wrote:

Thanks for fixing the menus. I am back on my very slow Internet
connection
(average ~10kB/s) and the app is not saving any data. For a 287M torrent,
I've downloaded 20M and there have been no writes to disk. Other than
the "checkBroken"
and warnings about "chunk response found no corresponding request" I
don't
see anything in the logs.

On Tue, May 10, 2016 at 10:31 AM, Kyle Graehl notifications@github.com
wrote:

Committed a change to fix the context menus.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
<#135 (comment)


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#135 (comment)


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#135 (comment)

@prochac
Copy link

prochac commented Sep 8, 2019

Hi, same error here. But i found out the reason. Torrent destination was disk with FAT32 and downloaded file reached 4GB limit per file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants