Issue
The Security Warnings section of the Manage Jenkins
page is displaying a warning:
Security fixes information could not be retrieved due to an unexpected error
Further information about this issue can be found in the logs as the following:
2019-07-09 17:35:11.286+0000 [id=5124] SEVERE c.c.j.p.a.m.SecurityWarningDataProvider$SecurityWarningsRestClient$1#onStatusReceived: SECURITY-WARNING_ERROR: Beekeeper server is responding 407 code when connecting to 'https://beekeeper-server.cloudbees.com/api/security-warnings' to retrieve security warnings information
2019-07-09 17:35:11.291+0000 [id=5124] SEVERE c.c.j.p.a.m.SecurityWarningDataProvider$SecurityWarningsRestClient$1#onThrowable: SECURITY-WARNING_ERROR: java.lang.NullPointerException thrown: null
Environment
-
CloudBees CI (CloudBees Core) on modern cloud platforms - Managed controller
-
CloudBees CI (CloudBees Core) on modern cloud platforms - Operations Center
-
CloudBees CI (CloudBees Core) on traditional platforms - Client controller
-
CloudBees CI (CloudBees Core) on traditional platforms - Operations Center
Resolution
This error is due to communication issues with our servers for retrieving security information at the URL https://beekeeper-server.cloudbees.com/api/security-warnings
which is one of the URLs that you have to grant access to as explained in this document
This is most often caused by proxy settings interfering with this communication.
-
You will need to verify the settings in place at
Manage Jenkins -> Manage Plugins -> Advanced
to ensure that communication to the Beekeeper url is allowed.
You can also test out the connection through the proxy settings.
-
Navigate to
Manage Jenkins -> Manage Plugins -> Advanced
-
In the
HTTP Proxy Configuration
section, click theAdvanced
button to see theTest URL
field. -
Enter the url from above and click
Validate Proxy
to run a test.
Once you confirm that connection can be established, please go to "Manage Jenkins" > "Configure System" and look for "Administrative monitors configuration". Expand the list of administrative monitors and re-enable the "Security Warnings Monitor".