We are using sonarqube 7.9. When we use sonar analyzer, it download many plugins. But it fails many the times. I believe there is something going on at the server end when the plugin is download with &acceptCompressions=pack200 option (captured from DEBUG of scanner). I tried to curl the plugin download URL with and without above option. And it succeeds 99% of time without compression option. If I use the option it always fails to download after some time.
Mostly getting the error curl: (56) SSL read: error:00000000:lib(0):func(0):reason(0), errno 104
curl -o test15.jar https://sonar…server.com/api/plugins/download?plugin=cpp&acceptCompressions=pack200
I doubt whether any setting is required in sonar server. If I use compression does it use too much JVM? Do we have any recommended settings for server? Also, can we cache these plugins instead of download from server always?
Any help will resolve lot of problems as many of our production pipelines are stuck because of this.