What is a 504 HTTP error?
504 Gateway Time-out is a type of HTTP error which is occured when your server is not responding in a particular time and SSH will return ssh_exchange_identification: read: Connection reset by peer
How do we fix Error 504?
If you are authorised developer of respective website you can diagnosis step by step process why your code is taking time as not expeted. This is server related issue as a normal user, you can’t have any option to fix this.
Real instance: I found that my one of client website is throwing 504 error.
Diagnosising below steps can solve 504 error
- You can increase script timout limit, but this may slow your application
- Created one test file to check server is working or not ex: talkforweb.com.au/test.php this was working fine
- Add die(‘stop’) code to check step by step where upto code is working
- Check external tool to check which file or query is taking time
- Change the Database connection with dummy random value to check is this is due to DB connection issue
I found that my RDS database storage-size is full, most of the 504 error is due to DB connection time taking issue. It took approx 2-3 minitues to modify DB size and starts working. But AWS modifiying status loader continusily showing status Modifying for many hours till upto I refresh the page.
How do I fix error 504 in Chrome?
This is server side issue and related to server you can’t fix this, you can try to clear your chrome or browser cache it may be fetching from browser cache.
What is a 503 HTTP error?
503 Service Temporarily Unavailable is a type of HTTP error which is occured when your server is not responding or stopped and in 503 error case SSH will return ssh_exchange_identification: Connection closed by remote host.
In simple example today I found that my website is throwing 503 error after diagnosising I found that my AWS instance is stopped. Once I started my instance it’s start working again.
How do we fix Error 503?
You can make sure that server is running properly or contact service provider, If you are authorised developer of respective website . This is server related issue as a normal user, you can’t have any option to fix this you can email to the administrator offline, if you wish.
How do I fix error 503 in Chrome?
This is server side issue and related to server you can’t fix this, you can try to clear your chrome or browser cache it may be fetching from browser cache.
For developer these steps are simple to diagnosis step by step files, but if you are not related to coding you should contact to developer