[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sonar-user
Subject:    Re: [sonar-user] HTTP Proxy auth configuration problem
From:       David Racodon <david.racodon () sonarsource ! com>
Date:       2012-12-27 18:37:28
Message-ID: CA+O9QaKyo-mgor_ODQoHO94B__i8KVH8gtKrHp1nqM+-mjQu7w () mail ! gmail ! com
[Download RAW message or body]

Hi S=E9bastien,

Would the following thread of discussion help:
http://sonar.15.n6.nabble.com/Fail-to-connect-to-update-center-when-Sonar-i=
s-started-as-a-service-and-under-a-proxy-td3185476.html
?

Regards,
*
*
*David RACODON | **SonarSource
**Senior Consultant*
http://sonarsource.com


On 27 December 2012 15:54, S=E9bastien Touzet <stouzet@agirc-arrco.fr> wrot=
e:

> Hello,
>
> I'm trying to configure Sonar to use the plugin update center with our ne=
w
> http proxy (with authentication).
> I've filled the sonar.properties without success.
>
> With "host/port/domain/user/password" calling update center always fails
> with :
>
> Caused by: java.net.ProtocolException: Server redirected too many  times
> (20)
>         at
>
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnect=
ion.java:1413)
> ~[na:1.6.0_22]
>         at
>
> org.sonar.api.utils.HttpDownloader$HttpInputSupplier.getInput(HttpDownloa=
der.java:200)
> ~[sonar-plugin-api-3.3.2.jar:na]
>         at
>
> org.sonar.api.utils.HttpDownloader$HttpInputSupplier.getInput(HttpDownloa=
der.java:184)
> ~[sonar-plugin-api-3.3.2.jar:na]
>         at com.google.common.io.CharStreams$2.getInput(CharStreams.java:9=
1)
> ~[guava-10.0.1.jar:na]
>         at com.google.common.io.CharStreams$2.getInput(CharStreams.java:8=
8)
> ~[guava-10.0.1.jar:na]
>         at
> com.google.common.io.CharStreams.toStringBuilder(CharStreams.java:262)
> ~[guava-10.0.1.jar:na]
>         at com.google.common.io.CharStreams.toString(CharStreams.java:235=
)
> ~[guava-10.0.1.jar:na]
>         at
> org.sonar.api.utils.HttpDownloader.readString(HttpDownloader.java:149)
> ~[sonar-plugin-api-3.3.2.jar:na]
>         ... 354 common frames omitted
>
> I've tried to use the -Dhttp.XXX keys of the JVM without more success ...
>
> Any idea about what I'm doing wrong ?
>
>
>
> --
> View this message in context:
> http://sonar.15.n6.nabble.com/HTTP-Proxy-auth-configuration-problem-tp500=
6764.html
> Sent from the Sonar user mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>

[Attachment #3 (text/html)]

Hi Sébastien,<div><br></div><div>Would the following thread of discussion help: <a \
href="http://sonar.15.n6.nabble.com/Fail-to-connect-to-update-center-when-Sonar-is-sta \
rted-as-a-service-and-under-a-proxy-td3185476.html">http://sonar.15.n6.nabble.com/Fail \
-to-connect-to-update-center-when-Sonar-is-started-as-a-service-and-under-a-proxy-td3185476.html</a>?</div>
 <div><br></div><div>Regards,<br clear="all"><div><div><span \
style="font-family:arial,sans-serif"><font color="#000000"><font face="arial, \
sans-serif"><font><b><br></b></font></font></font></span></div><div><span \
style="font-family:arial,sans-serif"><font color="#000000"><font face="arial, \
sans-serif"><font><b>David RACODON | </b></font></font></font><font \
color="#cc0000"><font face="arial, sans-serif"><font><b>SonarSource<br> \
</b></font></font></font><i>Senior Consultant</i></span></div><div><span \
style="font-family:arial,sans-serif"><a href="http://sonarsource.com/" \
style="color:rgb(0,101,204)" target="_blank"><font \
color="#cc0000">http://sonarsource.com</font></a></span></div> </div>
<br><br><div class="gmail_quote">On 27 December 2012 15:54, Sébastien Touzet <span \
dir="ltr">&lt;<a href="mailto:stouzet@agirc-arrco.fr" \
target="_blank">stouzet@agirc-arrco.fr</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> Hello,<br>
<br>
I&#39;m trying to configure Sonar to use the plugin update center with our new<br>
http proxy (with authentication).<br>
I&#39;ve filled the sonar.properties without success.<br>
<br>
With &quot;host/port/domain/user/password&quot; calling update center always \
fails<br> with :<br>
<br>
Caused by: java.net.ProtocolException: Server redirected too many  times<br>
(20)<br>
        at<br>
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1413)<br>
 ~[na:1.6.0_22]<br>
        at<br>
org.sonar.api.utils.HttpDownloader$HttpInputSupplier.getInput(HttpDownloader.java:200)<br>
 ~[sonar-plugin-api-3.3.2.jar:na]<br>
        at<br>
org.sonar.api.utils.HttpDownloader$HttpInputSupplier.getInput(HttpDownloader.java:184)<br>
 ~[sonar-plugin-api-3.3.2.jar:na]<br>
        at com.google.common.io.CharStreams$2.getInput(CharStreams.java:91)<br>
~[guava-10.0.1.jar:na]<br>
        at com.google.common.io.CharStreams$2.getInput(CharStreams.java:88)<br>
~[guava-10.0.1.jar:na]<br>
        at<br>
com.google.common.io.CharStreams.toStringBuilder(CharStreams.java:262)<br>
~[guava-10.0.1.jar:na]<br>
        at com.google.common.io.CharStreams.toString(CharStreams.java:235)<br>
~[guava-10.0.1.jar:na]<br>
        at<br>
org.sonar.api.utils.HttpDownloader.readString(HttpDownloader.java:149)<br>
~[sonar-plugin-api-3.3.2.jar:na]<br>
        ... 354 common frames omitted<br>
<br>
I&#39;ve tried to use the -Dhttp.XXX keys of the JVM without more success ...<br>
<br>
Any idea about what I&#39;m doing wrong ?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a \
href="http://sonar.15.n6.nabble.com/HTTP-Proxy-auth-configuration-problem-tp5006764.html" \
target="_blank">http://sonar.15.n6.nabble.com/HTTP-Proxy-auth-configuration-problem-tp5006764.html</a><br>


Sent from the Sonar user mailing list archive at Nabble.com.<br>
<br>
---------------------------------------------------------------------<br>
To unsubscribe from this list, please visit:<br>
<br>
    <a href="http://xircles.codehaus.org/manage_email" \
target="_blank">http://xircles.codehaus.org/manage_email</a><br> <br>
<br>
</blockquote></div><br></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic