{"action":"created","issue":{"url":"https://api.github.com/repos/LearningLocker/learninglocker/issues/814","repository_url":"https://api.github.com/repos/LearningLocker/learninglocker","labels_url":"https://api.github.com/repos/LearningLocker/learninglocker/issues/814/labels{/name}","comments_url":"https://api.github.com/repos/LearningLocker/learninglocker/issues/814/comments","events_url":"https://api.github.com/repos/LearningLocker/learninglocker/issues/814/events","html_url":"https://github.com/LearningLocker/learninglocker/issues/814","id":154975839,"number":814,"title":"MongoCursorTimeoutException (80)","user":{"login":"ngarafol","id":4736712,"avatar_url":"https://avatars.githubusercontent.com/u/4736712?v=3","gravatar_id":"","url":"https://api.github.com/users/ngarafol","html_url":"https://github.com/ngarafol","followers_url":"https://api.github.com/users/ngarafol/followers","following_url":"https://api.github.com/users/ngarafol/following{/other_user}","gists_url":"https://api.github.com/users/ngarafol/gists{/gist_id}","starred_url":"https://api.github.com/users/ngarafol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngarafol/subscriptions","organizations_url":"https://api.github.com/users/ngarafol/orgs","repos_url":"https://api.github.com/users/ngarafol/repos","events_url":"https://api.github.com/users/ngarafol/events{/privacy}","received_events_url":"https://api.github.com/users/ngarafol/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/LearningLocker/learninglocker/labels/priority:low","name":"priority:low","color":"009800"},{"url":"https://api.github.com/repos/LearningLocker/learninglocker/labels/status:unconfirmed","name":"status:unconfirmed","color":"eb6420"},{"url":"https://api.github.com/repos/LearningLocker/learninglocker/labels/type:bug","name":"type:bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":{"login":"ryansmith94","id":3045513,"avatar_url":"https://avatars.githubusercontent.com/u/3045513?v=3","gravatar_id":"","url":"https://api.github.com/users/ryansmith94","html_url":"https://github.com/ryansmith94","followers_url":"https://api.github.com/users/ryansmith94/followers","following_url":"https://api.github.com/users/ryansmith94/following{/other_user}","gists_url":"https://api.github.com/users/ryansmith94/gists{/gist_id}","starred_url":"https://api.github.com/users/ryansmith94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryansmith94/subscriptions","organizations_url":"https://api.github.com/users/ryansmith94/orgs","repos_url":"https://api.github.com/users/ryansmith94/repos","events_url":"https://api.github.com/users/ryansmith94/events{/privacy}","received_events_url":"https://api.github.com/users/ryansmith94/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/LearningLocker/learninglocker/milestones/49","html_url":"https://github.com/LearningLocker/learninglocker/milestones/v1.12.2","labels_url":"https://api.github.com/repos/LearningLocker/learninglocker/milestones/49/labels","id":1599976,"number":49,"title":"v1.12.2","description":"","creator":{"login":"ht2","id":1352590,"avatar_url":"https://avatars.githubusercontent.com/u/1352590?v=3","gravatar_id":"","url":"https://api.github.com/users/ht2","html_url":"https://github.com/ht2","followers_url":"https://api.github.com/users/ht2/followers","following_url":"https://api.github.com/users/ht2/following{/other_user}","gists_url":"https://api.github.com/users/ht2/gists{/gist_id}","starred_url":"https://api.github.com/users/ht2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ht2/subscriptions","organizations_url":"https://api.github.com/users/ht2/orgs","repos_url":"https://api.github.com/users/ht2/repos","events_url":"https://api.github.com/users/ht2/events{/privacy}","received_events_url":"https://api.github.com/users/ht2/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":14,"state":"open","created_at":"2016-02-23T15:26:28Z","updated_at":"2016-05-18T15:54:52Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2016-05-16T07:28:50Z","updated_at":"2016-05-20T08:39:40Z","closed_at":"2016-05-18T11:13:50Z","body":"Dont know if this is duplicate of #764 or not :)\r\n\r\n**Version**\r\nmaster at 627be8f on 1.12.1 \r\n\r\n**Steps to reproduce the bug**\r\n1. Login to learning locker URL\r\n\r\n\r\n**Expected behaviour**\r\nUser should login in administration dashboard\r\n\r\n**Actual behaviour**\r\nUser is presented with MongoCursorTimeoutException error. \r\n\r\nlocalhost:27017: Read timed out after reading 0 bytes, waited for 30.000000 seconds\r\n\r\n**Additional information**\r\nOS: Debian 8 x64\r\nBrowser: Chromium Version 50.0.2661.94 (64-bit)\r\nMongoDB version 3.2\r\nphp5-mongo module version 1.5.7\r\nMongo database seems to work, background task emitting records from moodle log to LRS seems to work. \r\n\r\nStacktrace:\r\n\r\n28. MongoCursorTimeoutException\r\n…/­vendor/­jenssegers/­mongodb/­src/­Jenssegers/­Mongodb/­Query/­Builder.php262\r\n27. MongoCursor rewind\r\n<#unknown>0\r\n26. iterator_to_array\r\n…/­vendor/­jenssegers/­mongodb/­src/­Jenssegers/­Mongodb/­Query/­Builder.php262\r\n25. Jenssegers\\Mongodb\\Query\\Builder getFresh\r\n…/­vendor/­laravel/­framework/­src/­Illuminate/­Database/­Query/­Builder.php1384\r\n24. Illuminate\\Database\\Query\\Builder get\r\n…/­vendor/­jenssegers/­mongodb/­src/­Jenssegers/­Mongodb/­Query/­Builder.php126\r\n23. Jenssegers\\Mongodb\\Query\\Builder get\r\n…/­vendor/­laravel/­framework/­src/­Illuminate/­Database/­Query/­Builder.php1369\r\n22. Illuminate\\Database\\Query\\Builder first\r\n…/­app/­locker/­data/­dashboards/­BaseDashboard.php59\r\n21. app\\locker\\data\\dashboards\\BaseDashboard statementDays\r\n…/­app/­locker/­data/­dashboards/­BaseDashboard.php84\r\n20. app\\locker\\data\\dashboards\\BaseDashboard statementAvgCount\r\n…/­app/­locker/­data/­dashboards/­BaseDashboard.php23\r\n19. app\\locker\\data\\dashboards\\BaseDashboard getStats\r\n…/­app/­locker/­data/­dashboards/­AdminDashboard.php17\r\n18. app\\locker\\data\\dashboards\\AdminDashboard getFullStats\r\n…/­app/­controllers/­SiteController.php40\r\n17. SiteController index\r\n<#unknown>0\r\n16. call_user_func_array\r\n…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Controller.php231\r\n15. Illuminate\\Routing\\Controller callAction\r\n…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­ControllerDispatcher.php93\r\n14. Illuminate\\Routing\\ControllerDispatcher call\r\n…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­ControllerDispatcher.php62\r\n13. Illuminate\\Routing\\ControllerDispatcher dispatch\r\n…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php967\r\n12. Illuminate\\Routing\\Router Illuminate\\Routing\\{closure}\r\n<#unknown>0\r\n11. call_user_func_array\r\n…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Route.php109\r\n10. Illuminate\\Routing\\Route run\r\n…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php1033\r\n9. Illuminate\\Routing\\Router dispatchToRoute\r\n…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php1001\r\n8. Illuminate\\Routing\\Router dispatch\r\n…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php775\r\n7. Illuminate\\Foundation\\Application dispatch\r\n…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php745\r\n6. Illuminate\\Foundation\\Application handle\r\n…/­vendor/­itsgoingd/­clockwork/­Clockwork/­Support/­Laravel/­ClockworkLegacyMiddleware.php20\r\n5. Clockwork\\Support\\Laravel\\ClockworkLegacyMiddleware handle\r\n…/­vendor/­laravel/­framework/­src/­Illuminate/­Session/­Middleware.php72\r\n4. Illuminate\\Session\\Middleware handle\r\n…/­vendor/­laravel/­framework/­src/­Illuminate/­Cookie/­Queue.php47\r\n3. Illuminate\\Cookie\\Queue handle\r\n…/­vendor/­laravel/­framework/­src/­Illuminate/­Cookie/­Guard.php51\r\n2. Illuminate\\Cookie\\Guard handle\r\n…/­vendor/­stack/­builder/­src/­Stack/­StackedHttpKernel.php23\r\n1. Stack\\StackedHttpKernel handle\r\n…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php641\r\n0. Illuminate\\Foundation\\Application run\r\n…/­public/­index.php49\r\n"},"comment":{"url":"https://api.github.com/repos/LearningLocker/learninglocker/issues/comments/220548704","html_url":"https://github.com/LearningLocker/learninglocker/issues/814#issuecomment-220548704","issue_url":"https://api.github.com/repos/LearningLocker/learninglocker/issues/814","id":220548704,"user":{"login":"ngarafol","id":4736712,"avatar_url":"https://avatars.githubusercontent.com/u/4736712?v=3","gravatar_id":"","url":"https://api.github.com/users/ngarafol","html_url":"https://github.com/ngarafol","followers_url":"https://api.github.com/users/ngarafol/followers","following_url":"https://api.github.com/users/ngarafol/following{/other_user}","gists_url":"https://api.github.com/users/ngarafol/gists{/gist_id}","starred_url":"https://api.github.com/users/ngarafol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngarafol/subscriptions","organizations_url":"https://api.github.com/users/ngarafol/orgs","repos_url":"https://api.github.com/users/ngarafol/repos","events_url":"https://api.github.com/users/ngarafol/events{/privacy}","received_events_url":"https://api.github.com/users/ngarafol/received_events","type":"User","site_admin":false},"created_at":"2016-05-20T08:39:40Z","updated_at":"2016-05-20T08:39:40Z","body":"This is only thing that shows in developer tools: Status: 500 Error: localhost:27017: Read timed out after reading 0 bytes, waited for 30.000000 seconds{\"error\":{\"type\":\"MongoCursorTimeoutException\",\"message\":\"localhost:27017: Read timed out after reading 0 bytes, waited for 30.000000 seconds\",\"file\":\"\\/var\\/www\\/learninglocker\\/vendor\\/jenssegers\\/mongodb\\/src\\/Jenssegers\\/Mongodb\\/Collection.php\",\"line\":59}}"}}
{"actor":{"display_login":"ngarafol"}}