{"action":"created","issue":{"url":"https://api.github.com/repos/DarkXaHTeP/vk-auth/issues/9","repository_url":"https://api.github.com/repos/DarkXaHTeP/vk-auth","labels_url":"https://api.github.com/repos/DarkXaHTeP/vk-auth/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/DarkXaHTeP/vk-auth/issues/9/comments","events_url":"https://api.github.com/repos/DarkXaHTeP/vk-auth/issues/9/events","html_url":"https://github.com/DarkXaHTeP/vk-auth/issues/9","id":137179174,"number":9,"title":"Request timeout error","user":{"login":"voskobovich","id":4508703,"avatar_url":"https://avatars.githubusercontent.com/u/4508703?v=3","gravatar_id":"","url":"https://api.github.com/users/voskobovich","html_url":"https://github.com/voskobovich","followers_url":"https://api.github.com/users/voskobovich/followers","following_url":"https://api.github.com/users/voskobovich/following{/other_user}","gists_url":"https://api.github.com/users/voskobovich/gists{/gist_id}","starred_url":"https://api.github.com/users/voskobovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voskobovich/subscriptions","organizations_url":"https://api.github.com/users/voskobovich/orgs","repos_url":"https://api.github.com/users/voskobovich/repos","events_url":"https://api.github.com/users/voskobovich/events{/privacy}","received_events_url":"https://api.github.com/users/voskobovich/received_events","type":"User","site_admin":false},"labels":[{"id":221545649,"url":"https://api.github.com/repos/DarkXaHTeP/vk-auth/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"DarkXaHTeP","id":3390609,"avatar_url":"https://avatars.githubusercontent.com/u/3390609?v=3","gravatar_id":"","url":"https://api.github.com/users/DarkXaHTeP","html_url":"https://github.com/DarkXaHTeP","followers_url":"https://api.github.com/users/DarkXaHTeP/followers","following_url":"https://api.github.com/users/DarkXaHTeP/following{/other_user}","gists_url":"https://api.github.com/users/DarkXaHTeP/gists{/gist_id}","starred_url":"https://api.github.com/users/DarkXaHTeP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarkXaHTeP/subscriptions","organizations_url":"https://api.github.com/users/DarkXaHTeP/orgs","repos_url":"https://api.github.com/users/DarkXaHTeP/repos","events_url":"https://api.github.com/users/DarkXaHTeP/events{/privacy}","received_events_url":"https://api.github.com/users/DarkXaHTeP/received_events","type":"User","site_admin":false},"assignees":[{"login":"DarkXaHTeP","id":3390609,"avatar_url":"https://avatars.githubusercontent.com/u/3390609?v=3","gravatar_id":"","url":"https://api.github.com/users/DarkXaHTeP","html_url":"https://github.com/DarkXaHTeP","followers_url":"https://api.github.com/users/DarkXaHTeP/followers","following_url":"https://api.github.com/users/DarkXaHTeP/following{/other_user}","gists_url":"https://api.github.com/users/DarkXaHTeP/gists{/gist_id}","starred_url":"https://api.github.com/users/DarkXaHTeP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarkXaHTeP/subscriptions","organizations_url":"https://api.github.com/users/DarkXaHTeP/orgs","repos_url":"https://api.github.com/users/DarkXaHTeP/repos","events_url":"https://api.github.com/users/DarkXaHTeP/events{/privacy}","received_events_url":"https://api.github.com/users/DarkXaHTeP/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2016-02-29T08:01:57Z","updated_at":"2016-12-12T17:30:53Z","closed_at":"2016-12-12T11:48:00Z","body":"Запускаю скрипт и через 3-4 секунды вываливается ошибка\n\n```\n[Error: Request timeout error]\n```\n\nВот мой файл vk.js\n\n```\nvar vkAuth = require('vk-auth')(5324751, 'audio');\n\nvkAuth.authorize('+38XXXXXXXXXX', '*********');\n\nvkAuth.on('error', function(err) {\n    console.log(err);\n});\n\nvkAuth.on('auth', function(tokenParams) {\n    console.log(tokenParams);\n    //do something with token parameters\n})\n```\n\nЗапускаю так \n\n```\n$ node vk.js\n```\n"},"comment":{"url":"https://api.github.com/repos/DarkXaHTeP/vk-auth/issues/comments/266495359","html_url":"https://github.com/DarkXaHTeP/vk-auth/issues/9#issuecomment-266495359","issue_url":"https://api.github.com/repos/DarkXaHTeP/vk-auth/issues/9","id":266495359,"user":{"login":"peschanko","id":24511539,"avatar_url":"https://avatars.githubusercontent.com/u/24511539?v=3","gravatar_id":"","url":"https://api.github.com/users/peschanko","html_url":"https://github.com/peschanko","followers_url":"https://api.github.com/users/peschanko/followers","following_url":"https://api.github.com/users/peschanko/following{/other_user}","gists_url":"https://api.github.com/users/peschanko/gists{/gist_id}","starred_url":"https://api.github.com/users/peschanko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peschanko/subscriptions","organizations_url":"https://api.github.com/users/peschanko/orgs","repos_url":"https://api.github.com/users/peschanko/repos","events_url":"https://api.github.com/users/peschanko/events{/privacy}","received_events_url":"https://api.github.com/users/peschanko/received_events","type":"User","site_admin":false},"created_at":"2016-12-12T17:30:53Z","updated_at":"2016-12-12T17:30:53Z","body":"Спасибо за быстрый ответ. У себя я обнаржил, что успешно access token возвращается только в случае\r\n`var vkAuth = require('vk-auth')(appid, 'friends');`\r\nВ других случаях (например, если запросить доступ `wall` или `friends,wall` или `6`) выдается ошибка `[Error: Request timeout error]`. Не знаю, в чем причина, но до этого мой код работал и с параметром `140492191` (сумма всех прав доступа)."}}
{"actor":{"display_login":"peschanko"}}