{"action":"closed","issue":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/1946","repository_url":"https://api.github.com/repos/SeleniumHQ/selenium","labels_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/1946/labels{/name}","comments_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/1946/comments","events_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/1946/events","html_url":"https://github.com/SeleniumHQ/selenium/issues/1946","id":146910979,"number":1946,"title":"Exception in thread \"main\" org.openqa.selenium.UnsupportedCommandException:","user":{"login":"udayanem","id":10852370,"avatar_url":"https://avatars.githubusercontent.com/u/10852370?v=3","gravatar_id":"","url":"https://api.github.com/users/udayanem","html_url":"https://github.com/udayanem","followers_url":"https://api.github.com/users/udayanem/followers","following_url":"https://api.github.com/users/udayanem/following{/other_user}","gists_url":"https://api.github.com/users/udayanem/gists{/gist_id}","starred_url":"https://api.github.com/users/udayanem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udayanem/subscriptions","organizations_url":"https://api.github.com/users/udayanem/orgs","repos_url":"https://api.github.com/users/udayanem/repos","events_url":"https://api.github.com/users/udayanem/events{/privacy}","received_events_url":"https://api.github.com/users/udayanem/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-08T12:08:10Z","updated_at":"2016-04-08T17:50:11Z","closed_at":"2016-04-08T17:50:10Z","body":"## Meta -\r\nOS: Windows 7 32 bit\r\nSelenium Version: selenium-server-standalone-2.47.1.jar\r\nBrowser: Chrome / Firefox\r\nBrowser Version: 49\r\n\r\n## Expected Behavior -\r\nRunning the script in Hub and expecting the  script to be execute in node\r\n\r\n## Actual Behavior -\r\nGetting below exception:\r\nException in thread \"main\" org.openqa.selenium.UnsupportedCommandException: <html>\r\n<head>\r\n<title>Error 403 Forbidden for Proxy</title>\r\n</head>\r\n<body>\r\n<h2>HTTP ERROR: 403</h2><pre>Forbidden for Proxy</pre>\r\n<p>RequestURI=/session</p>\r\n<p><i><small><a href=\"http://jetty.mortbay.org\">Powered by Jetty://</a></small></i></p>\r\n                                                \r\n                                                \r\n                                                \r\n                                                \r\n                                                \r\n                                                \r\n                                                \r\n                                                \r\n                                                \r\n                                                \r\n                                                \r\n                                                \r\n                                                \r\n                                                \r\n                                                \r\n                                                \r\n                                                \r\n                                                \r\n                                                \r\n                                                \r\n</body>\r\n</html>\r\nCommand duration or timeout: 390 milliseconds\r\nBuild info: version: '2.47.1', revision: '411b314', time: '2015-07-30 03:03:16'\r\nSystem info: host: 'user-PC', ip: '192.168.2.2', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.8.0_45'\r\nDriver info: org.openqa.selenium.remote.RemoteWebDriver\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)\r\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)\r\n\tat java.lang.reflect.Constructor.newInstance(Unknown Source)\r\n\tat org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)\r\n\tat org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:595)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:242)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:128)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:155)\r\n\tat gridEx.main(gridEx.java:18)\r\n\r\n\r\n## Steps to reproduce -\r\nin command prompt started hub by specifying:\r\n**java -jar selenium-server-standalone-2.47.1.jar -role hub**\r\n\r\n```\r\n\r\nD:\\UD\\jars>java -jar selenium-server-standalone-2.47.1.jar -role hub\r\n16:25:25.386 INFO - Launching Selenium Grid hub\r\n2016-04-08 16:25:27.804:INFO:osjs.Server:jetty-7.x.y-SNAPSHOT\r\n2016-04-08 16:25:27.955:INFO:osjsh.ContextHandler:started o.s.j.s.ServletContext\r\nHandler{/,null}\r\n2016-04-08 16:25:28.014:INFO:osjs.AbstractConnector:Started SocketConnector@0.0.\r\n0.0:4444\r\n16:25:28.016 INFO - Nodes should register to http://192.168.2.2:4444/grid/regist\r\ner/\r\n16:25:28.018 INFO - Selenium Grid hub is up and running\r\n**16:31:12.162 INFO - Registered a node http://192.168.2.2:5557** this one is after registering node\r\n\r\n```\r\n\r\nFollowing is node launch in the same machine:\r\n```\r\nD:\\UD\\jars>java -jar selenium-server-standalone-2.47.1.jar -role webdriver -hub\r\nhttp://192.168.2.2:4444/grid/register/ -port 5557\r\n16:31:09.417 INFO - Launching a Selenium Grid node\r\n16:31:11.693 INFO - Java: Oracle Corporation 25.45-b02\r\n16:31:11.694 INFO - OS: Windows 7 6.1 x86\r\n16:31:11.707 INFO - v2.47.1, with Core v2.47.1. Built from revision 411b314\r\n16:31:11.841 INFO - Driver class not found: com.opera.core.systems.OperaDriver\r\n16:31:11.842 INFO - Driver provider com.opera.core.systems.OperaDriver is not re\r\ngistered\r\n16:31:12.011 INFO - Selenium Grid node is up and ready to register to the hub\r\n16:31:12.112 INFO - Starting auto registration thread. Will try to register ever\r\ny 5000 ms.\r\n16:31:12.112 INFO - Registering the node to the hub: http://192.168.2.2:4444/gri\r\nd/register\r\n16:31:12.163 INFO - The node is registered to the hub and ready to use\r\n```\r\n\r\nAfter that executed below code:\r\n```\r\nimport java.net.MalformedURLException;\r\nimport java.net.URL;\r\nimport org.openqa.selenium.Platform;\r\nimport org.openqa.selenium.remote.DesiredCapabilities;\r\nimport org.openqa.selenium.remote.RemoteWebDriver;\r\npublic class gridEx \r\n{\r\n\tstatic RemoteWebDriver driver;\r\n\tpublic static void main(String[] args) throws MalformedURLException \r\n\t{\r\n\t\tDesiredCapabilities caps=new DesiredCapabilities().chrome();\r\n\t\tcaps.setPlatform(Platform.VISTA);\r\n\t\tcaps.setBrowserName(\"chrome\");\r\n\t\t\r\n\t\tdriver=new RemoteWebDriver(new URL(\"http://192.168.2.2:5557\"),caps);\r\n\t\t\r\n\t\tdriver.get(\"http://www.google.com\");\r\n\t\tdriver.findElementByName(\"q\").sendKeys(\"Hello world\");\r\n\t\tdriver.quit();\r\n\t}\r\n}\r\n```\r\nGetting below exception:\r\n```\r\nException in thread \"main\" org.openqa.selenium.UnsupportedCommandException: <html>\r\n<head>\r\n<title>Error 403 Forbidden for Proxy</title>\r\n</head>\r\n<body>\r\n<h2>HTTP ERROR: 403</h2><pre>Forbidden for Proxy</pre>\r\n<p>RequestURI=/session</p>\r\n<p><i><small><a href=\"http://jetty.mortbay.org\">Powered by Jetty://</a></small></i></p>\r\n                          \r\n</body>\r\n</html>\r\nCommand duration or timeout: 390 milliseconds\r\nBuild info: version: '2.47.1', revision: '411b314', time: '2015-07-30 03:03:16'\r\nSystem info: host: 'user-PC', ip: '192.168.2.2', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.8.0_45'\r\nDriver info: org.openqa.selenium.remote.RemoteWebDriver\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)\r\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)\r\n\tat java.lang.reflect.Constructor.newInstance(Unknown Source)\r\n\tat org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)\r\n\tat org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:595)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:242)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:128)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:155)\r\n\tat gridEx.main(gridEx.java:18)\r\n\r\n```"}}