Topic-icon 500 error

11 years 9 months ago #24465 by fb_588611724
500 error was created by fb_588611724
Logging in gives this message seen below. I suspect its been going on for some time. My facebook membership is down a lot. I've run auto tune and checked for other facebook javascript or mods

Also, pageload tests show my site downloads the same facebook file file twice. is this an error? See below

Tom


FILE LOADED TWICE
s-static.ak.facebook.com/connect/xd_arbi..._sig%3Df3dcb3c49c%26

ERROR MESSAGE ON LOGIN
The website encountered an error while retrieving www.crimescene.com/currentcase/index.php...w==&cb=1341726426685. It may be down for maintenance or configured incorrectly.
The topic has been locked.
Support Specialist
11 years 9 months ago #24471 by alzander
Replied by alzander on topic 500 error
Tom,
I just registered on your site without issue. Then, I logged out and back in again without any problems. Is there any specific way to recreate the problem? Is it only on registration, or is it on login as well? As for recommendations, I'd try:
* Disabling any caching you have enabled
* Turn off any JFBConnect profile plugins
* Turn off SEF URLs

None of those should be required permanently, but if you disable one of the above and things start working, that will really help us narrow down a possible cause and come up with more specific solutions.

Let us know if we're testing properly or not, and we'll go from there.

Thanks,
Alex
The topic has been locked.
11 years 9 months ago #24473 by fb_588611724
Replied by fb_588611724 on topic 500 error
Thanks for the fast response. Last night, after posting, I implemented a fix I'd read in the forum. I turned off the Kuena jfb plugin and the issue resolved.

I would like to resolve the multiple calls to s-static.ak.facebook.com/connect

The 1st call is fast as expected. the second takes usually 1.5 seconds to complete and hangs the page for that time. Everything else loads faster-- even the other facebook stuff.

I can get my site to load in milliseconds if I remove the facebook stuff. With it, the site loads in seconds rather than milliseconds. I'm using cloud services and caching.

If I can stop the same file from loading twice, I'll be back to milliseconds.

Tom
The topic has been locked.
Support Specialist
11 years 9 months ago #24481 by alzander
Replied by alzander on topic 500 error
Tom,
Using the Chrome debug tools, the 2nd s-static.ak.facebook.com call is taking 32ms to load since it's already been cached. Almost all Facebook stuff has caching enabled (for a short period at least). The waterfall I'm seeing is that it takes about 1s for the page to be returned from your site. About another 0.5s to load all the images/javascript. And then less than 0.5s for all the Javascript (not just Facebook's) to execute for a page load time of just under 2s. That's pretty darn good, and I'm not seeing the slowdown your mentioning.

If you're using an online tool to check, those aren't always accurate as they won't take browser caching (which plays a huge role with FB stuff) into consideration. They will reload each element as if it's the first time.

As for the connect file you mention, there's no way to prevent it from loading twice. There are some resources that Facebook loads over http (non-secure) and the first Javascript file you mention is what does that. There are other elements that have to be loaded securely (https) and the 2nd Javascript file does that. JFBConnect doesn't have control over that.

Hope that helps explain, but if you need anything else or have other questions, just let us know!
Alex
The topic has been locked.
11 years 9 months ago #24487 by fb_588611724
Replied by fb_588611724 on topic 500 error
Thanks for the excellent explanation. You're right about the chrome developer tools. They show a much more positive picture of the page resources than the online tools like pingdom.

I appreciate the response,
Tom
The topic has been locked.
Support Specialist
11 years 9 months ago #24498 by alzander
Replied by alzander on topic 500 error
No problem. If you still think there's issues or just want to discuss anything, just let us know. We'll be here!

Best of luck,
Alex
The topic has been locked.