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

Server responds 404 on Signin #32

Open
habitoti opened this issue Apr 26, 2019 · 2 comments
Open

Server responds 404 on Signin #32

habitoti opened this issue Apr 26, 2019 · 2 comments

Comments

@habitoti
Copy link

Not sure if this demo is still supported (after all the changes to the Google Plus APIs...), and there hasn't been traffic here for years. But as I haven't seen any other client for the management APIs, I suppose it should work.
I've setup Bower for the demo, and can serve the demo pages. I replaced the client ID and entered the app ID as requested, however when opening the home page, the console keeps showing a 404 on signin (I've redacted the client ID below, but it's correct otherwise):

https://plus.google.com/_/widget/render/signin?usegapi=1&clientid=xxxx-xxxx.apps.googleusercontent.com&cookiepolicy=single_host_origin&scope=https://www.googleapis.com/auth/games+https://www.googleapis.com/auth/drive.appdata&origin=http://localhost:5000&url=http://localhost:5000/demo/demo.html&gsrc=3p&ic=1&jsh=m;/_/scs/apps-static/_/js/k%3Doz.gapi.en_US.zzLpjoAXk6I.O/am%3DwQE/d%3D1/rs%3DAGLTcCPNBsdHIPAdVJZn7w7bH-Qkn5OwYA/m%3D__features__#_methods=onPlusOne%2C_ready%2C_close%2C_open%2C_resizeMe%2C_renderstart%2Concircled%2Cdrefresh%2Cerefresh%2Conauth%2Conload&id=I0_1556260643612&_gfid=I0_1556260643612&parent=http%3A%2F%2Flocalhost%3A5000&pfname=&rpctoken=65124566 Failed to load resource: the server responded with a status of 404 ()

What could still be wrong here? I've added http://localhost:5000 to the authorized JavaScript sources when setting up a client ID for Web. Anything else that I've might missed? Or is there by now another (easier to set-up ;-) ) solution as client for the management API?

@sweatyc
Copy link

sweatyc commented Jan 29, 2020

Same here, used to be working, and now got this error:
Source map error: Error: request failed with status 404 Resource URL: http://localhost:9256/demo/demo.html Source Map URL: ../sourcemaps/inpage.js.map

Wish the developer can take a look a do an update (which haven't be maintained for 3 years...)

@devmiyax
Copy link

devmiyax commented Nov 16, 2020

same here
This is response

<!DOCTYPE html>
<html lang=en>
  <meta charset=utf-8>
  <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
  <title>Error 404 (Not Found)!!1</title>
  <style>
    *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
  </style>
  <a href=//www.google.com/><span id=logo aria-label=Google></span></a>
  <p><b>404.</b> <ins>That’s an error.</ins>
  <p>The requested URL <code>/u/0/_/widget/render/signin</code> was not found on this server.  <ins>That’s all we know.</ins>

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

3 participants