continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Venisse <emman...@venisse.net>
Subject Re: Unable to parse https authentication on pom upload
Date Fri, 10 Mar 2006 18:49:38 GMT
Perhaps we have a bug in our downloader. Can you look at it?

http://svn.codehaus.org/trunk/plexus-components/plexus-formica/src/main/java/org/codehaus/plexus/formica/util/MungedHttpsURL.java?rev=2921&root=plexus&view=auto

I don't have an authenticated https server, so i can't test it.

Emmanuel

Veerman, Christiaan a écrit :
> Input: https://svn.example.com:8443/trunk/extranet/pom.xml
> 
> NFO   | jvm 1    | 2006/03/10 10:18:19 | java.io.IOException: Server returned HTTP response
code: 401 for URL: https://svn.example.com:8443/trunk/extranet/pom.xml
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:800)
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(DashoA12275)
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at java.net.URL.openStream(URL.java:913)
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at org.codehaus.plexus.formica.util.MungedHttpsURL.isValid(MungedHttpsURL.java:111)
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at org.codehaus.plexus.formica.validation.UrlSourceValidator.validate(UrlSourceValidator.java:63)
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at org.codehaus.plexus.formica.DefaultFormManager.validateElements(DefaultFormManager.java:195)
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at org.codehaus.plexus.formica.DefaultFormManager.validate(DefaultFormManager.java:124)
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at org.codehaus.plexus.formica.DefaultFormManager.validate(DefaultFormManager.java:114)
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at org.codehaus.plexus.formica.action.AbstractEntityAction.execute(AbstractEntityAction.java:107)
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve.java:68)
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.java:70)
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> INFO   | jvm 1    | 2006/03/10 10:18:19 | 	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)

> 
> 
> Input: https://continuous:continuous@svn.example.com/trunk/extranet/pom.xml
> 
> INFO   | jvm 1    | 2006/03/10 10:21:25 | java.io.IOException: Server returned HTTP response
code: 401 for URL: https://svn.example.com/trunk/extranet/pom.xml
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:800)
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(DashoA12275)
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at java.net.URL.openStream(URL.java:913)
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at org.codehaus.plexus.formica.util.MungedHttpsURL.isValid(MungedHttpsURL.java:111)
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at org.codehaus.plexus.formica.validation.UrlSourceValidator.validate(UrlSourceValidator.java:63)
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at org.codehaus.plexus.formica.DefaultFormManager.validateElements(DefaultFormManager.java:195)
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at org.codehaus.plexus.formica.DefaultFormManager.validate(DefaultFormManager.java:124)
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at org.codehaus.plexus.formica.DefaultFormManager.validate(DefaultFormManager.java:114)
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at org.codehaus.plexus.formica.action.AbstractEntityAction.execute(AbstractEntityAction.java:107)
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve.java:68)
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.java:70)
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> INFO   | jvm 1    | 2006/03/10 10:21:25 | 	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> 
> 
> Thank you,
> 
> Christiaan
> 
> -----Original Message-----
> From: Emmanuel Venisse [mailto:emmanuel@venisse.net]
> Sent: Friday, March 10, 2006 8:07 AM
> To: continuum-users@maven.apache.org
> Subject: Re: Unable to parse https authentication on pom upload
> 
> Yes, the two first urls are invalid.
> 
> Do you have some trace in your logs for txo last urls?
> 
> Emmanuel
> 
> Veerman, Christiaan a écrit :
> 
>>Unable to parse https with authentication credentials for pom upload.
>>
>>The server log exceptions consist of 401 without the credentials.
>>
>>INFO   | jvm 1    | 2006/03/10 06:33:33 | java.io.IOException: Server
>>returned HTTP response code: 401 for URL:
>>https://svn.knowledgestorm.com:8443/trunk/extranet/pom.xml
>>
>>
>>I tried all the following flavors to no avail.
>>
>>https://svn.example.com:8443/trunk/extranet/
>>
>>Returns: [ You must provide a valid url ]
>>
>>https://continuous:continuous@svn.example.com:8443/trunk/extranet/
>>
>>Returns: [ You must provide a valid url ]
>>
>>https://svn.example.com:8443/trunk/extranet/pom.xml
>>
>>Returns: [ The URL you provided doesn't exist ]
>>
>>https://continuous:continuous@svn.example.com:8443/trunk/extranet/pom.
>>xm
>>l
>>
>>Returns: [ The URL you provided doesn't exist ]
>>
>>
>>
>>
>>Christiaan
>>
>>
>>I receive this "Enter the URL to the Maven 2 POM    [ The URL you
>>provided doesn't exist ] " 
>>
>>-----Original Message-----
>>From: Emmanuel Venisse [mailto:emmanuel@venisse.net]
>>Sent: Thursday, March 09, 2006 4:10 PM
>>To: continuum-users@maven.apache.org
>>Subject: Re: http://jira.codehaus.org/browse/MNG-2006
>>
>>If you use 1.0.2, the patch is in it. 1.0-alpha-4 is a very old 
>>version
>>
>>What is your problem?
>>
>>Emmanuel
>>
>>****DISCLAIMER
>>The information contained in this e-mail and attachments, if any, is 
>>confidential and may be subject to legal privilege.  If you are not 
>>the intended recipient, you must not use, copy, distribute or disclose 
>>the e-mail and its attachment, or any part of its content or take any 
>>action in reliance of it.  If you have received this e-mail in error, 
>>please e-mail the message back to the sender by replying and then 
>>deleting it.  We cannot accept responsibility for loss or damage 
>>arising from the use of this e-mail or attachments, and recommend that 
>>you subject these to your virus checking procedures prior to use
>>
>>
>>
> 
> 
> ****DISCLAIMER
> The information contained in this e-mail and attachments, if any, is confidential and
may be subject to legal privilege.  If you are not the intended recipient, you must not use,
copy, distribute or disclose the e-mail and its attachment, or any part of its content or
take any action in reliance of it.  If you have received this e-mail in error, please e-mail
the message back to the sender by replying and then deleting it.  We cannot accept responsibility
for loss or damage arising from the use of this e-mail or attachments, and recommend that
you subject these to your virus checking procedures prior to use
> 
> 
> 


Mime
View raw message