Suddenly get a 500 Internal Server Error - internal-server-error

My website was working fine for weeks until two days ago, then on every page besides the homepage I'm getting:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator and inform them of the time the error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log."
The error log says:
Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace."
How do I fix this?
Also, what could've caused it so I know how to prevent it in the future?

Have you tried rebooting? (I know, its obvious)

Related

502 - The server encountered a temporary error and could not complete your request

Similar question: Error: Server Error The server encountered a temporary error and could not complete your request. Please try again in 30 seconds.(GCP)
I'm using the Google Cloud Platform for my website and ran into an issue.
The above question is similar to my issue except this issue isn't persistent for me. I have the website https://fixly.is, if I refresh any page a couple of times, any one of the assets loaded for the page isn't fetched and I get a 502 error. When I refresh it again immediately, it loads it just fine.
The response I get for the asset request is this:
Error: Server Error
The server encountered a temporary error and could not complete your request.
Please try again in 30 seconds.
I've attached a screenshot as well.
I also haven't configured a load balancer.
Is this issue because I haven't configured a Load Balancer?
Can someone tell me why I'm getting this issue?
I'm adding a log for when an asset isn't fetched.

This page isn’t working. HTTP ERROR 500. But when I refresh it works everytime

I'm not sure how to replicate the error but every once in a while when I try to access the website i get this error and upon refreshing it immediately starts working again.
That's not the only issue, when I try to access sub pages other than the home page (like /products, /contact-us, etc) i get this error "Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request."
I'm very inexperienced with all of this, especially wordpress websites so i'd appreciate any suggestions even if theyre basic.
Thank you.

Random 500 errors on IIS

I have been working on an application that provides some web services to a client. The MVC application is built on .Net 4.5 framework. Everything worked fine until we looked at the response statistics our client had generated, where we could see we weren’t responding 100%. The statistics showed response drop to 90%-95% every other day.
Inspecting the logs
The first thing I did was to check our application log where I couldn’t find any exceptions logged. We log all (unhandled) exceptions in our application, which would normally lead to an error HTTP status code, so finding no such exception made me think that the request has not reached the application at all. The next step was to check the IIS access logs and there I could not find any 500 errors. I was under the impression that something is going on with the network which is causing 500's.
Upon further investigation, I realized those are being generated by IIS server. I found this by setting up Failed Request Tracing on IIS and after a while I found following error logged:
ModuleName - ManagedPipelineHandler Notification -
EXECUTE_REQUEST_HANDLER HttpStatus - 500 HttpReason - Error Retrieving
Data HttpSubStatus - 0 ErrorCode -The operation completed
successfully. (0x0)
I've looked at various stackoverflow posts but nothing really helped me. I guess it is because of no of requests we make per minute around 200 requests per minute). But I get response for 90-95% requests.
Attached detailed error log here
I figured out what the error is. .Net servers don't receive these requests in the first place, these are getting lost in the network. There is an oracle gateway which is buggy and killing few requests.

Internal Error Message in Drupal when saving edits

My site is built with Drupal 7.19.
When I make an edit to a page, I get this message:
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster#xxxxxx.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log."
I checked my log messages, and I noticed I have many, many "page not found" with a message of "favicon.ico". I found this info but it did not fix: http://web3us.com/drupal6/how-create-web-site-handbook/how-setup-drupal-5/how-fix-faviconico-page-not-found-drupal
The edits to the page are reflected, but why this message? There is no 404 or 500 associated.
The missing favicon has nothing to do with the Internal Server error. The most likely issues is that your PHP memory limit is too low.
Drupal 7 suggested memory limit is 128MB. You can change the limit in your settings.php file in the default (sites/default/settings.php) folder by adding the following line:
ini_set('memory_limit','128M');

Unauthorized error when surfing to files

My IIS is configured to use WindowsAuthentication.
When I surf to the file:
I can see the file perfectly but when i'm checking with charles (http debugger) I see the following result.
alt text http://img155.imageshack.us/img155/6428/capturea.jpg
The problem is that when a browser does this, it will retry (apperantly up to 3 times) but when .NET (spring.net) tries this, it's crashes after the first attempt saying that I'm unauthorized.
Does anyone has a solution for this? I've been struggeling with this problem for weeks now.
I see this is normal. You may learn more about the conversation between client and server from this KB article,
http://support.microsoft.com/kb/264921
Then you will know why those 401 messages were there.
Regards,

Resources