Proxy authentication doesn't work

marketplace

(Silvio) #1

Hello,
I’m using sonarqube-7.2.1 and I tried to update the plugin fron the marketplace, but without success.
The server is behind a proxy and I set the parameters in the sonar.properties:

HTTP proxy (default none)

http.proxyHost=xxx.internal
http.proxyPort=xxx

HTTPS proxy (defaults are values of http.proxyHost and http.proxyPort)

https.proxyHost=xxx.internal
https.proxyPort=xxx

NT domain name if NTLM proxy is used

#http.auth.ntlm.domain=

SOCKS proxy (default none)

#socksProxyHost=
#socksProxyPort=

Proxy authentication (used for HTTP, HTTPS and SOCKS proxies)

http.proxyUser=xxx
http.proxyPassword=xxx
https.proxyUser=xxx
https.proxyPassword=xxx

but when i click on the marketplace tab I receive the following error:
2018.10.02 17:05:54 DEBUG web[AWY1UEhIgFpPZemFAAAd][s.n.w.p.h.HttpURLConnection] sun.net.www.MessageHeader@387fc3ea8 pairs: {null: HTTP/1.1 407 Proxy Authentication Required}{Proxy-Authenticate: BASIC realm=“PROXY_INTERNET”}{Cache-Control: no-cache}{Pragma: no-cache}{Content-Type: text/html; charset=utf-8}{Proxy-Connection: close}{Connection: close}{Content-Length: 849}
2018.10.02 17:05:54 ERROR web[AWY1UEhIgFpPZemFAAAd][o.s.s.p.UpdateCenterClient] Fail to connect to update center
org.sonar.api.utils.SonarException: Fail to download: https://update.sonarsource.org/update-center.properties (HTTP proxy: xxx:xxx)

Caused by: java.io.IOException: Unable to tunnel through proxy. Proxy returns “HTTP/1.1 407 Proxy Authentication Required”

Do you have any hints about?

Kind regards
Silvio