Troubleshooting
Debugging mail delivery
Table of ContentsCheck if PHP is sending mails Magento is misconfigured Mail quality issues (DNS, SPAM etc.) Viewing mail logsIf you find that emails aren't being delivered, there are some basics to check first to rule out your application and your DNS settings before escalating an issue with the support team. Check if PHP is … Continue reading
502 Bad Gateway
Table of Contents502 Bad Gateway Resolution 502 Bad Gateway MageStack Bad Gateway errors occur when the PHP process has not responded "normally". This is often for the following reasons, PHP code error Badly written PHP code that crashes the PHP process PHP service restarts, caused by Excessive traffic Blocking external requests (like slow SQL, or … Continue reading
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 have received this message in error please contact the site administrator. This message is displayed … 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 try again within the next few minutes. If you believe you have received this message … Continue reading
Setting correct MTU for OpenVPN
Table of ContentsSymptoms of incorrect MTU Identifying correct MTU Setting the MTUVPN connections can be sensitive to incorrect/low MTU set within your network, or on networks between you and your server. It is important that the correct MTU is set, to ensure fast and error-free VPN performance. Symptoms of incorrect MTU Slow VPN performance Incomplete … Continue reading
404 Fallback
Table of ContentsDynamic Files Static ContentIn MageStack, the 404 fallback mechanism revolves around the bootstrap of Magento (index.php). Dynamic Files When working in the context of dynamic files, there is no such thing as a server generated 404 page - as we need every non-existent URI to hit Magento itself (after looking for a file … Continue reading
Debugging with PHP Access logs
The PHP access logs have been customised to include additional MageStack information for debugging. A typical access log entry will look like this, - - 10/Jul/2014:22:27:49 +0100 "GET /index.php" 200 The default format is "%R - %u %t "%m %r" %s" Decompiling the log entry reveals, Column Value Field 1 - Remote IP Address 2 … Continue reading
PHP Application Error Logs
Table of ContentsPHP Error log PHP Daemon log PHP Slow log PHP Suhosin logThere are 4 different types of PHP logs on MageStack PHP Error log PHP Daemon log PHP Slow log PHP Suhosin Security log PHP Error log This is per domain group and shows PHP syntax errors at the application level for the … Continue reading
Debugging with Nginx access logs
The Nginx access logs have been customised to include additional MageStack information for debugging. A typical access log entry will look like this, "[23/Aug/2019:15:38:23 +0100]" "example.com" "www.example.com" "192.168.1.1" "US" "199542" "https://www.example.com" "Mozilla/5.0" "Dynamic" "Frontend" "-" "-" "-" "200" "954" "0.000" "-" "GET / HTTP/1.1" Decompiling the log entry reveals, Column Value Field 1 10/Jul/2014:22:27:49 +0100 … Continue reading
Centralised logging with custom logs
Table of ContentsFile Read UDP Stream FormatYou may have some applications that you wish to be centrally logged (along with the MageStack core applications). You can send any type of file/stream to your central logging server using two methods. Be aware that sending Magento system/exception logs, whilst possible, isn't always desirable if you have any … Continue reading