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
instead of
UserLogin userLogin = call.execute().body();
try
retrofit2.Response tokenResponse = call.execute();