1. 500 Internal Server Error: Server cannot process the request for an unknown reason. Error could be due to below issues:
-The most common cause for this error is server misconfigured or missing packages.
-Some malware had done some changes in code base and resulting this error
-Some files structure is not proper. Etc.
2. 502 Bad Gateway: Means that server is a Gateway or Proxy Server, and it is not receiving the valid response from the backend server. Error could be due to below issues:
-If web application is configured to listen on a socket, ensure that the socket exists in the correct location.
-The server is communicating through the port which proxy server is not allowing
3. 503 Service Unavailable: Means service is overloaded or under maintenance. This implies that the service should become available in sometime.
-If the server is not under maintenance, then it means that the server does not have enough CPU or memory to handle incoming requests. Server needs to be reconfigured to allow more users, threads, processes etc.
4. 504 Gateway timeout: Server not receiving response within specified time. Error could be due to below issues:
-Network connection between servers are weak.
-The backend server that is fulfilling the request is too slow due to poor performance
-Timeout duration set is too short.
Please follow below link for more interview questions:
https://automationbykr.blogspot.com/p...