Ask Your Question

Sign in problem using Google

asked 2011-07-26 11:08:51 -0500

Guandalino's avatar

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 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 is invalid.

Considering that the signin on 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.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2012-01-30 05:50:10 -0500

MisterT's avatar

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
edit flag offensive delete link more


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 -0500 )edit

answered 2012-05-01 19:09:17 -0500

jscoot's avatar

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.

edit flag offensive delete link more

answered 2011-07-26 13:30:15 -0500

Evgeny's avatar

updated 2011-07-26 13:31:19 -0500

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.

edit flag offensive delete link more


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 -0500 )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 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-07-26 11:08:51 -0500

Seen: 2,790 times

Last updated: May 01 '12