Skip to main content

Questions tagged [500-error]

HTTP 500 Internal Server Error indicates that the web server could not complete processing of a request due to an internal misconfiguration or unrecoverable error.

Filter by
Sorted by
Tagged with
70 votes
6 answers
305k views

How to diagnose a 500 Internal Server Error on IIS 7.5 when nothing is written to the event log?

I've just deployed an update to an existing ASP.NET MVC3 site (it was already configured) and I'm getting the IIS blue screen of death stating HTTP Error 500.0 - Internal Server Error The page ...
Greg B's user avatar
  • 1,608
30 votes
2 answers
17k views

Nginx add_header for a 50* page

I'm currently trying to get nginx to add a header to the response when it is sending some kind of 50* error. I already have an add_header directive on the http block, and that gets respected for all ...
Mediocre Gopher's user avatar
26 votes
2 answers
62k views

How to See Detailed 500 Errors?

I have ii8 which I have tried to deploy my asp.net web api to. I guess I am doing something wrong as when I try to see if my api is working I am getting a 500 error. However it does not tell me what ...
chobo2's user avatar
  • 491
12 votes
2 answers
51k views

nginx 500 (24: too many open files)

[I posted this on the Nginx forums, but had no responses a week later, so trying here] I am a Linux and Nginx novice, but have learnt enough to get it installed and running and working as a simple ...
DDIT's user avatar
  • 121
11 votes
3 answers
6k views

pread() read only xxxx of yyyy

Occasionally, nginx doesn't send any data back to the browser (ERR_EMPTY_RESPONSE in Chrome). Upon checking the server error.log, I find these weird messages: 2013/10/20 23:57:40 [alert] 29146#0: *...
Alix Axel's user avatar
  • 2,813
10 votes
1 answer
828 views

Mono's XSP4 on OSX gives Access Forbidden (error 500) for any .aspx or .asp file

I'm on a Mac trying to locally host a copy of an old ASP-based site for testing purposes. Not (yet) using mod_mono for Apache, just the basic standalone XSP server. It was enough of an ordeal just ...
blerg's user avatar
  • 101
9 votes
7 answers
52k views

Nginx not logging PHP errors

When accessing some PHP scripts on my website, I'm getting the dreaded 500 error message. I'd like to know what's wrong to fix it, but Nginx isn't logging any PHP errors in the log file I have ...
James Linton's user avatar
9 votes
3 answers
22k views

nginx: how do I track down a random 500 from nginx (not my application). Potentially has something to do with load?

We recently had some 500's from nginx itself that somehow were not logged (we have screenshots, but nothing in the logs). That is weird in itself, because usually errors show up there. Regardless, I ...
kaleidomedallion's user avatar
8 votes
5 answers
54k views

Nginx 1.2.1: How to analyse 500 Internal Server Error

I'm responsible for a nginx server that redirects and splits requests. At our production engine we run nginx 1.2.1 and on a test machine we run 1.4.1. The configuration is the same but on the ...
shylynx's user avatar
  • 191
7 votes
2 answers
11k views

Apache httpd workers retry

I have an Apache httpd web server running mod_proxy and mod_proxy_balancer. The whole of /somedir is sent to 2 worker machines which service the requests using the round robin scheduler. Each worker ...
David Newcomb's user avatar
5 votes
1 answer
4k views

http headers vanish when proxying http errors through nginx

I'm using nginx as TLS terminator in front of an Apache 2.4 server. I'm using add_header X-Content-Type-Options nosniff; in nginx to add this header to every response. If the HTTP status code returned ...
Thilo's user avatar
  • 263
5 votes
2 answers
25k views

IIS 8.5 - getting error when returning static 404 file

IIS8.5 > Sites > mysite > Error Pages > 404 Select "Insert content from static file into the error response". Uncheck "Try to return the error file in the client language". Enter path to "notfound....
Marcus's user avatar
  • 627
4 votes
4 answers
4k views

Almost empty .htaccess file causing 500 error response

I created a test directory called "rewrite" and put a .htaccess file inside with a rewrite rule. When I go to that URL through my browser I get a 500 Internal Server Error. So I thought it ...
Anthony's user avatar
  • 325
4 votes
7 answers
36k views

500 - Internal server error NOT appearing in error.log (or access.log)

I'm trying to track down a bug or mis-configuration on our new Debian web server running a PHP/MySQL driven website with apache. I won't bug you with the gory details here but just want to ask: Did ...
Roman Blöth's user avatar
4 votes
1 answer
18k views

How to fix "The FastCGI process exceeded configured activity timeout" on Windows 8 Pro?

How to fix "The FastCGI process exceeded configured activity timeout" on Windows 8 Pro? Installed FileMaker 12 Advanced Server on Windows 8 Pro box A long running script generates: HTTP Error 500.0 ...
joshua paul's user avatar
4 votes
3 answers
12k views

Monitoring HTTP 5xx errors in an Azure App Service

The Azure App service UI used to have an ability to inspect 5xx errors directly. Since we starting using Azure, the UI has been changing almost constantly though, and this ability seems to have ...
Scuba Steve's user avatar
4 votes
5 answers
9k views

Testing htaccess for 500 server error without actual error

After reading some tutorials, I have created an error file, that should be displayed instead of 500 server error. I have added it to domain's root and added the following line to the bottom of ....
Domas's user avatar
  • 161
4 votes
1 answer
11k views

Handler for (null) returned invalid result code 70007 / causing error 500?

I am getting these errors on some pages in my site (php/apache/linux/mysql vps) on intervals and can't seem to find any reproducible scenario : Handler for (null) returned invalid result code ...
Sherif Buzz's user avatar
4 votes
1 answer
6k views

Apache not displaying custom 500 error page for php errors

Apache does not want to display a custom error document that I have setup. In my vhost I have DocumentRoot /var/www/site/public ... ErrorDocument 500 /500.html The 500.html is located ...
spetz's user avatar
  • 100
4 votes
1 answer
3k views

nginx error page and internal directives not working as expected

I'd like to setup my nginx server to return a specific error page on HTTP 50x status codes, and I'd like this page to be unavailable by a direct request from users (e.g., http//mysite/internalerror). ...
Romain's user avatar
  • 41
4 votes
1 answer
3k views

Block IPv6 addresses in my .htaccess file but I get 500 Internal Server Error?

I want to block all IP Addresses starting like this 2a01:598:xxx in my .htaccess file on my WordPress website. But everytime I edit my .htaccess file I can't visit my website anymore. I get an ...
Benjamin S's user avatar
4 votes
1 answer
262 views

elasticsearch server is unreachable every 2 hours

This question is related to this one. We now know that the errors come from elasticsearch. The problems are still not resolved despite the modifications and optimizations made on the es instance. ...
COil's user avatar
  • 229
4 votes
0 answers
2k views

500 internal error when setting up reverse proxy for Wikipedia

Access to Wikipedia can be disturbed randomly in my country Running Debian 7 with nginx 1.2.1 with additional ngx_http_substitutions_filter_module use several sub-domains to reverse proxy ...
Zetaix's user avatar
  • 41
4 votes
0 answers
3k views

ManagedPipelineHandler - IIS 8.5 intermittent error 500

on our production server we suddenly have intermittent error 500, checking the failed request log I can see the following, but it doesn't help me too much, I can't see where the problem is. Is it ...
Zirc75's user avatar
  • 141
3 votes
1 answer
2k views

LAMP: Custom 500 error page - is it actually possible?

As the Question title suggests, I want to setup a custom 500 error. In fact, I want to use a .php file for the error, and ideally send a 503 response (SE Reasons). The problem is that the only way I ...
Clueless's user avatar
3 votes
2 answers
5k views

500 error after mod_fcgid error

I have this error on my sever: [Mon Feb 27 09:56:03 2012] [error] mod_fcgid: process /var/www/php-fcgi-scripts/web111/.php-fcgi-starter(7847) exit(communication error), get unexpected ...
Oleg Abrazhaev's user avatar
3 votes
2 answers
5k views

PHP Woes - 500 Internal Server Error (brand new server)

Anyone ever seen these errors, or something like it? /usr/bin/php: error while loading shared libraries: libcom_err.so.2: failed to map segment from shared object: Cannot allocate memory [warn] UID ...
Shackrock's user avatar
  • 208
3 votes
2 answers
3k views

IIS 8.0 500.19 error on only the first request

I am running IIS 8.0 locally on my machine for testing purposes. I have installed PHP through the web platform installer and everything is working correctly. The only issue I'm running into is the ...
Aaron's user avatar
  • 742
3 votes
3 answers
12k views

FastCGI Error when installing PHP on IIS7.5

I'm trying to install MediaWiki on a Win2008r2 server, but can't manage to install PHP. Here's what I did: Grabbed a Zip archive of PHP and unzipped it into C:\PHP. Created two subdirs: c:\PHP\...
ytoledano's user avatar
  • 173
3 votes
1 answer
7k views

How do I trouble shoot an Apache 500 Internal Server Error? (restart, status, tail... then what?)

Here's what I've done so far [username@VMname /]$ sudo /etc/init.d/httpd restart [username@VMname /]$ sudo /etc/init.d/httpd restart Stopping httpd: [ OK ]...
blunders's user avatar
  • 833
3 votes
3 answers
13k views

IIS6 + PHP + FastCGI 500 Errors - Where to start looking?

I've set up IIS6 with FastCGI to use php-cgi.exe. I have some php websites by external parties, that I'm trying to run in a test environment. One of the websites just plain gives me a FastCGI Error ...
Bertvan's user avatar
  • 133
3 votes
1 answer
1k views

IIS 10 (Server 2022) error 500 with name, 404 with ip

I've got a new server 2022 setup I'm just getting up and running, and when pulling a page from IIS, I get a 500 error if I use the name in the URL, but get a 404 if using IP. The difference between ...
CraziFuzzy's user avatar
3 votes
1 answer
2k views

Apache: show error message in browser for 500 Internal Server Error

When Apache shows 500 Internal Server Error page, there is no information about the error itself. It can be error in .htaccess or something different, but you'll never know until you look into error....
cronfy's user avatar
  • 701
3 votes
1 answer
1k views

What is the difference between TRIGGER_STATUS and FINAL_STATUS for HTTP request status codes in IIS 7.5?

I'm looking at a server running IIS 7.5 that is throwing generic HTTP 500s for some requests, with no further error reporting or substatus code evident anywhere. So I enabled Failed Request Tracing ...
James Lupolt's user avatar
3 votes
1 answer
4k views

Apache 500 when proxying URLS with %20 via mod_proxy

We are receiving a 500 out of Apache while proxying calls to tomcat when there is an encoded space in the URL. We are migrating an application that ran fine on a J2EE container which had an older, ...
Matt Franklin's user avatar
3 votes
0 answers
2k views

Pyramid + Nginx + uWSGI Server 500 Errors

I have a uWSGI application written in Python using the Pyramid framework. Nginx is configured like below (I left out a few bits, but I don't think they will matter): upstream uwsgicluster { ...
Jeremy Allen's user avatar
3 votes
2 answers
10k views

Subversion gives Error 500 until authenticating with a web browser

We used to use Collabnet SVN/Apache combo on a Windows server with LDAP authentication, and whilst the performance wasn't brilliant it used to work perfectly. After switching to a fresh Ubuntu 10 ...
Mark Henderson's user avatar
2 votes
2 answers
2k views

nginx prevent cache for proxy/fast_cgi on response 5xx

I have nginx with backend nodejs/php-fpm backend how tell the nginx dont cache the response 5xx or 4xx even it's matched for cache parameters. PHP/Node.js header response long cache time via http ...
Mohammad Hossein Fattahizadeh's user avatar
2 votes
2 answers
3k views

Wordpress full size image error 500 on IIS 7.5

I'm using wordpress on my Win Server 2008 R2. When I try to view an uploaded image, I get error 500. All the small preview images work. Working: /wp-content/uploads/2010/09/image-60x60.jpg /wp-...
Mike Koder's user avatar
2 votes
2 answers
3k views

.htaccess time on godaddy

I'm trying to run a cakephp application on a godaddy linux account. The problem is that i get the error 500. I've read on cakephp discussion group that i have to edit the .htaccess file. 1) How much ...
dole doug's user avatar
  • 285
2 votes
3 answers
2k views

Forward Apache 500 status to 404

Short version: We'd like Apache to catch when a 500 status is given and return something like 404 instead. Is there a way to do this? Longer version: These servers are running applications that aren'...
William W's user avatar
  • 127
2 votes
2 answers
4k views

http 500 error on first visit only

The first time I visit a site I get a 500 - Internal server error. When I hit reload the site works just fine and will continue to work. If I open a different browser or close and reopen the current ...
Justin808's user avatar
  • 307
2 votes
1 answer
4k views

IIS cannot serve images due to impersonation?

We have a brand new Windows2012R2 server. We have installed the IIS features on it (including static content). Then we have deployed a web site on it (using copy). When we surf to the web site, HTML, ...
Klas Mellbourn's user avatar
2 votes
1 answer
896 views

How to get line number of error that .htaccess apache2 is reporting in /var/logs/error.log

I get a internal server error after adding redirects to .htaccess - I've added 600 of them. I check /var/logs/error.log [Wed May 12 16:26:02.600394 2021] [core:alert] [pid 8071] [client 127.127.127....
therobyouknow's user avatar
2 votes
2 answers
13k views

Detailed Errors not working for WCF Service in IIS

If I were to change the web.config file to have errors in it, I only see the standard 500 - Internal Server Page. Despite setting the Error Pages mode to Detailed, I can't see a detailed error ...
Marcus's user avatar
  • 400
2 votes
1 answer
3k views

CGI Died, error log [closed]

I've been getting some 500 internal server errors on my website every so often, so I had a look at the error log. I am using lighttpd with Kloxo (lxadmin) installed. I have xcache enabled. 2011-04-...
Greatestswordsman's user avatar
2 votes
1 answer
1k views

IIS7 IE9 PHP Errors Hidden - Error 500 - How to show detailed PHP errors?

I scrutinized every single article that there is on the web for this one but NO JOY! I am getting the infamous error 500 after that I have installed internet explorer 9. Here is a detailed step of ...
sandy's user avatar
  • 21
2 votes
2 answers
7k views

IIS 7.5 error 500 in fastcgi module after upgrading wordpress to 3.0.2

I am running multiple wordpress blogs on the following setup: Server 2008 R2; IIS 7.5; PHP 5.3.3; MySQL 5.0.7; I upgraded my wordpress install from 2.9.2 to 3.0.2 (on 2 different sites) today and ...
Maniac13's user avatar
2 votes
2 answers
8k views

Continuing permissions issues - ASP.net, IIS 7, Server 2008 - 0x80070005 (http 500.19) error

I created an ASP.net MVC developed web application and I am trying to set up IIS. The Error: Http error 500.19, error code 0x80070005, Cannot read configuration file due to insufficient permissions, ...
Re-Pieper's user avatar
2 votes
0 answers
354 views

Nextcloud internal server error after server upgrade

I upgraded my server today from Debian 9 to Debian 10 and installed PHP 7.3 with all modules needed for NC but when I try to open the website I get "internal server error. More details can be ...
webhead's user avatar
  • 21

1
2 3 4 5