Error 503: Service temporarily unavailable.
-
The login page for my website is currently giving an error 503 instantly (theres no delay between pressing enter to go to the web address and the message; it doesnt spend time thinking or trying to load). How do I fix this? the website works fine I can access the main site but just can’t login.
I’ve messaged fasthosts (the hoster), initially they said:
“A 504 gateway timeout error can occur when a plugin hits the server limits and if it doesn’t respond quickly enough when attempting to view a website.To ensure platform stability and avoid excessive usage of the shared server resources, a limitation is set. Scripts on our hosting platform are set to time out after a period of time. This ensures that a single script cannot use excessive server resources and affect other users. There is a maximum execution timeout of 60 seconds for the current server you got. Once this is exceeded, the website will throw an error message like 504 Gateway Timeout or it will fail to function.
Based on the logs, one of the plugins or scripts exceeded the 60 seconds timeout set on the server.
[Mon Dec 12 03:01:15.267146 2022] [fcgid:warn] [pid 178962] [client 185.119.81.102:44170] mod_fcgid: read data timeout in 60 seconds
[Mon Dec 12 03:01:15.267198 2022] [core:error] [pid 178962] [client 185.119.81.102:44170] End of script output before headers: php80-cgi
We will advise you to adjust this according to limitation and avoid excessive usage of the shared server resources. “
I then advised them we couldn’t solve this because we could not log in, there next response is completely rediculous, I have no idea what they are talking aboutg and they seem to just be trying to use complex or meaningless words to confuse me:“
You can try to add these codes on your .htaccess file.
1. Enable Compression
<IfModule mod_deflate.c>
# Compress HTML, CSS, JavaScript, Text, XML and fonts
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE application/x-font
AddOutputFilterByType DEFLATE application/x-font-opentype
AddOutputFilterByType DEFLATE application/x-font-otf
AddOutputFilterByType DEFLATE application/x-font-truetype
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE font/opentype
AddOutputFilterByType DEFLATE font/otf
AddOutputFilterByType DEFLATE font/ttf
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE image/x-icon
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/xml
</IfModule>
2. Leverage Browser Cache
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg “access 1 year”
ExpiresByType image/jpeg “access 1 year”
ExpiresByType image/gif “access 1 year”
ExpiresByType image/png “access 1 year”
ExpiresByType text/css “access 1 month”
ExpiresByType text/html “access 1 month”
ExpiresByType application/pdf “access 1 month”
ExpiresByType text/x-javascript “access 1 month”
ExpiresByType application/x-shockwave-flash “access 1 month”
ExpiresByType image/x-icon “access 1 year”
ExpiresDefault “access 1 month”
</IfModule>”Has anyone had this problem and knows how to fix it? Please put it in plain english, step by step, I am not some software developer just an average joe.
-
Hi there! It looks like you were aiming to post on the forums of WordPress.org where the WordPress software comes from, but have landed on the support forum for WordPress.com sites instead.
We are oriented towards helping with sites that are hosted here with us, so we’re not your best point of contact; but you can get to the WordPress.org forums at this address:
https://wordpress.org/support/forums
Hope this helps point you in the right direction!
- The topic ‘Error 503: Service temporarily unavailable.’ is closed to new replies.