Issue
- How to resolve the error:
All attempts to retrieve security information have failed. In case it keeps happening, Security Warning Monitor will be disabled. Please visit the Documentation Site to see how to proceed.
Environment
- CloudBees CI (CloudBees Core) on modern cloud platforms - Managed Master
- CloudBees CI (CloudBees Core) on modern cloud platforms - Operations Center
- CloudBees CI (CloudBees Core) on traditional platforms - Client Master
- CloudBees CI (CloudBees Core) on traditional platforms - Operations Center
- CloudBees Jenkins Enterprise - Managed Master
- CloudBees Jenkins Enterprise - Operations Center
- CloudBees Jenkins Platform - Client Master
- CloudBees Jenkins Platform - Operations Center
- CloudBees Jenkins Distribution
Description
When accessing Manage Jenkins page, I get notified that all attempts to retrieve security information have failed.
In addition, the log file repeatedly reports the errors:
SEVERE c.c.j.p.a.m.SecurityWarningDataProvider$SecurityWarningsRestClient#get:
SECURITY-WARNING_ERROR: (All attempts to retrieve security information have failed.
In case it keeps happening, Security Warning Monitor will be disabled)
java.util.concurrent.ExecutionException thrown: java.io.IOException: Remotely Closed
Resolution
The following URL should be accessible from the host where CloudBees Core instance is running:
Allows Beekeeper API URLs
Create new rules to whitelist the above URLs. Validate that CloudBees Core instance can access the requested URLs.
Open a terminal window on the questioned host, and run a curl
request.
Expect an output similar to
curl -I https://beekeeper-server.cloudbees.com/api/security-warnings
HTTP/2 200
date: Thu, 18 Jul 2019 06:43:40 GMT
content-type: application/json;charset=UTF-8
content-length: 433070
x-application-context: rest-api:8080
etag: "1560263227000"
strict-transport-security: max-age=31536000; includeSubDomains; preload;
0 Comments