-
Notifications
You must be signed in to change notification settings - Fork 43
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
libp2p:gossipsub:error createOutboundStream error TypeError: fns.shift(...) is not a function #305
Comments
I think it might be an issue with libp2p/mplex, will open issue on their repo |
I seemed to have fixed the issue locally by replacing js-libp2p-gossipsub/src/stream.ts Line 13 in 170c1aa
With {
stream: {
close: [Function: close],
closeRead: [Function: closeRead],
closeWrite: [Function: closeWrite],
abort: [Function: abort],
reset: [Function: reset],
sink: [AsyncFunction: sink],
source: Object [AsyncGenerator] {},
stat: { direction: 'outbound', timeline: [Object] },
metadata: {},
id: 'i2'
},
protocol: '/vac/waku/relay/2.0.0-beta2'
} I know that the move of the |
Maybe due to the version of js-libp2p you're using? |
Yes so the issue is that libp2p brings an old version of
Indeed this change libp2p/js-libp2p#1255 (files) fixes it. |
closing this since this specific issue is resolved |
Getting this error message with
@chainsafe/libp2p-gossipsub@3.3.0
:The issue is because the
rawStream
passed is not a function:js-libp2p-gossipsub/src/index.ts
Line 677 in 0e76f49
Will try to investigate more later.
The text was updated successfully, but these errors were encountered: