google_assistant_sdk连接超时

时间:2018-09-25 14:59:57

标签: java sdk assistant

代码:

Response<OAuthCredentials> response = 
      oAuthClient.getAccessToken(code,authenticationConf.getClientId(),
      authenticationConf.getClientSecret(),
      authenticationConf.getCodeRedirectUri(),
      "authorization_code").execute();

例外:

Exception in thread "main" com.mautini.assistant.demo.exception.AuthenticationException: Error during authentication
    at com.mautini.assistant.demo.authentication.AuthenticationHelper.authenticate(AuthenticationHelper.java:75)
    at com.mautini.assistant.demo.GoogleAssistantClient.main(GoogleAssistantClient.java:41)
Caused by: java.net.SocketTimeoutException: connect timed out

0 个答案:

没有答案