First time here? Check out the FAQ!
2

Sign in problem using Google

I have installed Askbot in a virtual environment using PIP following the docs on website. After that I used the startforum command for one-time setup and got to this step:

Once the fresh copy of Askbot appears in your browser, create a new account at the site.

Now I'm stuck.

I tried to log into local Askbot at http://127.0.0.1:8000/account/signin/ using my Google account (clicking on Google icon) but the sign in process doesn't seem to work for me. At the top of the page I get this message:

OpenID https://www.google.com/accounts/o8/id is invalid.

Considering that the signin on askbot.org using Google works without any issue I'm sure I'm doing something wrong.

Anyone willing to help?

P.S. Not sure this is relevant, I'm behind the company NTLM proxy.

Guandalino's avatar
53
Guandalino
asked 2011-07-26 11:08:51 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

3 Answers

3

I've just had exactly the same issue. In my case, the server was also using a proxy to access the internet, and it had been set up for http, not https.

The OAuth request to google requires https - so as soon as I copied the value of my http_proxy environment variable to https_proxy, it worked.

Assuming you're running the server on linux, you can copy the environment variable like so:

export https_proxy=$http_proxy
MisterT's avatar
31
MisterT
answered 2012-01-30 05:50:10 -0600
edit flag offensive 0 remove flag delete link

Comments

Interesting, only in this case we are using OpenID, not OAuth. Maybe the same rule applies to that. Also I've noticed that with the proxy setup ReCaptcha (also a Google service now) also requires https.

Evgeny's avatar Evgeny (2012-01-30 11:44:13 -0600) edit
add a comment see more comments
2

It is definitely an issue with the being able to access that particular URL. In your case it seemed to be the encrypted HTTPS traffic.

For me the issues was name resolution. My firewall was blocking outbound UDP (DNS) requests.

jscoot's avatar
21
jscoot
answered 2012-05-01 19:09:17 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

This is a strange error, maybe it is due to some difference in the network setup. The google open id contains a url parameter, and possibly it is lost at some redirect...?

Could you try it on the same machine but from a different network?

If anyone else had this I hope they will add some information here.

Evgeny's avatar
13.2k
Evgeny
updated 2011-07-26 13:31:19 -0600, answered 2011-07-26 13:30:15 -0600
edit flag offensive 0 remove flag delete link

Comments

Unfortunately at work I have to use the network I've been assigned to and can't change. I'll try to debug the issue tomorrow and report updates/more info, if any. Btw, thanks for Askboot, it looks promising :)
Guandalino's avatar Guandalino (2011-07-26 17:01:19 -0600) edit
Thanks. I've never seen or heard of this error, maybe you could test on openid from some other provider - that does not have url parameters. Will that make a difference?
Evgeny's avatar Evgeny (2011-07-26 18:31:14 -0600) edit
add a comment see more comments