{"action":"created","issue":{"url":"https://api.github.com/repos/appium/ruby_lib/issues/802","repository_url":"https://api.github.com/repos/appium/ruby_lib","labels_url":"https://api.github.com/repos/appium/ruby_lib/issues/802/labels{/name}","comments_url":"https://api.github.com/repos/appium/ruby_lib/issues/802/comments","events_url":"https://api.github.com/repos/appium/ruby_lib/issues/802/events","html_url":"https://github.com/appium/ruby_lib/issues/802","id":340737549,"node_id":"MDU6SXNzdWUzNDA3Mzc1NDk=","number":802,"title":"window_size is broken","user":{"login":"rajdeepv","id":2597001,"node_id":"MDQ6VXNlcjI1OTcwMDE=","avatar_url":"https://avatars0.githubusercontent.com/u/2597001?v=4","gravatar_id":"","url":"https://api.github.com/users/rajdeepv","html_url":"https://github.com/rajdeepv","followers_url":"https://api.github.com/users/rajdeepv/followers","following_url":"https://api.github.com/users/rajdeepv/following{/other_user}","gists_url":"https://api.github.com/users/rajdeepv/gists{/gist_id}","starred_url":"https://api.github.com/users/rajdeepv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajdeepv/subscriptions","organizations_url":"https://api.github.com/users/rajdeepv/orgs","repos_url":"https://api.github.com/users/rajdeepv/repos","events_url":"https://api.github.com/users/rajdeepv/events{/privacy}","received_events_url":"https://api.github.com/users/rajdeepv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-07-12T17:53:10Z","updated_at":"2018-07-15T19:34:14Z","closed_at":null,"author_association":"NONE","body":"## This is a\r\n* [x] Bug report\r\n* [ ] Question\r\n* [ ] Freature Request\r\n\r\n## Summary\r\nI was trying to upgrade ruby client from '9.6.1' to '9.14.3' and observed that driver.window_size does not work. \r\n\r\nReason: \r\nThe uiautomator2 server handles wd/hub/session/session_id/window/current/size but the client is making call to /wd/hub/session/session_id/window/rect\r\n\r\n## Environment\r\n* Appium version (or git revision): 1.6.5\r\n* `ruby_lib` version: 9.14.3\r\n* Mobile platform/version/device under test: Android\r\n\r\n## Actual behaviour and steps to reproduce\r\n\r\nselenium_webdriver gem version '3.5.2'\r\n$driver.window_size gives error mentioned in below logs\r\n\r\n## Expected behaviour\r\n\r\n## Link to Appium/Ruby logs\r\n\r\n```\r\n2018-07-12 17:05:12:714 - [debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/fd2480c7-a273-4bf8-ad6e-d5d7d2d59c26/window/rect] to [GET http://localhost:36000/wd/hub/session/d3fe8436-a64a-43d4-b450-902060144a16/window/rect] with body: {}\r\n2018-07-12 17:05:12:726 - [MJSONWP] Encountered internal error running command: Error: Could not proxy. Proxy error: Could not proxy command to remote server. Original error: 404 - \"\"\r\n    at doJwpProxy$ (../../../lib/mjsonwp/mjsonwp.js:408:13)\r\n    at tryCatch (/Users/rajdeepvarma/bma-calabash/bumble/node_modules/babel-runtime/regenerator/runtime.js:67:40)\r\n    at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/rajdeepvarma/bma-calabash/bumble/node_modules/babel-runtime/regenerator/runtime.js:315:22)\r\n    at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Users/rajdeepvarma/bma-calabash/bumble/node_modules/babel-runtime/regenerator/runtime.js:100:21)\r\n    at GeneratorFunctionPrototype.invoke (/Users/rajdeepvarma/bma-calabash/bumble/node_modules/babel-runtime/regenerator/runtime.js:136:37)\r\n    at <anonymous>\r\n2018-07-12 17:05:12:727 - [HTTP] <-- GET /wd/hub/session/fd2480c7-a273-4bf8-ad6e-d5d7d2d59c26/window/rect 500 14 ms - 180\r\n```\r\nCreate a [GIST](https://gist.github.com) which is a paste of your _full_ Appium logs, and link them here. \r\n\r\n## Any additional comments\r\n"},"comment":{"url":"https://api.github.com/repos/appium/ruby_lib/issues/comments/405112811","html_url":"https://github.com/appium/ruby_lib/issues/802#issuecomment-405112811","issue_url":"https://api.github.com/repos/appium/ruby_lib/issues/802","id":405112811,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTExMjgxMQ==","user":{"login":"mykola-mokhnach","id":7767781,"node_id":"MDQ6VXNlcjc3Njc3ODE=","avatar_url":"https://avatars1.githubusercontent.com/u/7767781?v=4","gravatar_id":"","url":"https://api.github.com/users/mykola-mokhnach","html_url":"https://github.com/mykola-mokhnach","followers_url":"https://api.github.com/users/mykola-mokhnach/followers","following_url":"https://api.github.com/users/mykola-mokhnach/following{/other_user}","gists_url":"https://api.github.com/users/mykola-mokhnach/gists{/gist_id}","starred_url":"https://api.github.com/users/mykola-mokhnach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mykola-mokhnach/subscriptions","organizations_url":"https://api.github.com/users/mykola-mokhnach/orgs","repos_url":"https://api.github.com/users/mykola-mokhnach/repos","events_url":"https://api.github.com/users/mykola-mokhnach/events{/privacy}","received_events_url":"https://api.github.com/users/mykola-mokhnach/received_events","type":"User","site_admin":false},"created_at":"2018-07-15T19:34:14Z","updated_at":"2018-07-15T19:34:14Z","author_association":"NONE","body":"@rajdeepv Protocol translation happens in https://github.com/appium/appium-base-driver"}}
{"actor":{"display_login":"mykola-mokhnach"}}