{"action":"created","issue":{"url":"https://api.github.com/repos/sterodium/selenium-grid-extensions/issues/36","labels_url":"https://api.github.com/repos/sterodium/selenium-grid-extensions/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/sterodium/selenium-grid-extensions/issues/36/comments","events_url":"https://api.github.com/repos/sterodium/selenium-grid-extensions/issues/36/events","html_url":"https://github.com/sterodium/selenium-grid-extensions/issues/36","id":117062323,"number":36,"title":"Unable to upload resource for remote Sikuli test","user":{"login":"bradmunz79","id":14923977,"avatar_url":"https://avatars.githubusercontent.com/u/14923977?v=3","gravatar_id":"","url":"https://api.github.com/users/bradmunz79","html_url":"https://github.com/bradmunz79","followers_url":"https://api.github.com/users/bradmunz79/followers","following_url":"https://api.github.com/users/bradmunz79/following{/other_user}","gists_url":"https://api.github.com/users/bradmunz79/gists{/gist_id}","starred_url":"https://api.github.com/users/bradmunz79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradmunz79/subscriptions","organizations_url":"https://api.github.com/users/bradmunz79/orgs","repos_url":"https://api.github.com/users/bradmunz79/repos","events_url":"https://api.github.com/users/bradmunz79/events{/privacy}","received_events_url":"https://api.github.com/users/bradmunz79/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-16T06:33:51Z","updated_at":"2015-11-16T09:42:16Z","closed_at":null,"body":"Hi there,\r\n\r\nI've been following your instructions for remote Sikuli testing but get a HTTP 403 error from the Selenium hub when trying to upload a resource bundle (the bundle is in the classpath). Here is the exception from selenium:\r\n\r\nio.sterodium.extensions.client.upload.ResourceUploadException: Resource upload returned status 403 with message: <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=/extra/FileUploadServlet</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\n\r\n        at io.sterodium.extensions.client.upload.ResourceUploadRequest.upload(ResourceUploadRequest.java:62)\r\n        at io.sterodium.extensions.client.FileExtensionClient.upload(FileExtensionClient.java:45)\r\n        at io.sterodium.extensions.client.SikuliExtensionClient.uploadResourceBundle(SikuliExtensionClient.java:55)\r\n\r\n\r\nThe actually hub logging shows the following:\r\n\r\n**08:13:14.141 INFO - Forwarding request with path: /session/3404d4fe-c9c8-4c6e-85\r\n3b-da3a3412e598/FileUploadServlet\r\n08:13:14.141 INFO - Retrieving remote host for session: 3404d4fe-c9c8-4c6e-853b-\r\nda3a3412e598\r\n08:13:14.141 INFO - Remote host retrieved: 192.168.133.129:5555\r\n08:13:14.144 INFO - Creating POST request to forward\r\n08:13:14.144 INFO - Trimming session id from path, new path: http://192.168.133.\r\n129:5555/extra/FileUploadServlet\r\n08:13:14.150 INFO - Response from extension returned 403 status code\r\n08:13:14.150 INFO - Response from extension returned text/html content type\r\n08:13:14.150 INFO - Response from extension has 1256 content length\r\n08:13:14.150 INFO - Copying body content to original servlet response**\r\n\r\n\r\nI'm using the following versions:\r\nsikuli-extension-client: 0.5\r\nselenium-server-standalone: 2.48.2\r\nextension-proxy: 0.5\r\nall-node-extensions:0.5\r\n\r\nAny assistance will be greatly appreciated. \r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sterodium/selenium-grid-extensions/issues/comments/156971132","html_url":"https://github.com/sterodium/selenium-grid-extensions/issues/36#issuecomment-156971132","issue_url":"https://api.github.com/repos/sterodium/selenium-grid-extensions/issues/36","id":156971132,"user":{"login":"clay227","id":4103250,"avatar_url":"https://avatars.githubusercontent.com/u/4103250?v=3","gravatar_id":"","url":"https://api.github.com/users/clay227","html_url":"https://github.com/clay227","followers_url":"https://api.github.com/users/clay227/followers","following_url":"https://api.github.com/users/clay227/following{/other_user}","gists_url":"https://api.github.com/users/clay227/gists{/gist_id}","starred_url":"https://api.github.com/users/clay227/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clay227/subscriptions","organizations_url":"https://api.github.com/users/clay227/orgs","repos_url":"https://api.github.com/users/clay227/repos","events_url":"https://api.github.com/users/clay227/events{/privacy}","received_events_url":"https://api.github.com/users/clay227/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T09:42:16Z","updated_at":"2015-11-16T09:42:16Z","body":"try adding this to your batch after the -role node part -\r\n-servlets io.sterodium.extensions.node.SikuliExtensionServlet,io.sterodium.extensions.node.upload.FileUploadServlet,io.sterodium.extensions.node.download.Fil\r\neDownloadServlet"}}