I am having sonarqube in docker container with postgres database with versions 7.9 LTS for sonarqube and Postgres 10.
My sonarqube is running fine with this setup, however my Jenkins server is running on different host and I created a token in my sonarqube and added that token to my Jenkins server and tried running a pipeline for one of the sample project, I am getting below error message in my pipeline output.
16:21:01.386 Failed to request and parse ‘http://sonarqube.example.com./api/server/version’: An error occurred while sending the request. A security error occurred.
I tried searching for this error, but not able to find any resolution.
Do I need to install any plugin or any kind of configuration is needed(like proxy settings, etc)?
Could anyone came across such issue or has any pointers, please share.
Your help will be much appreciated.