500 Internal Server Error
-
Just installed this plugin and get 500 Internal Server error. No matter what links inside the plugin I click – I get the 500. In the config file, I have this set:
define( ‘WP_MEMORY_LIMIT’, ’64M’ );
Any idea why I can’t get this to work. Godaddy Dedicated IP Hosting.
-
Great news, thanks and keep me posted please.
Crap!!! It’s doing it on my site too! They are trying to trouble shoot and now I see my site is getting 500 as well.
We are all on regular shared hosting. It seems this is happening now on more than one site hosted on Godaddy. The tech asked me is there anything in the plugin that is trying to go outside to another server, i.e., like it’s talking to somewhere associated with the plugin. Can you tell me that?
Update: they are still working on it. I was on the phone for over 2 hours with them. They had to escalate it to a much higher level. They gave me a ticket number and said they will call/email me back. They are baffled that it is happening on multiple sites now.
Here is their response. But.. how did it just stop working when it worked before on my own site and now it doesn’t.
Dear Sir/Madam,
Thank you for contacting Hosting Support about an issue you were experiencing with using the Sucuri Security plugin on your YOURSITE.com WordPress site. Upon reviewing the account I have determined the following.
The error message you are receiving when processing the ‘Hardening’ functions of this plugin can be seen below. These errors basically mean that the process timed out. Exactly why it timed out is not something we can learn from the error logs.
[Sat Nov 08 18:18:35 2014] [10451485] [fcgid:warn] [client 64.202.160.161:60620] mod_fcgid: read data timeout in 120 seconds
[Sat Nov 08 18:18:35 2014] [10451485] [fcgid:warn] (110)Connection timed out: [client 64.202.160.161:60620] mod_fcgid: ap_pass_brigade failed in handle_request_ipc functionI performed a number of other tests on the plan and was able to confirmed that the Sucuri Security plugin is compatible with the server software running on your account. I did confirmed this by creating a new WordPress install and installing only that Sucuri plugin. When using a new install with the default theme the plugin performs the ‘Hardening’ tasks successfully and quickly.
The most likely issue with your YOURWEBSITE.com installation is that the plugin is conflicting with your theme or a plugin installed (or some other modification). I would recommend reviewing this error message and the software you are running with this plugin’s developers to see if there is any known conflicts.
Please let us know if we can assist you in any other way.
This entire case is very peculiar. I’m going to ask one of my developers to assist, but it won’t be until Monday.
That’s a very odd response from GoDaddy.
Searching for the same issue on internet I found a response in a forum that may be worth to mention, take it as a point of reference to address the problem. There is also an explanation here of how you could solve this issue by increasing the maximum number of requests per process [1].
You are bumping into some PHP/mod_fcgid limits set by your server administrator (GoDaddy). The person who wrote you this response either doesn’t know what they are talking about OR they did not want to tell you that “We will/can not change our settings to help your situation”.
If you have administrative access (for example, you are on a VPS or dedicated server), you’d likely have to either raise
PHP_FCGI_MAX_REQUESTS(in the fcgid wrapper) or limitFcgidMaxRequestsPerProcessto500.Thank you Yorman, but neither of us are on VPS or dedicated server. I actually now have the same problem on my own website when the plugin has worked perfectly fine.
Something else is odd on my site now. There is a new plugin that I’ve added called Unsplash Plugin that you can upload images directly to your server via the Media area. The plugin worked just fine, but now it’s saying it cannot perform the action on my server.
I am wondering if Godaddy did something funky to their hosting that is preventing these things from working. I am putting in a ticket on the Unsplash Plugin now.
Godaddy just told me they did a fresh install and used the Twenty Twelve theme and the plugin and all of it’s features works fine. Now they are saying it must be theme related. I use the Genesis Framework, my one client uses it also with a different them than mine. The first site I started troubleshooting on which first notified me of the issue is using a theme from Themeforest. So I am really troubled now.
If you can confirm that switching to a standard theme solves the issue then you may want to contact the people behind the development of the Genesis Framework.
Contacting the author of the theme that you bought on Theme Forest will not help because they will probably fix the bug focusing in their own themes (which may be powered by the Genesis Framework anyway). So, it is better to contact the developers of this library to address the bug more widely and fix it for more themes (that may not be working because of the same issue).
Do you want to mark this ticket as resolved, since it is not related with our code? Or do you want to wait until the solution is found?
So I see now that you are the plugin Developer on this. It’s just odd because the plugin and all of the features were working fine and then all of a sudden the Hardening causes a 500 and no one can tell me why or really point me in the right direction. So if you cannot help – I will just go and uninstall in on all of the websites which will definitely resolve the issue. Thank you for your time.
It is unfortunate that you have to uninstall the Sucuri plugin just because a bug generated by other software, and I do not have any idea of how to fix this issue from our code, you could try disabling some features from the settings page, like the “Scanner of Error Logs” among other things that will make the plugin to run faster (considering that the issue is related with timeouts).
I will keep this open, will investigate a little bit more and update the plugin with things that may help to address this issue more easily, but I can not promise a definitive solution.
I just found this – http://stackoverflow.com/questions/18345837/godaddy-hosting-connection-reset-by-peer-ap-pass-brigade-failed-in-handle-requ.
Does the Godaddy response on there make sense in any of what’s happening?
I’m on Hostgator and getting the same problem.
Running Genesis framework on a shared hosting plan.
The title of this ticket may lead to some confusion, and there does not seems to be a way to change it, so just to clarify, the discussion of this thread was related with a specific error between the plugin and the configuration of a Nginx web server.
A “500 Internal Server Error” may be caused by multiple reasons, but they can be separated in two groups, one is when there is an incompatibility with other theme/plugin, or second when one of the file system scanners integrated in the plugin are failing during their execution.
Plugin Incompatibilities. The list of incompatibilities between this plugin and others is very small, one of the main issues is that our other plugins (sucuri-wp-plugin, and sucuri-cloudproxy-waf) are not compatible between them because 40% of the code is duplicated, so the solution is to use only one of these three Sucuri plugins. If you do not see more than one in the plugins page then use a FTP client or the file manager tool of your hosting panel to delete the plugin from the server manually.
File System Scanners. Because of the way PHP works all the code that needs to be interpreted by it is limited to the configuration of environment variables like the “maximum execution time” and the “memory limit”, if one of these is reached during the execution of one of the functions defined in the code then the error will appears. There is not a definitive solution for this unless you have full access to the configuration of the PHP interpreter, if not the only option is to disable one or more file system scanners from the “Scanner Settings” panel located in the plugin’ settings page.
Server Issues. There may be sone undocumented issues related with specific environment variables of the web server, due to the lack of information of these errors it will be difficult to solve them by guessing. So I will just say that if something in the plugin is not working or is causing errors in the website, try to disable one or more of its features from the settings page.
The topic ‘500 Internal Server Error’ is closed to new replies.