{"action":"created","issue":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/1516","labels_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/1516/labels{/name}","comments_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/1516/comments","events_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/1516/events","html_url":"https://github.com/SeleniumHQ/selenium/issues/1516","id":127864546,"number":1516,"title":"exception thrown when running tests with no nodes registered on hub","user":{"login":"scarby","id":7352791,"avatar_url":"https://avatars.githubusercontent.com/u/7352791?v=3","gravatar_id":"","url":"https://api.github.com/users/scarby","html_url":"https://github.com/scarby","followers_url":"https://api.github.com/users/scarby/followers","following_url":"https://api.github.com/users/scarby/following{/other_user}","gists_url":"https://api.github.com/users/scarby/gists{/gist_id}","starred_url":"https://api.github.com/users/scarby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scarby/subscriptions","organizations_url":"https://api.github.com/users/scarby/orgs","repos_url":"https://api.github.com/users/scarby/repos","events_url":"https://api.github.com/users/scarby/events{/privacy}","received_events_url":"https://api.github.com/users/scarby/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-21T07:42:31Z","updated_at":"2016-01-21T07:56:18Z","closed_at":null,"body":"So as a little background we have a selenium grid provisioned in AWS which autoscales based upon the following metric:\r\n\r\n{\"configuration\":[\"newSessionRequestCount\"]}\r\n\r\nso essentially the number of session requests which have not been allocated to a webdriver for execution. However - due to cost saving (we have no work happening for 12 hours a day) i attempted to take the minimum size of our selenium grid to 0 (and there are no nodes attached to the hub) - however when doing so i get the following error:\r\n\r\nUnknownError: Error forwarding the new session Empty pool of VM for setup Capabilities [{count=1, browserName=chrome}]\r\nat new bot.Error (node_modules\\protractor\\node_modules\\sel\r\nenium-webdriver\\lib\\atoms\\error.js:109:18)\r\nat Object.bot.response.checkResponse (node_modules\\protrac\r\ntor\\node_modules\\selenium-webdriver\\lib\\atoms\\response.js:106:9)\r\n\r\nI'm wondering if there is a way of toggling this error or statically defining capabilities so that when new session requests come in they are queued by the hub (as they would if the grid was oversubscribed), This would trigger some selenium nodes to appear in the grid"},"comment":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/comments/173487660","html_url":"https://github.com/SeleniumHQ/selenium/issues/1516#issuecomment-173487660","issue_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/1516","id":173487660,"user":{"login":"scarby","id":7352791,"avatar_url":"https://avatars.githubusercontent.com/u/7352791?v=3","gravatar_id":"","url":"https://api.github.com/users/scarby","html_url":"https://github.com/scarby","followers_url":"https://api.github.com/users/scarby/followers","following_url":"https://api.github.com/users/scarby/following{/other_user}","gists_url":"https://api.github.com/users/scarby/gists{/gist_id}","starred_url":"https://api.github.com/users/scarby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scarby/subscriptions","organizations_url":"https://api.github.com/users/scarby/orgs","repos_url":"https://api.github.com/users/scarby/repos","events_url":"https://api.github.com/users/scarby/events{/privacy}","received_events_url":"https://api.github.com/users/scarby/received_events","type":"User","site_admin":false},"created_at":"2016-01-21T07:56:18Z","updated_at":"2016-01-21T07:56:18Z","body":"so it seems it already is togglable using:"}}