{"action":"closed","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/3414","labels_url":"https://api.github.com/repos/meteor/meteor/issues/3414/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/3414/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/3414/events","html_url":"https://github.com/meteor/meteor/issues/3414","id":53321981,"number":3414,"title":"Exception in queued task: MongoError: Can't canonicalize query: BadValue bad sort specification","user":{"login":"SachaG","id":358832,"avatar_url":"https://avatars.githubusercontent.com/u/358832?v=3","gravatar_id":"","url":"https://api.github.com/users/SachaG","html_url":"https://github.com/SachaG","followers_url":"https://api.github.com/users/SachaG/followers","following_url":"https://api.github.com/users/SachaG/following{/other_user}","gists_url":"https://api.github.com/users/SachaG/gists{/gist_id}","starred_url":"https://api.github.com/users/SachaG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SachaG/subscriptions","organizations_url":"https://api.github.com/users/SachaG/orgs","repos_url":"https://api.github.com/users/SachaG/repos","events_url":"https://api.github.com/users/SachaG/events{/privacy}","received_events_url":"https://api.github.com/users/SachaG/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/meteor/meteor/labels/Project:Mongo%20Driver","name":"Project:Mongo Driver","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-01-04T02:00:52Z","updated_at":"2015-01-23T01:21:53Z","closed_at":"2015-01-23T01:21:53Z","body":"People have reported running into this error when using [Telescope](http://telesc.pe):\r\n\r\n- [Error while inserting new post or comment](http://meta.telesc.pe/posts/GZcQcP6iK8fjhCoqm)\r\n- [MongoError: Can't canonicalize query](https://github.com/TelescopeJS/Telescope/issues/534)\r\n- [Spinning gif of death](http://meta.telesc.pe/posts/3PTyWcNF9xykaBRd9)\r\n\r\nHere's the full trace from the first report:\r\n\r\n```\r\nException in queued task: MongoError: Can't canonicalize query: BadValue bad sort specific\r\nation \r\nat Object.Future.wait (bundle/programs/server/node_modules/fibers/future.js:326:15) \r\nat [object Object]._.extend._nextObject (packages/mongo/mongo_driver.js:885:1) \r\nat [object Object]._.extend.forEach (packages/mongo/mongo_driver.js:919:1) \r\nat [object Object]._.extend.getRawObjects (packages/mongo/mongo_driver.js:968:1) \r\nat [object Object]._.extend._pollMongo (packages/mongo/polling_observe_driver.js:144:1) \r\nat [object Object].proto._pollMongo (packages/meteorhacks:kadira/lib/hijack/wrap_observers.js:23:1) \r\nat Object.task (packages/mongo/polling_observe_driver.js:85:1) \r\nat [object Object]._.extend._run (packages/meteor/fiber_helpers.js:145:1) \r\nat packages/meteor/fiber_helpers.js:123:1 \r\nat Object.toError (bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/utils.js:110:11) \r\nat bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/cursor.js:686:54 \r\nat Cursor.close (bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/cursor.js:969:5) \r\nat commandHandler (bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/cursor.js:686:21) \r\nat bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/db.js:1843:9 \r\nat Server.Base._callHandler (bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/connection/base.js:445:41) \r\nat bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/connection/server.js:468:18 \r\nat [object Object].MongoReply.parseBody (bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5) \r\nat [object Object].<anonymous> (bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/connection/server.js:426:20) \r\nat [object Object].emit (events.js:95:17)\r\n```\r\n\r\nThat user stated that rebooting the server makes the error go away for a while, which would hint at some kind of performance or memory leak issue?"}}