Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

FloodSub is not started #50

Closed
richardschneider opened this issue Nov 17, 2017 · 1 comment
Closed

FloodSub is not started #50

richardschneider opened this issue Nov 17, 2017 · 1 comment

Comments

@richardschneider
Copy link
Contributor

When running the pubsub tests (ipfs/js-ipfs#108), I sometimes see the following error.

Debug: internal, implementation, error
    AssertionError [ERR_ASSERTION]: FloodSub is not started
    at FloodSub.unsubscribe (C:\Users\Owner\Documents\GitHub\js-ipfs\node_modules\libp2p-floodsub\src\index.js:324:5)
    at Object.unsubscribe (C:\Users\Owner\Documents\GitHub\js-ipfs\src\core\components\pubsub.js:41:12)
    at unsubscribe (C:\Users\Owner\Documents\GitHub\js-ipfs\src\http\api\resources\pubsub.js:36:19)
    at Object.internals.handler (C:\Users\Owner\Documents\GitHub\js-ipfs\node_modules\podium\lib\index.js:287:26)
@richardschneider
Copy link
Contributor Author

The above comment is wrong. The stack trace indicates that unsubscribe is the problem.

This commit fixes it.

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

No branches or pull requests

1 participant