{"action":"closed","issue":{"url":"https://api.github.com/repos/NodeBB/NodeBB/issues/6049","repository_url":"https://api.github.com/repos/NodeBB/NodeBB","labels_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/6049/labels{/name}","comments_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/6049/comments","events_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/6049/events","html_url":"https://github.com/NodeBB/NodeBB/issues/6049","id":272207506,"number":6049,"title":"TypeError: Cannot read property 'writeQueueSize' of null","user":{"login":"Marcel2508","id":14896420,"avatar_url":"https://avatars1.githubusercontent.com/u/14896420?v=4","gravatar_id":"","url":"https://api.github.com/users/Marcel2508","html_url":"https://github.com/Marcel2508","followers_url":"https://api.github.com/users/Marcel2508/followers","following_url":"https://api.github.com/users/Marcel2508/following{/other_user}","gists_url":"https://api.github.com/users/Marcel2508/gists{/gist_id}","starred_url":"https://api.github.com/users/Marcel2508/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marcel2508/subscriptions","organizations_url":"https://api.github.com/users/Marcel2508/orgs","repos_url":"https://api.github.com/users/Marcel2508/repos","events_url":"https://api.github.com/users/Marcel2508/events{/privacy}","received_events_url":"https://api.github.com/users/Marcel2508/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-11-08T13:58:18Z","updated_at":"2017-11-08T17:44:41Z","closed_at":"2017-11-08T17:44:41Z","author_association":"NONE","body":"<!-- \r\n\t== Github Issues are for bug reports and feature requests only ==\r\n\t== Please visit https://community.nodebb.org for other support ==\r\n\t== Found a security exploit? Please email us at security@nodebb.org instead for immediate attention ==\r\n-->\r\n\r\n<!-- ++ Please include the following information when submitting a bug report ++ -->\r\n\r\n- **NodeBB version:** 1.6.1 \r\n- **NodeBB git hash:** #1dbd038aef9ef5c5ffce78eaa9594ca2231a1dbf\r\n<!-- (to find your git hash, execute `git rev-parse HEAD` from the main NodeBB directory) -->\r\n- **Database type:** mongo\r\n- **Database version:** db version v3.2.17\r\n- **Nginx:** nginx version: nginx/1.10.3 (Ubuntu)\r\n- **Node:** v8.8.0\r\n<!-- `mongod --version` or `redis-server --version` -->\r\n- **Exact steps to cause this issue:**\r\n<!--\r\n\t1. First I did this...\r\n\t2. Then, I clicked on this item...\r\n-->\r\nThe server randomly crashes with the following error code:\r\n```\r\n7/11 05:47:50 [12264] - \u001B[32minfo\u001B[39m: Initializing NodeBB v1.6.1 http://xxx.xxx.xx\r\n7/11 05:48:20 [12264] - \u001B[32minfo\u001B[39m: [socket.io] Restricting access to origin: *:*\r\n7/11 05:48:23 [12264] - \u001B[32minfo\u001B[39m: [plugins/anti-spam-question] Settings loaded\r\n7/11 05:48:23 [12264] - \u001B[32minfo\u001B[39m: Routes added\r\n7/11 05:48:23 [12264] - \u001B[32minfo\u001B[39m: NodeBB Ready\r\n7/11 05:48:23 [12264] - \u001B[32minfo\u001B[39m: Enabling 'trust proxy'\r\n7/11 05:48:23 [12264] - \u001B[32minfo\u001B[39m: NodeBB is now listening on: 0.0.0.0:xxxx\r\n7/11 17:00:00 [12264] - \u001B[32minfo\u001B[39m: [user/jobs] Did not send digests (day) because subscription system is disabled.\r\n7/11 22:17:35 [12264] - \u001B[31merror\u001B[39m:  TypeError: Cannot read property 'writeQueueSize' of null\r\n    at Socket._onTimeout (net.js:401:43)\r\n    at ontimeout (timers.js:471:11)\r\n    at tryOnTimeout (timers.js:306:5)\r\n    at Timer.listOnTimeout (timers.js:266:5)\r\n7/11 22:17:35 [12264] - \u001B[32minfo\u001B[39m: [app] Shutdown (SIGTERM/SIGINT) Initialised.\r\n7/11 22:17:35 [12264] - \u001B[32minfo\u001B[39m: [app] Database connection closed.\r\n7/11 22:17:35 [12264] - \u001B[32minfo\u001B[39m: [app] Web server closed to connections.\r\n7/11 22:17:35 [12264] - \u001B[32minfo\u001B[39m: [app] Shutdown complete.\r\n[cluster] Child Process (12264) has exited (code: 1, signal: null)\r\n[cluster] Spinning up another process...\r\n7/11 22:17:44 [15675] - \u001B[32minfo\u001B[39m: Initializing NodeBB v1.6.1 http://xxx.xxx.xx\r\n7/11 22:18:02 [15675] - \u001B[32minfo\u001B[39m: [socket.io] Restricting access to origin: *:*\r\n7/11 22:18:05 [15675] - \u001B[32minfo\u001B[39m: [plugins/anti-spam-question] Settings loaded\r\n7/11 22:18:05 [15675] - \u001B[32minfo\u001B[39m: Routes added\r\n7/11 22:18:05 [15675] - \u001B[32minfo\u001B[39m: NodeBB Ready\r\n7/11 22:18:05 [15675] - \u001B[32minfo\u001B[39m: Enabling 'trust proxy'\r\n7/11 22:18:05 [15675] - \u001B[32minfo\u001B[39m: NodeBB is now listening on: 0.0.0.0:xxxx\r\n8/11 06:59:17 [15675] - \u001B[31merror\u001B[39m:  TypeError: Cannot read property 'writeQueueSize' of null\r\n[EOF - till restart]\r\n```\r\nThe last line, is the Last Line, logged. The Server process, and the nodebb process both crashed.\r\nThats the reason, why not auto-restart is happening.\r\n\r\nI dont know whats causing this issue, and what I can do against it.\r\n\r\n<!--- **What you expected:**-->\r\n<!-- e.g. I expected *abc* to *xyz* -->\r\n<!--- **What happened instead:** -->\r\n<!-- e.g. Instead, I got *zyx* and NodeBB set fire to my house -->\r\n\r\n<!-- Thank you! -->\r\nThanks for your support. I hope this issue was not already mentioned"}}
{"actor":{"display_login":"Marcel2508"}}