2010-11-23 3 views
0

11-17 15: 04: 15,477: ERREUR/AndroidRuntime (3411): gestionnaire Uncaught: thread principal sortie en raison d'une exception non interceptée 11-17 15: 04: 15,507: eRREUR/AndroidRuntime (3411): com.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceException:oauth.signpost.exception.OAuthCommunicationException: Communication avec le fournisseur de services a échoué: htts: ///api.linkedin.com/uas/oauth/requestToken 11-17 15: 04: 15.507: ERROR/AndroidRuntime (3411): sur com.goo gle.code.linkedinapi.client.oauth.LinkedInOAuthServiceImpl.getOAuthRequestToken (LinkedInOAuthServiceImpl.java:146) 11-17 15: 04: 15.507: ERROR/AndroidRuntime (3411): at com.ceosoft.alumlife.util.LinkedInAuthenticateHelper.getRequestToken (LinkedInAuthenticateHelper.java:66) 11-17 15: 04: 15.507: ERROR/AndroidRuntime (3411): à l'adresse com.ceosoft.alumlife.util.LinkedInAuthenticateHelper.authenticateApp (LinkedInAuthenticateHelper.java:53) 11-17 15:04: 15,507: eRREUR/AndroidRuntime (3411): à ..... .... 11-17 15: 04: 15,507: eRREUR/AndroidRuntime (3411): Causée par: oauth.signpost.exception.OAuthCommunicationException : La communication avec le fournisseur de services a échoué: htts: ///api.linkedin.com/uas/oauth/requestToken 11-17 15: 04: 15,507: ERROR/AndroidRuntime (3411): à oauth.signpost.AbstractOAuthProvider.retrieveToken (AbstractOAuthProvider.java:214) 11-17 15: 04: 15.507: ERROR/AndroidRuntime (3411): à oauth.signpost.AbstractOAuthProvider.retrieveRequestToken (AbstractOAuthProvider.java:69) 11-17 15: 04: 15.507: ERROR/AndroidRuntime (3411): à l'adresse com.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceImpl.getOAuthRequestToken (LinkedInOAuthServiceImpl .java: 138) 11-17 15: 04: 15.507: ERROR/AndroidRuntime (3411): ... 25 plus 11-17 15: 04: 15.507: ERROR/AndroidRuntime (3411): Causée par: java .io.FileNotFoundException: https: /.// api.linkedin.com/uas/oauth/requestToken 11-17 15: 04: 15.507: ERREUR/Android Runtime (3411): à org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getInputStream (HttpURLConnection. .... ....Mon téléphone (htc OS2.1 une traînée de poudre g8) pas en charge LinkedIn

Mon code comme suit: privé LinkedInRequestToken getRequestToken() {

Log.d (TAG, "api_key =" + oauth_consumer_key); Log.d (TAG, "SECRET_KEY =" + OAUTH_CONSUMER_SECRET);

mOauthService = LinkedInOAuthServiceFactory.getInstance(). CreateLinkedInOAuthService (OAUTH_CONSUMER_KEY, OAUTH_CONSUMER_SECRET); Log.d (TAG, "mOauthService = LinkedInOAuthServiceFactory.getInstance()"); requestToken = mOauthService.getOAuthRequestToken (CALLBACK_URL); // cette ligne se produit erreur Log.d (TAG, "LinkedInRequestToken requestToken = mOauthService"); demande de retourToken;

}


Je n'ai pas pouvoir mettre plus d'un lien hypertexte à ici. Alors, je suis désolé!

Note: "HTTS" cela signifie https
"///" est "//"

+0

htts: ///api.linkedin.com/uas/oauth/requestToken. ne devrait-il pas être http: // ou https: // – techiServices

+0

Je suis vraiment désolé pour vous. Je pose des questions sur ce site web en tant qu'invité. –

Répondre

-2

La réponse est:

réglage de l'heure de mon téléphone ont des problèmes. Pas ma demande. Vous avez besoin du réglage de l'heure si vous souhaitez utiliser LinkedIn.

+0

J'avais changé le temps de mon appareil encore je suis confronté à la même erreur .... FileNotFoundException ..... –

+0

Bonjour Samuel, pouvez-vous partager votre code ... alors, je peux le comparer et trouvé quelques changements requis .... Merci d'avance.... :) –

0

J'ai eu mon temps 8 minutes à l'avance et a résolu le problème de le remettre au temps réel

réponse Ashok Android LinkedIn Integration Error on Device And Emulator

« heure, la date et Timezone devrait être correct si quelque chose ne va pas ou même 1 min différence donnera cette exception ".

Questions connexes