Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Google-API-Client's httpclient issue #14

Open
chenjianjx opened this issue Mar 2, 2019 · 0 comments
Open

Fix Google-API-Client's httpclient issue #14

chenjianjx opened this issue Mar 2, 2019 · 0 comments

Comments

@chenjianjx
Copy link
Owner

The problem was described on googleapis/google-api-java-client#1060

  1. Use the class code shown on Default connection pool is poorly configured in ApacheHttpTransport. Oauth2 library googleapis/google-api-java-client#1060
  2. Add the class as impl.support.social.GoogleCustomTimeoutHttpClient
  3. In FoGoogleAuthHelper.java, replace HttpTransport creation code with
HttpTransport googleHttpTransport = new ApacheHttpTransport(GoogleCustomTimeoutHttpClient.newHttpClient());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant