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

Bandaid @ peerconnection.js line 761, range error, not enough bytes in msg #167

Open
ghost opened this issue Mar 31, 2018 · 0 comments
Open

Comments

@ghost
Copy link

ghost commented Mar 31, 2018

The error didn't say that exactly, but it appears that a parameter's (msg) .payload wasn't long enough bytewise to invoke 'var v = new DataView(msg.payload, 5, 12)', which gets a view of the data from byte 5 to byte 12.

From the comment it looks like you're already aware of the problem. I honestly haven't looked at what I was doing long enough to see if I'm setting a time bomb on myself, but it appears to work fine, so I'll fly with my little bandaid as long as it appears to work.

EDIT: I had a code snipped where I wrapped the inside of the function in an if statement, but I'm pretty sure it didn't help at all. It may have stopped the error messages for a moment, but I think I was just able to remove the offending torrent and that solved my problem.

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

No branches or pull requests

0 participants