| Linode Forum https://forum.linode.com/ |
|
| can't connect to google api it seems. https://forum.linode.com/viewtopic.php?f=19&t=11158 |
Page 1 of 1 |
| Author: | jenia [ Thu Jul 10, 2014 6:13 pm ] |
| Post subject: | can't connect to google api it seems. |
Hello. PLEASE, dont answer here. delete this post. sorry for the inconvenience. the answer is in the same post at Servers folder I'm running python-social-auth to get the oauth2 functionality in my app. When I try to login using google, I get redirected (after i filled in the form) here: Quote: /complete/google-oauth2/ And then the connection times out. Quote: 504 Gateway Time-out I tried to see if the network is working correctly: Code: wget https://accounts.google.com/o/oauth2/token I'm not sure what this means exactly but I can see that there was a timeout. I;m guessing that my network isnt allowing me to call that url. If the network isn't allowing me to connect to Google API, how can i make it allow me to do it? If that's not the problem, then what might the problem be? Just in case, that's from the error log: Quote: 2014/07/10 19:21:44 [error] 15072#0: *293 upstream timed out (110: Connection timed out) while reading response header from upstream, client:.. That's from the access log: Quote: xxx.xxx.xxx.xxx - - [10/Jul/2014:19:20:44 +0000] "GET /login/google-oauth2/ HTTP/1.1" 302 5 "-" "Mozilla/5.0 (Linux; Android ... xxx.xxx.xxx.xxx - - [10/Jul/2014:19:21:44 +0000] "GET /complete/google-oauth2/?state=xxxxxxxxxxxxxxxx&code=xxxxxxxxxxxxxxxxxxxxxxxxxxx HTTP/1.1" 504 596 "-" "Mozilla/5.0 (Linux; Android ... xxx.xxx.xxx.xxx - - [10/Jul/2014:19:21:44 +0000] "GET /favicon.ico HTTP/1.1" 404 4541 "-" "Mozilla/5.0 (Linux; Android ... If anyone could help, that would be great. Thanks in advance. Jenia |
|
| Author: | vonskippy [ Thu Jul 10, 2014 7:24 pm ] |
| Post subject: | Re: can't connect to google api it seems. |
Don't double post. |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|