Here are few of the common errors you may come across in URL monitor, we have mentioned the steps you can follow to troubleshoot them.
General troubleshooting for URL monitor
Ensure that the URL is accessible from the server in which Applications Manager is installed. You can check that by accessing the URL in a browser or in cURL/Wget.
If the URL is accessible from the server but Applications Manager cannot connect to it, then check the proxy configuration of your system and Applications Manager, ensure they are the same.
For GET URLs, check if the response code being returned by the URL in a browser is the same as the one shown in Applications Manager. To do this,
-
Open a browser in Applications Manager server.
-
Press F12 or open the Network tab in developer tools.
-
Access the problematic URL and check the response code in the Network tab for the URL.
-
If the same response code is shown in Applications Manager then the URL's default response code is not 200.
-
In such cases, modify the "Error if Response Code is" condition to "!=" the URL's default response code.
SSL Handshake Error
Response Code: 615
URL monitors added with
https://
at times can have an issue in establishing a secure connection to the URL's server. In such a case this error message is shown.
Here is how to troubleshoot it
.
Authentication Failed
Response Code: 401
Bad Request
Response Code: 400
Forbidden URL
Response Code: 403
Forbidden URL error indicates that the agent making the request does not have the privilege to access the resource. In such cases, check the User-Agent value associated with the url monitor. You can get your User-Agent's value from
https://www.whatismybrowser.com/detect/what-is-my-user-agent
. After entering the value in the edit monitor screen, update the URL monitor and poll the monitor a couple of times and check.
Page Not Found
Response Code: 404
This error indicates that the server can not find the requested resource i.e., the URL is not recognized. Check the URL added for monitoring confirm if it can be accessed successfully from the server where Applications Manager is installed.
Invalid HTTP request method
Response Code: 405
As indicated by the same, the HTTP method used to make the request is invalid. If the URL is using GET then change the request type to POST and vice versa. After this poll the monitor and check. Check the URL's documentation for which HTTP methods does it support.
Internal Server Error
Response Code: 500
Bad Gateway
Response Code: 502
Bad Gateway server error response indicates that the server, while acting as a gateway or proxy, received an invalid response from the upstream server.
Here is how to troubleshoot it
.
Service Unavailable
Response Code: 503
The server is not ready to handle the request. Common causes are a server that is down for maintenance or that is overloaded.
Here is how to troubleshoot it
.
Gateway Timeout
Response Code: 504