{"action":"created","issue":{"url":"https://api.github.com/repos/amplitude/Amplitude-Android/issues/80","repository_url":"https://api.github.com/repos/amplitude/Amplitude-Android","labels_url":"https://api.github.com/repos/amplitude/Amplitude-Android/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/amplitude/Amplitude-Android/issues/80/comments","events_url":"https://api.github.com/repos/amplitude/Amplitude-Android/issues/80/events","html_url":"https://github.com/amplitude/Amplitude-Android/issues/80","id":135809087,"number":80,"title":"Event Upload POST out of bounds exception","user":{"login":"xiphirx","id":993832,"avatar_url":"https://avatars.githubusercontent.com/u/993832?v=3","gravatar_id":"","url":"https://api.github.com/users/xiphirx","html_url":"https://github.com/xiphirx","followers_url":"https://api.github.com/users/xiphirx/followers","following_url":"https://api.github.com/users/xiphirx/following{/other_user}","gists_url":"https://api.github.com/users/xiphirx/gists{/gist_id}","starred_url":"https://api.github.com/users/xiphirx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiphirx/subscriptions","organizations_url":"https://api.github.com/users/xiphirx/orgs","repos_url":"https://api.github.com/users/xiphirx/repos","events_url":"https://api.github.com/users/xiphirx/events{/privacy}","received_events_url":"https://api.github.com/users/xiphirx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-23T17:42:04Z","updated_at":"2016-05-18T23:50:06Z","closed_at":null,"body":"We're seeing a lot of this crash using v2.5.0. Not sure if its with this SDK or OkHttp. We use OkHttp 2.7.4, which is the latest 2.x release.\r\n\r\n```\r\nFatal Exception: java.lang.ArrayIndexOutOfBoundsException: length=2048; index=2048\r\n       at okio.Buffer.readByte(Buffer.java:280)\r\n       at com.squareup.okhttp.HttpUrl.canonicalize(HttpUrl.java:1594)\r\n       at com.squareup.okhttp.FormEncodingBuilder.add(FormEncodingBuilder.java:38)\r\n       at com.amplitude.api.AmplitudeClient.makeEventUploadPostRequest(AmplitudeClient.java:886)\r\n       at com.amplitude.api.AmplitudeClient$8.run(AmplitudeClient.java:816)\r\n       at android.os.Handler.handleCallback(Handler.java:808)\r\n       at android.os.Handler.dispatchMessage(Handler.java:103)\r\n       at android.os.Looper.loop(Looper.java:193)\r\n       at android.os.HandlerThread.run(HandlerThread.java:61)\r\n```"},"comment":{"url":"https://api.github.com/repos/amplitude/Amplitude-Android/issues/comments/220191158","html_url":"https://github.com/amplitude/Amplitude-Android/issues/80#issuecomment-220191158","issue_url":"https://api.github.com/repos/amplitude/Amplitude-Android/issues/80","id":220191158,"user":{"login":"benjamin-bader","id":512212,"avatar_url":"https://avatars.githubusercontent.com/u/512212?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamin-bader","html_url":"https://github.com/benjamin-bader","followers_url":"https://api.github.com/users/benjamin-bader/followers","following_url":"https://api.github.com/users/benjamin-bader/following{/other_user}","gists_url":"https://api.github.com/users/benjamin-bader/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamin-bader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamin-bader/subscriptions","organizations_url":"https://api.github.com/users/benjamin-bader/orgs","repos_url":"https://api.github.com/users/benjamin-bader/repos","events_url":"https://api.github.com/users/benjamin-bader/events{/privacy}","received_events_url":"https://api.github.com/users/benjamin-bader/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T23:50:06Z","updated_at":"2016-05-18T23:50:06Z","body":"Nope, it's deferred at least until okio 1.8.  The issue tracking the actual fix is square/okio#163."}}