Mubsub: broken cursor
See original GitHub issueI have 2 apps both using feathers-sync
, both on the same servers and both connecting the same mongo replica set although using seperate databases. But on one of the app I keep getting this error.
I’m posting in here as feathers-sync
is the only package I have installed that uses mubsub
which hasn’t been updated in a while and doesn’t look like any of the issues are being answered.
error: uncaughtException: Mubsub: broken cursor.
Error: Mubsub: broken cursor.
at Timeout._onTimeout (/app/node_modules/mubsub/lib/channel.js:159:40)
at ontimeout (timers.js:498:11)
at tryOnTimeout (timers.js:323:5)
at Timer.listOnTimeout (timers.js:290:5) {"error":{},"stack":"Error: Mubsub: broken cursor.\n at Timeout._onTimeout (/app/node_modules/mubsub/lib/channel.js:159:40)\n at ontimeout (timers.js:498:11)\n at tryOnTimeout (timers.js:323:5)\n at Timer.listOnTimeout (timers.js:290:5)","exception":true,"date":"Tue Sep 25 2018 13:33:34 GMT+0000 (UTC)","process":{"pid":37,"uid":5000,"gid":5000,"cwd":"/app","execPath":"/app/.heroku/node/bin/node","version":"v8.12.0","argv":["/app/.heroku/node/bin/node","/app/src"],"memoryUsage":{"rss":254562304,"heapTotal":158777344,"heapUsed":122627880,"external":96841016}},"os":{"loadavg":[0.158203125,0.12060546875,0.13720703125],"uptime":14526604},"trace":[{"column":40,"file":"/app/node_modules/mubsub/lib/channel.js","function":"Timeout._onTimeout","line":159,"method":"_onTimeout","native":false},{"column":11,"file":"timers.js","function":"ontimeout","line":498,"method":null,"native":false},{"column":5,"file":"timers.js","function":"tryOnTimeout","line":323,"method":null,"native":false},{"column":5,"file":"timers.js","function":"Timer.listOnTimeout","line":290,"method":"listOnTimeout","native":false}]}
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Dual Monitor Mouse Pointer Problem: 4 Simple Ways to Fix It
Many users use multiple monitor setups, but sometimes dual monitor mouse pointer problem can occur in form of a corrupted cursor.
Read more >Socket.IO adapter throws uncatchable Timed Out error on ...
If you take a look at the source code, they're using mubsub. ... localhost:27017 timed out mongoose disconnected Mubsub: broken cursor.
Read more >[Solved]-Slow tailable cursor on capped collections-mongodb
I fixed this problem by deleting the following lines in the code pasted above: collection.find({}).sort({ $natural: -1 }).limit(1).
Read more >How to export from Redis to MongoDB? (My database got ...
I've broken instances of NodeBB (for the sake of this testing) many times and I never had it wipe a database. I surguest...
Read more >Renovate Bot Package Diff
+ - Mubsub: broken cursor [\#92](https://github.com/feathersjs-ecosystem/feathers-sync/issues/92). 19. 62. - Remove mubsub \(MongoDB\) adapter ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Looking at other issues like #110 and #119 it looks like Mubsub just doesn’t work very well with newer versions and does not appear to be maintained anymore. I’m inclined to remove it.
I was planning on completely replacing mubsub with a from-scratch implementation of a MongoDB collection watcher but didn’t get to it yet.