Topic-icon 20 secs to login with facebook

Active Subscriptions:

None
12 years 2 months ago - 12 years 2 months ago #42908 by thedeeninstitute
Hi Guys,

I like the features in this tool, but I've had an on going issue with the speed of authentication for this tool. When auth'ing via facebook, it takes around 20 secs for the user to get auth'ed before they are shown as logged in. I've switched off the "Always Import Profile Data" which I thought might have been slowing things down, but it made no difference.

Any suggestions as to why it's so slow? Just to add, I originally posted this in the joomla 2.5 forum in Febuary, but since then have been working on a clean joomla 3 install at the url below. The page loading speeds are much better with this install. but Facebook auth has remained the same speed.

test123.thedeeninstitute.com/onedeen

I haven't properly configured the other platforms yet so can comment on them yet.

Many thanks
Last edit: 12 years 2 months ago by thedeeninstitute.
The topic has been locked.
Support Specialist
12 years 2 months ago #42916 by alzander
Generally if you're running into speed issues, the first thing we'd recommend is disabling the profile import, like you've done. If the problem persists, it almost always indicates a server configuration issue that's adding extra delay.

The most common issue in that case is when IPv6 is mis-configured. The initial request to Facebook tries to go out on IPv6, times out, and then IPv4 is fallen back to and is quick.

To test this, I'd recommend checking out this post . There's a code change in that file that will disable IPv6 checks *for Facebook*. The file to edit is /administrator/components/com_jfbconnect/assets/facebook-api/base_facebook.php file, around line 177 (that's mentioned a few posts up from the one I linked to).

Hopefully that change will get Facebook going for you.. but either way, let us know, as knowing that will help us determine how to fix other social networks, if necessary.

Thanks,
Alex
The topic has been locked.