{"action":"created","issue":{"url":"https://api.github.com/repos/square/retrofit/issues/2083","repository_url":"https://api.github.com/repos/square/retrofit","labels_url":"https://api.github.com/repos/square/retrofit/issues/2083/labels{/name}","comments_url":"https://api.github.com/repos/square/retrofit/issues/2083/comments","events_url":"https://api.github.com/repos/square/retrofit/issues/2083/events","html_url":"https://github.com/square/retrofit/issues/2083","id":189473572,"number":2083,"title":"Web requests getting truncated / ignoring annotations upon send","user":{"login":"PGMacDesign","id":6592650,"avatar_url":"https://avatars.githubusercontent.com/u/6592650?v=3","gravatar_id":"","url":"https://api.github.com/users/PGMacDesign","html_url":"https://github.com/PGMacDesign","followers_url":"https://api.github.com/users/PGMacDesign/followers","following_url":"https://api.github.com/users/PGMacDesign/following{/other_user}","gists_url":"https://api.github.com/users/PGMacDesign/gists{/gist_id}","starred_url":"https://api.github.com/users/PGMacDesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PGMacDesign/subscriptions","organizations_url":"https://api.github.com/users/PGMacDesign/orgs","repos_url":"https://api.github.com/users/PGMacDesign/repos","events_url":"https://api.github.com/users/PGMacDesign/events{/privacy}","received_events_url":"https://api.github.com/users/PGMacDesign/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-15T18:45:39Z","updated_at":"2016-11-18T18:17:24Z","closed_at":"2016-11-18T15:38:24Z","body":"I recently updated to the newest versions of Retrofit / OkHttp and am attempting to convert my code from retrofit 1 to work with retrofit 2. \r\nAlthough the version 1 code works perfectly, switching it all to version 2 is producing an odd problem, the URL being sent to is truncating / ignoring anything after the base URL being sent. \r\nI have asked the question on StackOverflow, but it looks like know one has any ideas so I am submitting it here in case it is a bug. \r\nLink to Stack Overflow Question: http://stackoverflow.com/questions/40557236/why-does-my-web-request-get-truncated-when-using-the-newest-versions-of-retrofit\r\n\r\n-Pgmac"},"comment":{"url":"https://api.github.com/repos/square/retrofit/issues/comments/261602182","html_url":"https://github.com/square/retrofit/issues/2083#issuecomment-261602182","issue_url":"https://api.github.com/repos/square/retrofit/issues/2083","id":261602182,"user":{"login":"JakeWharton","id":66577,"avatar_url":"https://avatars.githubusercontent.com/u/66577?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeWharton","html_url":"https://github.com/JakeWharton","followers_url":"https://api.github.com/users/JakeWharton/followers","following_url":"https://api.github.com/users/JakeWharton/following{/other_user}","gists_url":"https://api.github.com/users/JakeWharton/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeWharton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeWharton/subscriptions","organizations_url":"https://api.github.com/users/JakeWharton/orgs","repos_url":"https://api.github.com/users/JakeWharton/repos","events_url":"https://api.github.com/users/JakeWharton/events{/privacy}","received_events_url":"https://api.github.com/users/JakeWharton/received_events","type":"User","site_admin":false},"created_at":"2016-11-18T18:17:24Z","updated_at":"2016-11-18T18:17:24Z","body":"Are you using an interceptor that might be rewriting the URL?\n\nOn Fri, Nov 18, 2016 at 1:15 PM Patrick MacDowell <notifications@github.com>\nwrote:\n\n> Thanks for the tips, I read through the docs and tried every permutation\n> where I removed the first slash char, added the one to the base url,\n> removed it, etc. It is still having the exact same problem. So all of the\n> following ones are still duplicating the issue and omitting/ not including\n> the path.\n>\n>\n>\n> *\"http://api.mywebsite.com/ <http://api.mywebsite.com/>\" + path\n> \"/orders/{orderId}/getOrder\" \"http://api.mywebsite.com/\n> <http://api.mywebsite.com/>\" + path \"orders/{orderId}/getOrder\"\n> \"http://api.mywebsite.com <http://api.mywebsite.com>\" + path\n> \"/orders/{orderId}/getOrder\" \"http://api.mywebsite.com\n> <http://api.mywebsite.com>\" + path \"orders/{orderId}/getOrder\"*\n> (also, the full url style ones listed in the documentation)\n>\n> *\"http://api.mywebsite.com <http://api.mywebsite.com>\" + path\n> \"http://api.mywebsite.com/orders/{orderId}/getOrder\n> <http://api.mywebsite.com/orders/%7BorderId%7D/getOrder>\"\n> \"http://api.mywebsite.com/ <http://api.mywebsite.com/>\" + path\n> \"http://api.mywebsite.com/orders/{orderId}/getOrder\n> <http://api.mywebsite.com/orders/%7BorderId%7D/getOrder>\"*\n>\n> Any ideas?\n>\n> —\n> You are receiving this because you modified the open/close state.\n>\n>\n> Reply to this email directly, view it on GitHub\n> <https://github.com/square/retrofit/issues/2083#issuecomment-261601863>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AAEEEarrBCoBnO64z-tQBv7-ze4AMHuhks5q_etYgaJpZM4Ky4Tf>\n> .\n>\n"}}
{"actor":{"display_login":"JakeWharton"}}