Closed vickychijwani closed 7 years ago
I actually just solved this today myself but upgrading from Nginx 1.10.0 (from a standard Ubuntu 16.04 install) Nginx to 1.11.9 using https://launchpad.net/~chris-lea/+archive/ubuntu/nginx-devel.
Have been trying to get Quill working for some time now and finally decided to dive in tonight. Glad to see someone beat me to it and already reported the issue.
@eddiezane upgrading to 1.10.2 should fix this too (as per the last comment on the ticket) - did it not work for you? I'm not sure how stable the 1.11.x branch is.
EDIT: Nevermind, I see now that the latest available version of Nginx on Ubuntu 16.04 is 1.10.0 (https://launchpad.net/ubuntu/xenial/+source/nginx)
A user on Google Play reported they were unable to login. The most likely cause seems to be that Nginx < 1.10.2 does not implement HTTP/2 correctly (see stacktrace below). However OkHttp promises to recover gracefully from errors, so they've added recovery code for this in v3.3.0.
This is clearly an Nginx bug, but we should pull in OkHttp 3.x anyway - that will ease the move to Retrofit 2 later. OkHttp 3 can work with Retrofit 1.x through this tiny adapter library.
Stacktrace: