Troubleshoot the HTTP Error 403 (Forbidden) for Jenkins
When installing the Jenkins monitoring plugins, you may encounter the following error:
HTTP Error 403: Forbidden: This error usually indicates that you don't have the necessary permissions to access a particular resource or perform a specific action in your Jenkins environment.
Follow the steps below to troubleshoot the issue.
- Inspect the API key and credentials in the .cfg file: Ensure that you are using the correct API key and credentials in the plugin .cfg file so that the plugin can communicate with your Jenkins instance.
- Check Jenkins server status: Ensure that the Jenkins server is running, so that the server where the plugin and the Site24x7 server agent is installed is able to access Jenkins. A "502 Bad Gateway" error can occur if Jenkins is down or experiencing issues.
You can test the Jenkins URL in the server where Site24x7 server agent is installed to know the Jenkins server status:
curl http://jenkins-server:port/metrics/
Once you've made changes based on the checks above, restart the Site24x7 server monitoring agent or re-register the plugin. Within five minutes, you should be able to view performance metrics in Site24x7.
Related Articles
Troubleshoot Error 404, Error 111, and "no host given" error when installing the Apache plugin
When installing the Apache monitoring plugin, you may encounter the following errors: Error_code : URL Error no host given: The "no host given" error message typically indicates an issue with a URL or request that lacks a hostname. If you encounter ...
Troubleshoot Error 401 (Unauthorized error) for RabbitMQ
When installing the RabbitMQ monitoring plugins, you may encounter the following error: HTTP Error 401: Unauthorized: This error occurs when the user attempts to access the /api/overview endpoint of RabbitMQ server, which requires authentication, but ...
Troubleshoot "[Errno 111] Connection refused" error for RabbitMQ plugins
When installing the RabbitMQ plugin, you may encounter the following error: urlopen error [Errno 111] Connection refused: This error usually occurs when the plugin tries to connect with the RabbitMQ server but is unable to establish a connection. ...
Troubleshoot the Error 404 and Error 99 for RabbitMQ
When installing the RabbitMQ plugin, you may encounter the following errors: HTTP Error 404: Not Found: This error usually occurs when Site24x7's RabbitMQ monitoring plugin attempts to access the /api/overview page of RabbitMQ, but the resource ...
Troubleshoot connection errors in the MySQL plugin
When configuring the MySQL plugin, you may encounter the following errors: Error : Connection Error - This error typically indicates that there is a problem establishing a connection to the database. Sometimes, this message is supplemented with an ...