Tag Info

Hot answers tagged

11

Add retry=0 to your ProxyPass lines: ProxyPass / http://127.0.0.1:4711/ retry=0 From the mod_proxy documentation: Connection pool worker retry timeout in seconds. If the connection pool worker to the backend server is in the error state, Apache will not forward any requests to that server until the timeout expires. This enables to shut down the ...


11

You've mentioned "IIS Log File" (singular), but there are always two logs you need to evaluate: W3SVCnn logs (C:\Inetpub\Logs) from the website worker process, and HTTPERR logs (C:\Windows\System32\Logfiles\HTTPERR) from HTTP.SYS, which routes requests to worker processes and provides a kernel-mode queue designed to buffer clients from worker process ...


7

The error message means (line number references refer to varnish 2.1.3): While fetching a header [bin/varnishd/cache_fetch.c:399], either: a) an overflow occurred [bin/varnishd/cache_httpconn.c:170] or b) a error occurred when calling read() [bin/varnishd/cache_httpconn.c:175] The number at the end is the value of errno, so since it's 0 (no error) I ...


4

You need to restart the vmware management services. Luckily, this is easy (since you have SSH access) and non-impactful to the virtual machines. In a nutshell, SSH to the esx frame as root and then run one of the two following commands (depending on if it is esx/i): For ESX: service mgmt-vmware restart For ESXi: /sbin/services.sh restart See this ...


3

Turns out that somehow my 'Connection Limit' setting had been set to 1. Fixed this by opening IIS Manager, selecting the website, clicking 'Advanced Settings' (in the sidebar), expanding 'Connection Limits' and changing 'Maximum Concurrent Connections' to 10.


3

Are you aware Varnish does NOT deal with HTTPS ? I'm not sure what you're trying to do, but your backend listen on 443 which is a bit weird. If your traffic is SSL, you probably need something like nginx(ssl)-varnish(nossl)-nginx(nossl)-passenger. This setup is not that uncommon, and you can use the same nginx.


3

To answer your question in the same general way it's presented; your problem most likely lies between your apache daemon and the area defined as "external". I assume you are using private range IP Addresses internally, since you talk of port-forwarding (The next time, don't redact those. There is no point to it, which you should realize if you remember your ...


2

Badly Badly misread the title of the question - Long day. The command directive you are looking for is this: JkMountFile You would put this directive in your httpd.conf (or a seperate mod_jk.conf depending on how you are setup) From the documentation for apache File containing multiple mappings from a context to a Tomcat worker. It is usually called ...


2

You can do so by setting an error page. error_page 502 =503 /maintenance.html


2

From this page: https://calomel.org/nginx.html ## System Maintenance (Service Unavailable) if (-f $document_root/system_maintenance.html ) { error_page 503 /system_maintenance.html; return 503; } The important part being the '-f', I believe - it tests to see if the file exists.


2

you should really fix the problem, but you could run something like this for a temp solution: #!/bin/sh HTTP_STATUS=`lynx -head -source http://mysite.com |head -1 |awk '{print $2}'` if [ "$HTTP_STATUS" = "503" ] ...


2

I don't think you can, or should. You're much better leaving the server as-is and trying to find the root of the problem. IMHO, restarting on error is a bad policy in general. If you still insist, try looking at something like SWATCH to monitor your apache logs and act on a 503 error.


2

503 errors are normally related to errors on an application being served or a configuration error. It should be on apache's error log (if you don't have an error log, enable it on the configuration with the ErrorLog directive and control what level of error logging you want with LogLevel). You can use monit to check a page and see if the HTTP code from a ...


2

A 503 error from Varnish usually means either: You have configured backend health checks and the health check has failed, or Varnish is simply unable to contact your backend server (e.g., the connection has taken more than connect_timeout seconds, or was refused, etc). Since (a) doesn't apply to your configuration, I'm guessing (b). What does the ...


2

Does a standard html page also fail? I would double check that the cert is correct and that the binding in another site isn't taking precedence. Also, if you check the IIS logs, it will confirm that the correct site is receiving the request, and if you check the sub-status code, it will give further details on the specifics of the 503.


2

To get a better understanding of why some requests fail with HTTP 503, you could set up Failed Request Tracing. Add a rule matching status code: 503, and add all available providers. If you don't use the Default Website for anything, just go ahead and remove it.


2

Our cloud provider came up with the answer - I wish I could name them here. The Windows server had a dot in the name like this: my.server which is not allowed on non-domain machines. Windows never complained about the invalid machine name, nor did IIS, but it caused the listeners and thus the application pool to fail. Changed the machine name and all is ...


2

The proxy configuration is trying to pass the request to localhost:8080. Whatever destination server is not accepting requests on port 8080


2

There isn't any exact equivalent for Nginx because it's not really needed. Nginx itself will not be your bottleneck, that much is almost guaranteed. That's not to say you won't have issues, though. Most likely your backend will peak the CPU or you'll run out of bandwidth to serve the files. Nginx is a HTTP reverse proxy, though, it doesn't want to monitor ...


2

Check whether the Application Pool serving the web site/web application is Stopped. If it is, start it, browse to the ASP.NET page again. If it fails again, still with "HTTP Error 503. The service is unavailable", open the Event Viewer (eventvwr), open the application log, and see if there are any errors indicating worker process or application pool ...


2

"if" and "return" directives are the part of ngx_rewrite_module. Since you declare such condition at server level you don't live a chance to nginx to handle error_page. Make your config clear: root /home/igel/www/stage.example.com/current/public; error_page 503 /system/maintenance.html; location / { if ( -e /system/maintenance.html ) { ...


2

This doesn't work? location / { return 503; } There might be some tricks you have to use to get assets to show up on your custom error page (i.e., say your 503.html has an image in it. You have to do some logic to make the image show up with a 200 code, otherwise it'll be missing with a 503).


2

You can see clearly that Drupal generated the 503 Service Unavailable error. When you put Drupal in maintenance mode, it serves this error to anyone who is not already logged in with sufficient rights. That includes Googlebot. To resolve the issue, take Drupal out of maintenance mode.


2

Sounds like you're on a shared web-hosting server and it's unable to cope with the incoming http requests (not just for your site(s) but for everyones). One way to ensure this doesn't happen is to have a degree of dedicated resources and control over their allocation by using a VPS or Dedicated Server to host your site. Otherwise, there's not much you can do ...


2

The redirect from the root to the Citrix site is performed on Web Interface server, rather than through the Secure Gateway. You should check the Web Interface directly, bypassing CSG.


1

This VMware KB article seems to match your described symptom. Verify that your DNS is up and running from the ESXi server's point of view. Option 2: Can you verify, that your vCenter Server is up, and the service is started?


1

From the HAProxy configuration guide you need to increase the maxconn parameter on your server declaration. When a server has a "maxconn" parameter specified, it means that its number of concurrent connections will never go higher. Additionally, if it has a "minconn" parameter, it indicates a dynamic limit following the backend's load. The ...


1

Ok I figured it out, thanks to jgoldschrafe. I tried netstat -ptan and found that there was no Mongrel process running on port 3000 as there should have been, indicating that /etc/init.d/redmine was failing. Indeed, I removed the -d (debug) flag and found that there was a large error backtrace regarding a plugin that was installed recently. I removed the ...


1

I Solved the issue by uninstalling widecap ServiceInstance.RetrieveContent Error


1

It looks like the temp IIS profile that is used (normal for IIS) can't be created. I bet you will have the same issue if you create a new user and try to use it. In other words, the root issue is not related to IIS. I don't know what symimv.cat is, but nothing turns up on a google search. Is that something custom that you or your corporate team have ...



Only top voted, non community-wiki answers of a minimum length are eligible