Hello,

I am trying to configure artifactory to go through our proxy, with the NT
Host (the network name of the computer) und our Domain.

If i test the connection to repo1 it will succeed. But the indexer throws
exceptions:

2011-08-22 10:30:40,930 [art-exec-71] [WARN ]
(o.a.c.h.HttpMethodDirector:288) - Required credentials not available for
BASIC <any realm>@repo1.maven.org:80
2011-08-22 10:30:40,930 [art-exec-71] [WARN ]
(o.a.c.h.HttpMethodDirector:290) - Preemptive authentication requested but
no default credentials available
2011-08-22 10:30:40,930 [art-exec-71] [WARN ]
(o.a.c.h.HttpMethodDirector:288) - Required credentials not available for
BASIC <any realm>@repo1.maven.org:80
2011-08-22 10:30:40,930 [art-exec-71] [WARN ]
(o.a.c.h.HttpMethodDirector:290) - Preemptive authentication requested but
no default credentials available
2011-08-22 10:30:41,039 [art-exec-71] [ERROR]
(o.a.r.i.IndexerServiceImpl:388) - Indexing failed: Authentication state
already initialized.
2011-08-22 10:30:41,211 [art-exec-70] [INFO ]
(o.a.r.i.MavenIndexManager:243) - Successfully saved index file
'/repositories/repo/.index/nexus-maven-repository-index.gz' and index info
'/repositories/repo/.index/nexus-maven-repository-index.properties'.
2011-08-22 10:30:41,336 [art-exec-70] [INFO ]
(o.a.r.i.IndexerServiceImpl:236) - Finished repositories indexing...


The strange think is, that the connection test for the jboss repository
fails with an internal error:
2011-08-22 10:39:01,570 [pool-1-thread-3] [WARN ]
(o.a.c.h.HttpMethodDirector:288) - Required credentials not available for
BASIC <any realm>@repository.jboss.org:80
2011-08-22 10:39:01,570 [pool-1-thread-3] [WARN ]
(o.a.c.h.HttpMethodDirector:290) - Preemptive authentication requested but
no default credentials available
2011-08-22 10:39:01,570 [pool-1-thread-3] [INFO ]
(o.a.c.h.a.AuthChallengeProcessor:101) - ntlm authentication scheme selected
2011-08-22 10:39:01,570 [pool-1-thread-3] [WARN ]
(o.a.c.h.HttpMethodDirector:288) - Required credentials not available for
BASIC <any realm>@repository.jboss.org:80
2011-08-22 10:39:01,570 [pool-1-thread-3] [WARN ]
(o.a.c.h.HttpMethodDirector:290) - Preemptive authentication requested but
no default credentials available
2011-08-22 10:39:01,585 [pool-1-thread-3] [WARN ]
(o.a.c.h.HttpMethodDirector:288) - Required credentials not available for
BASIC <any realm>@repository.jboss.org:80
2011-08-22 10:39:01,585 [pool-1-thread-3] [WARN ]
(o.a.c.h.HttpMethodDirector:290) - Preemptive authentication requested but
no default credentials available
2011-08-22 10:39:02,085 [pool-1-thread-3] [WARN ]
(o.a.c.h.HttpMethodDirector:288) - Required credentials not available for
BASIC <any realm>@repository.jboss.org:443
2011-08-22 10:39:02,085 [pool-1-thread-3] [WARN ]
(o.a.c.h.HttpMethodDirector:290) - Preemptive authentication requested but
no default credentials available
2011-08-22 10:39:02,085 [pool-1-thread-3] [INFO ]
(o.a.c.h.a.AuthChallengeProcessor:101) - ntlm authentication scheme selected
2011-08-22 10:39:02,085 [pool-1-thread-3] [ERROR] (o.a.w.RequestCycle :1521)
- Authentication state already initialized
java.lang.IllegalStateException: Authentication state already initialized
at
org.apache.commons.httpclient.auth.AuthState.setPreemptive(AuthState.java:120)
[commons-httpclient-3.1.jar:na]
at
org.apache.commons.httpclient.HttpMethodDirector.executeConnect(HttpMethodDirector.java:487)
[commons-httpclient-3.1.jar:na]
at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:391)
[commons-httpclient-3.1.jar:na]
at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
[commons-httpclient-3.1.jar:na]
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
[commons-httpclient-3.1.jar:na]
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
[commons-httpclient-3.1.jar:na]
at
org.artifactory.webapp.wicket.page.config.repos.remote.HttpRepoPanel$3.onSubmit(HttpRepoPanel.java:163)
[artifactory-web-application-2.3.4.jar:na]
at
org.artifactory.common.wicket.component.links.TitledAjaxSubmitLink$1.onSubmit(TitledAjaxSubmitLink.java:60)
[artifactory-web-common-2.3.4.jar:na]
at
org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:143)
[wicket-1.4.10.jar:1.4.10]
at
org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
[wicket-1.4.10.jar:1.4.10]
at
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:286)
[wicket-1.4.10.jar:1.4.10]
at
org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119)
[wicket-1.4.10.jar:1.4.10]
at
org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
[wicket-1.4.10.jar:1.4.10]
at
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
[wicket-1.4.10.jar:1.4.10]
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
[wicket-1.4.10.jar:1.4.10]
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
[wicket-1.4.10.jar:1.4.10]
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
[wicket-1.4.10.jar:1.4.10]
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479)
[wicket-1.4.10.jar:1.4.10]
at
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312)
[wicket-1.4.10.jar:1.4.10]
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190)
[jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331]
at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:139)
[artifactory-web-application-2.3.4.jar:na]
at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:82)
[artifactory-web-application-2.3.4.jar:na]
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190)
[jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331]
at
org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:245)
[artifactory-web-application-2.3.4.jar:na]
at
org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:154)
[artifactory-web-application-2.3.4.jar:na]
at
org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:116)
[artifactory-web-application-2.3.4.jar:na]
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190)
[jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331]
at
org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:54)
[artifactory-web-application-2.3.4.jar:na]
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190)
[jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331]
at
org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:66)
[artifactory-web-application-2.3.4.jar:na]
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190)
[jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331]
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:424)
[jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331]
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
[jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331]
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494)
[jetty-security-7.0.2.v20100331.jar:7.0.2.v20100331]
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229)
[jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331]
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:931)
[jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:361)
[jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331]
at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
[jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331]
at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867)
[jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331]
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
[jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331]
at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:245)
[jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331]
at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
[jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331]
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)
[jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331]
at org.eclipse.jetty.server.Server.handle(Server.java:337)
[jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331]
at
org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:581)
[jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331]
at
org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1020)
[jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331]
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:775)
[jetty-http-7.0.2.v20100331.jar:7.0.2.v20100331]
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:228)
[jetty-http-7.0.2.v20100331.jar:7.0.2.v20100331]
at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:417)
[jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331]
at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:474)
[jetty-io-7.0.2.v20100331.jar:7.0.2.v20100331]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
[na:1.6.0_16]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[na:1.6.0_16]
at java.lang.Thread.run(Unknown Source) [na:1.6.0_16]

And the test of jfrog-libs fails with error code 407 (authentication
required...) 

And the funny thing is, that the index was able to create an index for both
jboss and jfrog-libs.
Are theses problems with the proxy config? if so, why are there different
exceptions?

--
View this message in context: 
http://forums.jfrog.org/Trying-to-go-through-a-proxy-tp6710665p6710665.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to