[ http://jira.codehaus.org/browse/CONTINUUM-747?page=comments#action_68667 ]
Henry S. Isidro commented on CONTINUUM-747: ------------------------------------------- I tested MungedHttpsURL with the test fragment below and was able to get a connection as well as print out the content object. public void testConnection() throws IOException { MungedHttpsURL mungedHttpsURL = new MungedHttpsURL("https://uname:[EMAIL PROTECTED]/path"); if( mungedHttpsURL.isValid() ) { HttpURLConnection urlc = mungedHttpsURL.getURLConnection(); Object content = urlc.getContent(); System.out.println( content ); } } It seems that in between creating MungedHttpsURL object and the actually download of the pom, the connection status changes from a 200 to a 401. Could the connection be timing out in such a short time? > Continuum can't add a project with pom in https with authentication > ------------------------------------------------------------------- > > Key: CONTINUUM-747 > URL: http://jira.codehaus.org/browse/CONTINUUM-747 > Project: Continuum > Type: Bug > Versions: 1.0.3 > Reporter: Carlos Sanchez > Assignee: Henry S. Isidro > Priority: Critical > Fix For: 1.1 > > > When trying to add a project with this type of url > https://username:[EMAIL PROTECTED]/foo/trunk/pom.xml > I get a 401 Unauthorized HTTP error code > Seems that the problem is in > http://svn.codehaus.org/plexus/trunk/plexus-components/plexus-formica/src/main/java/org/codehaus/plexus/formica/util/MungedHttpsURL.java > I added a test case with the right url and get that 401 too -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira