I'm running python-social-auth, on a arch virtual server, 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:
/complete/google-oauth2/
And then the connection times out.
504 Gateway Time-out
I tried to see if the server can connect to google's api. I thnk it can't:
wget https://accounts.google.com/o/oauth2/token
--2014-07-10 15:20:59-- https://accounts.google.com/o/oauth2/token
Resolving accounts.google.com (accounts.google.com)... xxxx:xxxx:xxxx:xxx::xx, xx.xxx.xxx.xx
Connecting to accounts.google.com (accounts.google.com)|xxxx:xxxx:xxxx:xxx::xx|:xxx... failed: Connection timed out.
Connecting to accounts.google.com (accounts.google.com)|xx.xxx.xxx.xx|:xxx... connected.
HTTP request sent, awaiting response... 405 Method Not Allowed
2014-07-10 15:23:06 ERROR 405: Method Not Allowed
I'm not sure what this means exactly. But I;m guessing that my network isnt allowing me to call that url.
The time on my server was first the default, and then i switched it to the one you see there which is the one in my home.
I just want to say that doing the same wget from my home produces the 405 ERROR, but not the time out error. So i think there's something wrong with the network.
If anyone could help, that would be great.
Thanks in advance.