You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Charles de Saint-Aignan (JIRA)" <ji...@codehaus.org> on 2006/03/15 18:06:29 UTC
[jira] Created: (CONTINUUM-628) Cannot Add Maven 2.0+ Project using
HTTPS url to POM
Cannot Add Maven 2.0+ Project using HTTPS url to POM
----------------------------------------------------
Key: CONTINUUM-628
URL: http://jira.codehaus.org/browse/CONTINUUM-628
Project: Continuum
Type: Bug
Components: Core system
Versions: 1.0.2
Environment: Running Continuum on Ubuntu Linux, using Subversion for SCM
Reporter: Charles de Saint-Aignan
Priority: Blocker
When I try to add my Maven 2 project using a url in the form:
https://user:pwd@svn.hostname.com/svn/project/trunk/pom.xml
I get the error [The URL you provided doesn't exist] along with the following stack in the log:
3484656 [SocketListener0-1] INFO org.codehaus.plexus.formica.validation.Validator:url-source - An error is occurred.
java.io.IOException: HTTPS hostname wrong: should be <svn.hostname.com>
at sun.net.www.protocol.https.HttpsClient.checkURLSpoofing(HttpsClient.java:490)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:415)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:170)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:913)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
at java.net.URL.openStream(URL.java:1007)
at org.codehaus.plexus.formica.util.MungedHttpsURL.isValid(MungedHttpsURL.java:111)
at org.codehaus.plexus.formica.validation.UrlSourceValidator.validate(UrlSourceValidator.java:63)
at org.codehaus.plexus.formica.DefaultFormManager.validateElements(DefaultFormManager.java:195)
at org.codehaus.plexus.formica.DefaultFormManager.validate(DefaultFormManager.java:124)
at org.codehaus.plexus.formica.DefaultFormManager.validate(DefaultFormManager.java:114)
at org.codehaus.plexus.formica.action.AbstractEntityAction.execute(AbstractEntityAction.java:107)
at org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve.java:68)
at org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.java:70)
at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
I found earlier bugs that were supposed to address this problem, I believe, but I don't think it's fixed. I had a look at the code, and the problem seems to be happening on this line:
InputStream is = url.openStream();
Could this have to do with the JSK being used perhaps? FYI, I am using jdk1.5.0_06
--
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-628) Cannot Add Maven 2.0+ Project using
HTTPS url to POM
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-628?page=all ]
Brett Porter closed CONTINUUM-628:
----------------------------------
Assign To: Brett Porter
Resolution: Duplicate
> Cannot Add Maven 2.0+ Project using HTTPS url to POM
> ----------------------------------------------------
>
> Key: CONTINUUM-628
> URL: http://jira.codehaus.org/browse/CONTINUUM-628
> Project: Continuum
> Type: Bug
> Components: Core system
> Versions: 1.0.2
> Environment: Running Continuum on Ubuntu Linux, using Subversion for SCM
> Reporter: Charles de Saint-Aignan
> Assignee: Brett Porter
> Priority: Blocker
>
>
> When I try to add my Maven 2 project using a url in the form:
> https://user:pwd@svn.hostname.com/svn/project/trunk/pom.xml
> I get the error [The URL you provided doesn't exist] along with the following stack in the log:
> 3484656 [SocketListener0-1] INFO org.codehaus.plexus.formica.validation.Validator:url-source - An error is occurred.
> java.io.IOException: HTTPS hostname wrong: should be <svn.hostname.com>
> at sun.net.www.protocol.https.HttpsClient.checkURLSpoofing(HttpsClient.java:490)
> at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:415)
> at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:170)
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:913)
> at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
> at java.net.URL.openStream(URL.java:1007)
> at org.codehaus.plexus.formica.util.MungedHttpsURL.isValid(MungedHttpsURL.java:111)
> at org.codehaus.plexus.formica.validation.UrlSourceValidator.validate(UrlSourceValidator.java:63)
> at org.codehaus.plexus.formica.DefaultFormManager.validateElements(DefaultFormManager.java:195)
> at org.codehaus.plexus.formica.DefaultFormManager.validate(DefaultFormManager.java:124)
> at org.codehaus.plexus.formica.DefaultFormManager.validate(DefaultFormManager.java:114)
> at org.codehaus.plexus.formica.action.AbstractEntityAction.execute(AbstractEntityAction.java:107)
> at org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve.java:68)
> at org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.java:70)
> at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> I found earlier bugs that were supposed to address this problem, I believe, but I don't think it's fixed. I had a look at the code, and the problem seems to be happening on this line:
> InputStream is = url.openStream();
> Could this have to do with the JSK being used perhaps? FYI, I am using jdk1.5.0_06
--
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-628) Cannot Add Maven 2.0+ Project
using HTTPS url to POM
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-628?page=comments#action_61131 ]
Brett Porter commented on CONTINUUM-628:
----------------------------------------
re-closed as a dupe so that all issues relating to this can be addressed in the other issue
> Cannot Add Maven 2.0+ Project using HTTPS url to POM
> ----------------------------------------------------
>
> Key: CONTINUUM-628
> URL: http://jira.codehaus.org/browse/CONTINUUM-628
> Project: Continuum
> Type: Bug
> Components: Core system
> Versions: 1.0.2
> Environment: Running Continuum on Ubuntu Linux, using Subversion for SCM
> Reporter: Charles de Saint-Aignan
> Assignee: Brett Porter
> Priority: Blocker
>
>
> When I try to add my Maven 2 project using a url in the form:
> https://user:pwd@svn.hostname.com/svn/project/trunk/pom.xml
> I get the error [The URL you provided doesn't exist] along with the following stack in the log:
> 3484656 [SocketListener0-1] INFO org.codehaus.plexus.formica.validation.Validator:url-source - An error is occurred.
> java.io.IOException: HTTPS hostname wrong: should be <svn.hostname.com>
> at sun.net.www.protocol.https.HttpsClient.checkURLSpoofing(HttpsClient.java:490)
> at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:415)
> at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:170)
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:913)
> at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
> at java.net.URL.openStream(URL.java:1007)
> at org.codehaus.plexus.formica.util.MungedHttpsURL.isValid(MungedHttpsURL.java:111)
> at org.codehaus.plexus.formica.validation.UrlSourceValidator.validate(UrlSourceValidator.java:63)
> at org.codehaus.plexus.formica.DefaultFormManager.validateElements(DefaultFormManager.java:195)
> at org.codehaus.plexus.formica.DefaultFormManager.validate(DefaultFormManager.java:124)
> at org.codehaus.plexus.formica.DefaultFormManager.validate(DefaultFormManager.java:114)
> at org.codehaus.plexus.formica.action.AbstractEntityAction.execute(AbstractEntityAction.java:107)
> at org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve.java:68)
> at org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.java:70)
> at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> I found earlier bugs that were supposed to address this problem, I believe, but I don't think it's fixed. I had a look at the code, and the problem seems to be happening on this line:
> InputStream is = url.openStream();
> Could this have to do with the JSK being used perhaps? FYI, I am using jdk1.5.0_06
--
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-628) Cannot Add Maven 2.0+ Project using
HTTPS url to POM
Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-628?page=all ]
Emmanuel Venisse closed CONTINUUM-628:
--------------------------------------
Resolution: Duplicate
duplicated with CONTINUUM-587.
> Cannot Add Maven 2.0+ Project using HTTPS url to POM
> ----------------------------------------------------
>
> Key: CONTINUUM-628
> URL: http://jira.codehaus.org/browse/CONTINUUM-628
> Project: Continuum
> Type: Bug
> Components: Core system
> Versions: 1.0.2
> Environment: Running Continuum on Ubuntu Linux, using Subversion for SCM
> Reporter: Charles de Saint-Aignan
> Assignee: Brett Porter
> Priority: Blocker
>
>
> When I try to add my Maven 2 project using a url in the form:
> https://user:pwd@svn.hostname.com/svn/project/trunk/pom.xml
> I get the error [The URL you provided doesn't exist] along with the following stack in the log:
> 3484656 [SocketListener0-1] INFO org.codehaus.plexus.formica.validation.Validator:url-source - An error is occurred.
> java.io.IOException: HTTPS hostname wrong: should be <svn.hostname.com>
> at sun.net.www.protocol.https.HttpsClient.checkURLSpoofing(HttpsClient.java:490)
> at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:415)
> at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:170)
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:913)
> at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
> at java.net.URL.openStream(URL.java:1007)
> at org.codehaus.plexus.formica.util.MungedHttpsURL.isValid(MungedHttpsURL.java:111)
> at org.codehaus.plexus.formica.validation.UrlSourceValidator.validate(UrlSourceValidator.java:63)
> at org.codehaus.plexus.formica.DefaultFormManager.validateElements(DefaultFormManager.java:195)
> at org.codehaus.plexus.formica.DefaultFormManager.validate(DefaultFormManager.java:124)
> at org.codehaus.plexus.formica.DefaultFormManager.validate(DefaultFormManager.java:114)
> at org.codehaus.plexus.formica.action.AbstractEntityAction.execute(AbstractEntityAction.java:107)
> at org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve.java:68)
> at org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.java:70)
> at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> I found earlier bugs that were supposed to address this problem, I believe, but I don't think it's fixed. I had a look at the code, and the problem seems to be happening on this line:
> InputStream is = url.openStream();
> Could this have to do with the JSK being used perhaps? FYI, I am using jdk1.5.0_06
--
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-628) Cannot Add Maven 2.0+ Project
using HTTPS url to POM
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-628?page=comments#action_61126 ]
Brett Porter commented on CONTINUUM-628:
----------------------------------------
401 means the username and password aren't right.
> Cannot Add Maven 2.0+ Project using HTTPS url to POM
> ----------------------------------------------------
>
> Key: CONTINUUM-628
> URL: http://jira.codehaus.org/browse/CONTINUUM-628
> Project: Continuum
> Type: Bug
> Components: Core system
> Versions: 1.0.2
> Environment: Running Continuum on Ubuntu Linux, using Subversion for SCM
> Reporter: Charles de Saint-Aignan
> Assignee: Brett Porter
> Priority: Blocker
>
>
> When I try to add my Maven 2 project using a url in the form:
> https://user:pwd@svn.hostname.com/svn/project/trunk/pom.xml
> I get the error [The URL you provided doesn't exist] along with the following stack in the log:
> 3484656 [SocketListener0-1] INFO org.codehaus.plexus.formica.validation.Validator:url-source - An error is occurred.
> java.io.IOException: HTTPS hostname wrong: should be <svn.hostname.com>
> at sun.net.www.protocol.https.HttpsClient.checkURLSpoofing(HttpsClient.java:490)
> at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:415)
> at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:170)
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:913)
> at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
> at java.net.URL.openStream(URL.java:1007)
> at org.codehaus.plexus.formica.util.MungedHttpsURL.isValid(MungedHttpsURL.java:111)
> at org.codehaus.plexus.formica.validation.UrlSourceValidator.validate(UrlSourceValidator.java:63)
> at org.codehaus.plexus.formica.DefaultFormManager.validateElements(DefaultFormManager.java:195)
> at org.codehaus.plexus.formica.DefaultFormManager.validate(DefaultFormManager.java:124)
> at org.codehaus.plexus.formica.DefaultFormManager.validate(DefaultFormManager.java:114)
> at org.codehaus.plexus.formica.action.AbstractEntityAction.execute(AbstractEntityAction.java:107)
> at org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve.java:68)
> at org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.java:70)
> at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> I found earlier bugs that were supposed to address this problem, I believe, but I don't think it's fixed. I had a look at the code, and the problem seems to be happening on this line:
> InputStream is = url.openStream();
> Could this have to do with the JSK being used perhaps? FYI, I am using jdk1.5.0_06
--
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] Reopened: (CONTINUUM-628) Cannot Add Maven 2.0+ Project
using HTTPS url to POM
Posted by "Charles de Saint-Aignan (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-628?page=all ]
Charles de Saint-Aignan reopened CONTINUUM-628:
-----------------------------------------------
I'm sorry, I mislabeled the version - the error I am seeing is in Continuum 2.0.2 (not 1.0.2), and the exception is different than the dupe.
I think part of the solution is to provide a default hostname verifier:
HttpsURLConnection.setDefaultHostnameVerifier(
new javax.net.ssl.HostnameVerifier() {
public boolean verify(String urlHostname, String certHostname) {
return true;
}
public boolean verify(String urlHostname, javax.net.ssl.SSLSession session) {
return true;
}
});
However, this has only gotten me past the original issue - now I am getting error 401.
> Cannot Add Maven 2.0+ Project using HTTPS url to POM
> ----------------------------------------------------
>
> Key: CONTINUUM-628
> URL: http://jira.codehaus.org/browse/CONTINUUM-628
> Project: Continuum
> Type: Bug
> Components: Core system
> Versions: 1.0.2
> Environment: Running Continuum on Ubuntu Linux, using Subversion for SCM
> Reporter: Charles de Saint-Aignan
> Assignee: Brett Porter
> Priority: Blocker
>
>
> When I try to add my Maven 2 project using a url in the form:
> https://user:pwd@svn.hostname.com/svn/project/trunk/pom.xml
> I get the error [The URL you provided doesn't exist] along with the following stack in the log:
> 3484656 [SocketListener0-1] INFO org.codehaus.plexus.formica.validation.Validator:url-source - An error is occurred.
> java.io.IOException: HTTPS hostname wrong: should be <svn.hostname.com>
> at sun.net.www.protocol.https.HttpsClient.checkURLSpoofing(HttpsClient.java:490)
> at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:415)
> at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:170)
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:913)
> at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
> at java.net.URL.openStream(URL.java:1007)
> at org.codehaus.plexus.formica.util.MungedHttpsURL.isValid(MungedHttpsURL.java:111)
> at org.codehaus.plexus.formica.validation.UrlSourceValidator.validate(UrlSourceValidator.java:63)
> at org.codehaus.plexus.formica.DefaultFormManager.validateElements(DefaultFormManager.java:195)
> at org.codehaus.plexus.formica.DefaultFormManager.validate(DefaultFormManager.java:124)
> at org.codehaus.plexus.formica.DefaultFormManager.validate(DefaultFormManager.java:114)
> at org.codehaus.plexus.formica.action.AbstractEntityAction.execute(AbstractEntityAction.java:107)
> at org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve.java:68)
> at org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.java:70)
> at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> I found earlier bugs that were supposed to address this problem, I believe, but I don't think it's fixed. I had a look at the code, and the problem seems to be happening on this line:
> InputStream is = url.openStream();
> Could this have to do with the JSK being used perhaps? FYI, I am using jdk1.5.0_06
--
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