I get the following error: The authentication with Facebook connect failed, cannot find authentication tokens.

Python-open id is installed.

Other openid logins work fine.

asked 09 Jul '11, 09:58

osqa81's gravatar image

osqa81
56359
accept rate: 0%

1

Are you sure you have the External Facebook API key and Facebook APP Secret configured in the External Keys Settings Set in the Administration? If you don't have that done, make the configuration and let us know if the problem still appears.

(10 Jul '11, 14:59) Jordan ♦♦

The API key and Secret are configured in the Admin. But the problem still appears.

(12 Jul '11, 06:40) osqa81

Are there any errors in the log/django.osqa.log file? Please post the last lines of the file if there are any.

(12 Jul '11, 07:04) Jordan ♦♦

Nothing in relation to this Facebook error.

But there is an error line in relation to something that happened before:

File "xxxxxxxMySQLdb\\cursors.py", line 107, in nextset nr = db.next_result() ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delimiter |\\n\\nCREATE TRIGGER fts_on_insert AFTER INSERT ON forum_node\\n FOR EACH ' at line 1")

(12 Jul '11, 08:09) osqa81

The MySQL FTS module issue has been fixed in revison #1060: http://svn.osqa.net/changelog/OSQA/?cs=1060

Seems like you're using an old version.

(13 Jul '11, 06:07) Jordan ♦♦

I'm using revision #1113

But I'm trying to figure out what causes the error. Looking into the code, this error seems to pop up if:

if 'fbs_%s' % API_KEY in request.COOKIES

Is this a problem with FB cookies?

(13 Jul '11, 06:17) osqa81
showing 5 of 6 show 1 more comments

Please, consider updating to the latest trunk version if you want to have your issues fixed. The error on the MySQL FTS module makes me believe that you're using an old version (< #1044).

The Facebook plugin has also been improved there and now we support the Facebook Oauth2 model.

link

answered 13 Jul '11, 06:12

Jordan's gravatar image

Jordan ♦♦
3.1k618
accept rate: 38%

Strange, the new revision makes my Python process work really hard. I have 8-core CPU and each browser windows uses up the whole core to serve a page.

(13 Jul '11, 07:12) osqa81

Something is wrong with your configuration, how do you host OSQA?

(13 Jul '11, 07:15) Jordan ♦♦

The only change that could have resulted this behavior is commit #1116: http://svn.osqa.net/changelog/OSQA/?cs=1116

Please tell me a bit more about your configuration.

(13 Jul '11, 07:21) Jordan ♦♦

I run it on Windows 2008 with Python via Helicon Zoo. I've just tried to Facebook login from the server where OSQA is installed and it worked. But when I try from another IP I get an error message.

(13 Jul '11, 07:42) osqa81

Sorry, the load problem happens in #1113 too although it's somewhat less than now in #1116. Must be a configuration issue.

(13 Jul '11, 08:00) osqa81
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×75
×40
×32

Asked: 09 Jul '11, 09:58

Seen: 553 times

Last updated: 13 Jul '11, 08:00

powered by OSQA