You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Carlos Sanchez (JIRA)" <ji...@codehaus.org> on 2006/06/29 23:54:40 UTC
[jira] Created: (CONTINUUM-747) Continuum can't add a project with
pom in https with authentication
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
Assigned to: Henry S. Isidro
Priority: Critical
Fix For: 1.1
When trying to add a project with this type of url
https://username:password@host/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
[jira] Commented: (CONTINUUM-747) Continuum can't add a project
with pom in https with authentication
Posted by "Henry S. Isidro (JIRA)" <ji...@codehaus.org>.
[ 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:pword@host/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:password@host/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
[jira] Commented: (CONTINUUM-747) Continuum can't add a project
with pom in https with authentication
Posted by "Teodoro Cue Jr. (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-747?page=comments#action_68673 ]
Teodoro Cue Jr. commented on CONTINUUM-747:
-------------------------------------------
I downloaded the binary version 1.0.3 and tried to add a new maven 2 project.
After adding https://tcue:...@svn.../pom.xml, i noticed a 401 error on the command prompt. So I tested it again by just using http://tcue:...@svn.../pom.xml, got an error that says the pom is not version 4.0.0. When I tested it again using https://tcue:...@svn.../pom.xml (first url), it was able to download the poms.
The error now is that 'svn' is not recognized as an internal or external command. This is because I don't have svn installed on the system.
> 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
>
> Time Spent: 6 hours
> Remaining: 0 minutes
>
> When trying to add a project with this type of url
> https://username:password@host/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
[jira] Closed: (CONTINUUM-747) Continuum can't add a project with
pom in https with authentication
Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-747?page=all ]
Carlos Sanchez closed CONTINUUM-747.
------------------------------------
Assignee: Carlos Sanchez (was: Joakim Erdfelt)
Resolution: Fixed
> 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
> Issue Type: Bug
> Affects Versions: 1.0.3
> Reporter: Carlos Sanchez
> Assigned To: Carlos Sanchez
> Priority: Critical
> Fix For: 1.1
>
> Attachments: CONTINUUM-747.patch
>
> Time Spent: 6 hours
> Remaining Estimate: 0 minutes
>
> When trying to add a project with this type of url
> https://username:password@host/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
[jira] Updated: (CONTINUUM-747) Continuum can't add a project with
pom in https with authentication
Posted by "Lester Ecarma (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-747?page=all ]
Lester Ecarma updated CONTINUUM-747:
------------------------------------
Attachment: CONTINUUM-747.patch
Attached patch should fix this.
> 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
> Issue Type: Bug
> Affects Versions: 1.0.3
> Reporter: Carlos Sanchez
> Assigned To: Joakim Erdfelt
> Priority: Critical
> Fix For: 1.1
>
> Attachments: CONTINUUM-747.patch
>
> Time Spent: 6 hours
> Remaining Estimate: 0 minutes
>
> When trying to add a project with this type of url
> https://username:password@host/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