Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upError: Offset is out of bounds #773
Comments
This comment has been minimized.
This comment has been minimized.
|
Providing the code reproducing that problem should help ;) |
This comment has been minimized.
This comment has been minimized.
|
It reproducing with webtorrent-cli:
For some files i get |
This comment has been minimized.
This comment has been minimized.
|
How did you create that torrent ? Do you have an example of such torrent ? (without copyrighted content) |
This comment has been minimized.
This comment has been minimized.
|
I think problem not in .torrent. May be problem in file: LifeRace.zip
|
This comment has been minimized.
This comment has been minimized.
|
If we can't reproduce your problem, it's harder to fix it ;) |
This comment has been minimized.
This comment has been minimized.
|
I understand and fully agree, but don't know how reproduce error. I attached file from error, but it looks normal. |
This comment has been minimized.
This comment has been minimized.
|
LifeRace.log is the file contained in your torrent ? Does that error happen in every torrent for you ? If not it looks like the problem is in that torrent. |
This comment has been minimized.
This comment has been minimized.
|
Yes, LifeRace.log contained in my torrent. Not in every torrent. Yes, it's problem that torrent, but it's not the problem for uTorrent as an example. For generate torrent I use create-torrent. |
This comment has been minimized.
This comment has been minimized.
|
@green13 Can you share the code or command line arguments you used to create the torrent? |
This comment has been minimized.
This comment has been minimized.
|
create-torrent: 3.22.0 var fs = require('fs');
var createTorrent = require('create-torrent');
var config = require('./config');
var path = require("path");
function create(folder, name, cb) {
var opts = {
name: name, // name of the torrent (default = basename of `path`)
comment: 'no', // free-form textual comments of the author
createdBy: 'SuperApp', // name and version of program used to create torrent
private: false, // is this a private .torrent? (default = false)
announceList: config.announceList // custom trackers (array of arrays of strings) (see [bep12](http://www.bittorrent.org/beps/bep_0012.html))
};
createTorrent(folder, opts, function (err, torrent) {
if (err) {
throw err;
}
var file_name = name + '.torrent';
fs.writeFileSync(path.join(config.torrentDir, file_name), torrent);
if (typeof cb === 'function') {
cb(file_name);
}
});
}
module.exports = create; |
This comment has been minimized.
This comment has been minimized.
|
Sorry -- it's just really hard to solve this issue without a minimal code example that can reliably reproduce it. If you can produce a minimal test case that exhibits the issue, I'm happy to look at it in a new issue. |
This comment has been minimized.
This comment has been minimized.
|
This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue. |
Hello.
I have all files, run WebTorrent (client.add) and get error:
Note:

My server not working, torrent can't download. Screenshot from uTorrent: