dDos Mitigation Active

Table of ContentsSorry Resolution Sorry We've detected too many requests coming from your IP address and as a result you have been temporarily blocked until your traffic subsides. Please try again within the next few minutes. If you believe you … Continue reading

Page Load Timeout

Table of ContentsSorry Resolution Sorry We've been unable to load the page you requested in a timely manner; this may be because the server might be a little busy, or your request is taking longer to load than permitted. Please … Continue reading

Firewall access rules

Table of ContentsWhitelisting Port forwardingMageStack has an exhaustive 3-tier firewall policy that provides superb security and protection for your stack and store. However, in some cases, it may be necessary to bypass some of these security measures for trusted hosts. … Continue reading

Request Tagging and categorisation

Table of ContentsExamplesWeb requests that come in to the load balancer are classified into two different categories based on the URI. Following categorisation, requests are then tagged to denote the area in which they belong. All requests will be first … Continue reading

Implementing Varnish on Magento 1

Table of ContentsIs Varnish right for you? Implementation Automated installerIs Varnish right for you? Varnish isn’t the be-all and end-all of Magento performance. Its great to offset load from bots & window-shoppers – but it shouldn’t be your first port … Continue reading

DOS filter rules

Table of ContentsThresholds Identifying requests Search Engines False positives Whitelisting Viewing DOS Hits in KibanaThe denial of service filter works on a basic premise of two rules Dynamic requests Static requests MageStack classifies the type of request using a few … Continue reading

Debugging with response headers

Table of ContentsEnabling Debug Mode Enabling Whitelist Debug Mode Headers MageStack-Debug MageStack-Area MageStack-Cache MageStack-Cacheable MageStack-Cache-Lifetime MageStack-Cache-Status MageStack-Web-Node MageStack-Tag MageStack-Spdy MageStack-Whitelist-Debug MageStack-Whitelisted-Http-Host MageStack-Whitelisted-Uri MageStack-Whitelisted-Ip MageStack-Whitelisted-Useragent MageStack-PageSpeedMageStack sets a number of different response headers to help you identify how a request is … Continue reading

504 Gateway Timeout

Table of ContentsDefault timeouts Common issues Poorly written/slow PHP code Locked session Excessive traffic/high load Blocking requests Incorrectly tagged trafficThis is caused by the load balancer being unable to obtain a request from a web server in a reasonable amount … Continue reading

Purging the Redis cache via CLI

Table of ContentsDefault instances To flush all databases To flush a single databaseUsing telnet, you can execute remote commands on the Redis daemon; being able to flush database by command line can be essential if your Magento access is somehow … Continue reading

Troubleshooting Varnish/HAProxy/Nginx

Table of ContentsTesting Nginx Testing HAProxy Testing VarnishGiven there are 3 reverse proxies, if one is causing an issue, finding the cause can sometimes be difficult. Testing Nginx This can be tested by overwriting the IP address for the domain … Continue reading