{"action":"created","issue":{"url":"https://api.github.com/repos/square/okhttp/issues/1933","labels_url":"https://api.github.com/repos/square/okhttp/issues/1933/labels{/name}","comments_url":"https://api.github.com/repos/square/okhttp/issues/1933/comments","events_url":"https://api.github.com/repos/square/okhttp/issues/1933/events","html_url":"https://github.com/square/okhttp/issues/1933","id":112121969,"number":1933,"title":"OKHTTP on Android does not negotiate SPDY against nginx endpoints?","user":{"login":"urc","id":91268,"avatar_url":"https://avatars.githubusercontent.com/u/91268?v=3","gravatar_id":"","url":"https://api.github.com/users/urc","html_url":"https://github.com/urc","followers_url":"https://api.github.com/users/urc/followers","following_url":"https://api.github.com/users/urc/following{/other_user}","gists_url":"https://api.github.com/users/urc/gists{/gist_id}","starred_url":"https://api.github.com/users/urc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urc/subscriptions","organizations_url":"https://api.github.com/users/urc/orgs","repos_url":"https://api.github.com/users/urc/repos","events_url":"https://api.github.com/users/urc/events{/privacy}","received_events_url":"https://api.github.com/users/urc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-19T10:59:18Z","updated_at":"2015-10-19T19:15:51Z","closed_at":null,"body":"We are running into an issue where OKHTTP on Android does not negotiate SPDY against nginx endpoints we have control over, and falls back to HTTP/1.1 instead. This seems to happen for all versions we have active;\r\n\r\n* nginx 1.6.2, the stock package on Debian Jessie\r\n* nginx 1.8.0, from the Dotdeb repository, also on Debian Jessie\r\n\r\nWhen tested against CloudFlare, OKHTTP negotiates SPDY/3.1. Our own endpoints do SPDY/3.1 in Chrome and Firefox without any problems, and AFNetworking in the iOS app hums along happily on SPDY as well, it's purely the Android app where we are seeing this behaviour.\r\n\r\nPossibly related to #1895?"},"comment":{"url":"https://api.github.com/repos/square/okhttp/issues/comments/149317232","html_url":"https://github.com/square/okhttp/issues/1933#issuecomment-149317232","issue_url":"https://api.github.com/repos/square/okhttp/issues/1933","id":149317232,"user":{"login":"urc","id":91268,"avatar_url":"https://avatars.githubusercontent.com/u/91268?v=3","gravatar_id":"","url":"https://api.github.com/users/urc","html_url":"https://github.com/urc","followers_url":"https://api.github.com/users/urc/followers","following_url":"https://api.github.com/users/urc/following{/other_user}","gists_url":"https://api.github.com/users/urc/gists{/gist_id}","starred_url":"https://api.github.com/users/urc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urc/subscriptions","organizations_url":"https://api.github.com/users/urc/orgs","repos_url":"https://api.github.com/users/urc/repos","events_url":"https://api.github.com/users/urc/events{/privacy}","received_events_url":"https://api.github.com/users/urc/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T19:15:51Z","updated_at":"2015-10-19T19:15:51Z","body":"Reiterate my point about it being too early to drop SPDY support :-)"}}