2013-06-03 4 views
5

Entschuldigung für solch eine noob Frage.Google Plus Anmeldung Unbekannter RPC-Dienst: widget-interaktiv-I0_1370237493291 '

Ich folgte nur google plus signins Step1 bis Step4. https://developers.google.com/+/web/signin/ Die Anmeldung schien erfolgreich zu sein, während ein Fehler 'Unbekannter RPC-Dienst: widget-interactive-I0_1370237493291' erschien. Hier sind die Konsolenprotokolle in Chrome.

XHR finished loading: "https://plusone.google.com/_/scs/apps-static/_/js/k=oz.connect.en_US.B31L_d…sv=1/d=1/ed=1/am=GA/rs=AItRSTOhxGvE7YZFbwjOy6nLkxCnNjz3og/cb=gapi.loaded_1". signin:15 
XHR finished loading: "https://plusone.google.com/_/scs/apps-static/_/js/k=oz.gapi.en.hgKKOofQjvI.…sv=1/d=1/ed=1/am=EQ/rs=AItRSTOeNwU4i5ApX9gPGjnZ0AzovKWmWw/cb=gapi.loaded_0". signin:15 
Unknown RPC service: widget-interactive-I0_1370237493291 cb=gapi.loaded_0:71 
signed in 

Ich denke, der Fehler ist über etwas unvollständig. Ich kann nicht herausfinden, was genau der Fehler ist und wie man es versteht. Was vermisse ich?

Hier ist der Code. Der Ursprung ist http://localhost:3000

<!DOCTYPE html> 

<html> 
    <head> 
    <meta charset="utf-8"> 
    <title>Gplus</title> 
    </head> 
    <body> 
    <h1>Gplus</h1> 
<span id="signinButton"> 
    <span 
    class="g-signin" 
    data-callback="signinCallback" 
    data-clientid="362449793624.apps.googleusercontent.com" 
    data-cookiepolicy="single_host_origin" 
    data-requestvisibleactions="http://schemas.google.com/AddActivity" 
    data-scope="https://www.googleapis.com/auth/plus.login"> 
    </span> 
</span> 
    <script type="text/javascript"> 
     function signinCallback(authResult) { 
    if (authResult['access_token']) { 
    // Successfully authorized 
    // Hide the sign-in button now that the user is authorized, for example: 
    document.getElementById('signinButton').setAttribute('style', 'display: none'); 
    console.log('signed in'); 
    } else if (authResult['error']) { 
    // There was an error. 
    // Possible error codes: 
    // "access_denied" - User denied access to your app 
    // "immediate_failed" - Could not automatically log in the user 
    // console.log('There was an error: ' + authResult['error']); 
    } 
} 
     </script> 
    <!-- Place this asynchronous JavaScript just before your </body> tag --> 
    <script type="text/javascript"> 
     (function() { 
     var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; 
     po.src = 'https://apis.google.com/js/client:plusone.js'; 
     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); 
    })(); 
    </script> 
    </body> 
</html> 

Antwort

2

Ich hatte das gleiche Problem, wenn ich diesen Code Probe versuchen. Beim Versuch, um es herauszufinden, fand ich diesen Beitrag:

https://groups.google.com/forum/?fromgroups#!topic/google-plus-developers/Ax3cMLhMR4Q

im Google+ Developers Forum, das scheint darauf hinzudeuten, dass es nicht wirklich ein ‚Fehler‘ ist aber eine Art Warnung. Wenn ich mehr darüber erfinde, werde ich hier ein Update veröffentlichen.

Hoffe, das hilft.

+0

Vielen Dank. –