Topic-icon Incredibly long load & wait times... again :-/

Active Subscriptions:

None
Hello Alex....

Long time no talk... So... It turns out that my very long load times haven't been fixed after all... =( Last time (when we talked) I was convinced that it was godaddy's name resolvers and changing them to googles did seem to help the issue...

OLD THREAD:
www.sourcecoast.com/forums/jfbconnect/jf...cebook-s-canvas-only

However... The issue is 100% back... I notice on new accounts mainly that the login takes FOREVER... I timed it a few times and it's always about 2 minutes long... I would really like to get this sorted if possible... Argh... Back to the drawing board I guess?!?

Going to PM you a link to the app again (did last time as well)... In fact... You are still a user within the app!

PICTURE
File Attachment:



Thanks for helping Alex...
The topic has been locked.
Support Specialist
10 years 7 months ago #35862 by alzander
Yup, wow.. long load time, definitely. Took about 20+ seconds for a long to work for me. Everything did come in though, but definitely not right.

I'm not sure if you're still on JFBConnect v5.0.0, but since then, there's been 2 releases:
v5.0.1 which had a bunch of bug-fixes, but nothing that would likely affect this
v5.1.0 (released yesterday) - This has a pretty much completely overhaul of our profile import and login system. There was a lot of optimizations and changes to the Facebook PHP library. It is possible that some of these changes could speed things up.
If interested, see [www.sourcecoast.com/jfbconnect/docs/changelog]the full changelog[/url].

With that said, v5.0.0 should *never* be that slow, so I can't imagine our changes in newer releases would have fixed it since it does seem like an underlying server issue.

So, with that all said, here's what I'd recommend (some old, some new):
* Make sure the "Disable SSL Validation" setting is on (whatever it is to not check SSL). That can require an extra trip to Facebook for information if outgoing SSL connections aren't working.
* Enable the "Display Facebook API Errors on Front-End" setting and check if there are any errors on the page after you login
* Enable PHP Warning and Error *logging*. This would have to be done on your server (not in Joomla) and check to see if there are any warnings (and possibly errors, though I don't think that's possible since its working) during the login process being spewed forth by JFBConnect.
* Test how long the JFBConnect Overview page (in v5.0.x) loads. That page makes a very quick call to Facebook to get the stats for user counts. If that page takes 2-3 more seconds to load than other pages in the admin area, that would indicate that all calls to Facebook are just taking a while. There are a lot of calls during logging in.

Those are, again, the starting points. Let me know how that goes. It may be possible to hard-code some IP addresses into our files for the Facebook servers instead of doing a lookup. That would remove big links in the chain to narrow down the problem as well, but would have to find out what to use. Just an idea before I forget :)

I hope that helps,
Alex
The topic has been locked.