Unexpected end of stream on okhttp3
问题 I had followed this link to refresh access token. While adding Authenticator to okHttp getting error of Unexpected end of stream on okhttp3 from retrofit call back onFailure method public class TokenAuthenticator implements Authenticator { AccessTokenRefreshModel accessTokenRefreshModel = null; @Override public Request authenticate(Route route, Response response) throws IOException { Call<UserLogin> call = iService.refreshAccessToken(BuildConfig.CLIENT_ID, refreshToken); UserLogin userLogin =