All attempts to retrieve security information have failed

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

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 URLs 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 curl requests. Expect the outputs 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;
curl -I https://beekeeper-server.beescloud.com/api/security-warnings

HTTP/2 200 
date: Thu, 18 Jul 2019 06:42:30 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;
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.