Ask Your Question
2

Sign in problem using Google

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

Guandalino gravatar image Guandalino
53 2 9

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.

delete close flag offensive retag edit

3 Answers

Sort by ยป oldest newest most voted
3

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

MisterT gravatar image MisterT
31 2 2

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

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 ( 2012-01-30 11:44:13 -0500 )edit
2

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

jscoot gravatar image jscoot
21 1 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.

link publish delete flag offensive edit
0

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

Evgeny gravatar image Evgeny flag of Chile
11044 50 84 182
http://askbot.org/

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.

link publish delete flag offensive edit

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 ( 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 ( 2011-07-26 18:31:14 -0500 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

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

Seen: 161 times

Last updated: May 01 '12