Hi, I believe it's not on the AdWords API layer nor whether your developer token is approved. But on the HTTPS library you are using. Can you please try this<http://pic.dhe.ibm.com/infocenter/wveinfo/v7r0/index.jsp?topic=%2Fcom.ibm.websphere.xd.messages.doc%2Fsource%2FCWPKI0027I.html> or this<https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000013926228>to see if it resolved?
Best, - Takeshi, AdWords API Team On Tuesday, September 10, 2013 10:05:06 AM UTC+9, [email protected] wrote: > > Hi, > when i am trying to get the Refresh token i am getting following exception: > Sep 10, 2013 6:12:18 AM com.ibm.ws.ssl.config.SSLConfigManager > INFO: ssl.disable.url.hostname.verification.CWPKI0027I > Sep 10, 2013 6:12:19 AM com.ibm.ws.security.config.SecurityObjectLocator > WARNING: Could not obtain SecurityConfigObjectFactory on the client side. > Exception in thread "main" java.net.SocketException > at > javax.net.ssl.DefaultSSLSocketFactory.createSocket(SSLSocketFactory.java:8) > at com.ibm.net.ssl.www2.protocol.https.b.afterConnect(b.java:15) > at com.ibm.net.ssl.www2.protocol.https.c.connect(c.java:3) > at > sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:865) > at com.ibm.net.ssl.www2.protocol.https.a.getOutputStream(a.java:54) > at > com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:77) > at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:964) > at > com.google.api.client.auth.oauth2.TokenRequest.executeUnparsed(TokenRequest.java:283) > at > com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeTokenRequest.execute(GoogleAuthorizationCodeTokenRequest.java:158) > at > adwords.axis.auth.GetRefreshToken.getOAuth2Credential(GetRefreshToken.java:78) > at adwords.axis.auth.GetRefreshToken.main(GetRefreshToken.java:114) > > > i am not able to resolve this as my developer token was not yet approved. > And one more is i am trying to access from restricted access network. What > could be the reason to get the socket exception while acccesing the Adwords > API > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
