Websites - Troubleshooting
Connection
External service to check uptime: Where’s It Up?
- Connection to upstream refused, Connection to upstream skipped, Upstream not ready, Cannot parse upstream response
- PHP
This site can’t be reached / server DNS address could not be found
- Check if the domain exists, isn’t expired or locked by the ICANN via a
whois
1, - Check the DNS resolution address.
Adding the domaine in the Domains menu is not enough to create a website. It is required to add the addresses in Web > Sites.
403 Forbidden
For websites using Apache it will per default look for a file named index.html
or index.php
for the home page. Rename your file or use the DirectoryIndex directive in an .htaccess
.
500 Errors
These errors may be returned by web servers (e.g. Apache), language runtime, or the application itself. Set debug logs to get more inputs on how to fix them.
Empty page
An empty page without a message or error code usually indicates an application issue: the returned code by HTTP logs is 200, stating that the request reached the application. Set debug logs to get more inputs on how to fix it.
Apache logs
Logs are available in the $HOME/logs/apache
directory.
Broken pipe / Connection reset by peer
Broken pipe: [client X.X.X.X:0] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
(104)Connection reset by peer: [client X.X.X.X:0] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
The connection was broken by the client. For example, because the visitor closed his tab while the page was not fully loaded. This is nothing unusual.
Premature end of script headers
Premature end of script headers: index.php, referer: https://example.org
The server stopped suddenly and Apache returned a 500 error. This should not happen under normal circumstances. This can be caused by many reasons (PHP bug, application bug, PHP process killed by the kernel, etc.).
You need to analyze all the logs at your disposal to find the cause: application logs, PHP logs…