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: buf length isn't multiple of compact IP/PORTs #74

Open
oxowl opened this issue Jun 14, 2020 · 4 comments
Open

Error: buf length isn't multiple of compact IP/PORTs #74

oxowl opened this issue Jun 14, 2020 · 4 comments

Comments

@oxowl
Copy link

oxowl commented Jun 14, 2020

Media playback

Unhandled Error Error: buf length isn't multiple of compact IP/PORTs (6 bytes) at Function.compact2string.multi (/Applications/moose.app/Contents/Resources/app.asar/node_modules/compact2string/index.js:22:11) at utPex.onMessage (/Applications/moose.app/Contents/Resources/app.asar/node_modules/ut_pex/index.js:103:24) at Wire._onExtended (/Applications/moose.app/Contents/Resources/app.asar/node_modules/bittorrent-protocol/index.js:554:26) at Wire._onMessage (/Applications/moose.app/Contents/Resources/app.asar/node_modules/bittorrent-protocol/index.js:686:21) at Wire._write (/Applications/moose.app/Contents/Resources/app.asar/node_modules/bittorrent-protocol/index.js:590:12) at doWrite (/Applications/moose.app/Contents/Resources/app.asar/node_modules/bittorrent-protocol/node_modules/readable-stream/lib/_stream_writable.js:409:139) at writeOrBuffer (/Applications/moose.app/Contents/Resources/app.asar/node_modules/bittorrent-protocol/node_modules/readable-stream/lib/_stream_writable.js:398:5) at Wire.Writable.write (/Applications/moose.app/Contents/Resources/app.asar/node_modules/bittorrent-protocol/node_modules/readable-stream/lib/_stream_writable.js:307:11)

@ritz078
Copy link
Owner

ritz078 commented Jun 14, 2020

Thanks for the whole stack trace. Can you help me with the steps to reproduce this ?

@ritz078 ritz078 added the bug label Jun 14, 2020
@ritz078
Copy link
Owner

ritz078 commented Jun 14, 2020

Nevermind. I was able to reproduce this.

@ritz078
Copy link
Owner

ritz078 commented Oct 8, 2020

We will need sindresorhus/electron-unhandled#18 to fix this or we can implement the whole logic here. I will prefer the first one since that will help more people. After the filter option is present in electron-unhandled, we can just filter out this message.

@vinodf2f
Copy link
Contributor

vinodf2f commented Feb 9, 2021

@ritz078 Created a patch for the filter option and raised a PR #268 .
Can you please review ?

vinodf2f pushed a commit to vinodf2f/moose that referenced this issue Feb 12, 2021
ritz078 pushed a commit that referenced this issue Feb 12, 2021
Co-authored-by: Vinod Vijaykumar Yewatikar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants