You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Stefan Seelmann (JIRA)" <ji...@apache.org> on 2015/06/12 08:04:00 UTC

[jira] [Commented] (DIRSTUDIO-1055) Investigate usage of mirrors for update site

    [ https://issues.apache.org/jira/browse/DIRSTUDIO-1055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14582999#comment-14582999 ] 

Stefan Seelmann commented on DIRSTUDIO-1055:
--------------------------------------------

Next issue: 

{code}
org.eclipse.equinox.p2.core.ProvisionException: Unable to read repository at https://www.apache.org/dist/directory/studio/update/2.0.0.v20150606-M9/eclipse/content.xml.
        at org.eclipse.equinox.internal.p2.repository.CacheManager.createCache(CacheManager.java:192)
        at org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.getLocalFile(SimpleMetadataRepositoryFactory.java:66)
        at org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.load(SimpleMetadataRepositoryFactory.java:88)
        ....
Caused by: javax.net.ssl.SSLException: hostname in certificate didn't match: <www.apache.org> != <*.openoffice.org> OR <*.openoffice.org> OR <openoffice.org>
        at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:238)
        at org.apache.http.conn.ssl.BrowserCompatHostnameVerifier.verify(BrowserCompatHostnameVerifier.java:54)
        at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:159)
        at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:140)
        at org.apache.http.conn.ssl.SSLSocketFactory.verifyHostname(SSLSocketFactory.java:561)
        at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:536)
        at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:403)
        at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)
        ....
{code}


> Investigate usage of mirrors for update site
> --------------------------------------------
>
>                 Key: DIRSTUDIO-1055
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1055
>             Project: Directory Studio
>          Issue Type: Task
>          Components: studio-updatesite
>    Affects Versions: 2.0.0-M9 (2.0.0.v20150606-M9)
>            Reporter: Stefan Seelmann
>             Fix For: 2.0.0-M10
>
>
> Apache projects should use mirrors for downloads. We use them for normal download pages, and also for Eclipse update site.
> A mirror can be down. On the normal download page that is no big problem, a reload of the page chooses another mirror.
> But with Eclipse update site it is different: If the mirror is not available it just shows "No content", only the log shows an error. Even worse is that Eclipse remembers the URL and reuses it. I had bad luck to get apache.myamplifiers.com (INFRA-9804) which isn't working, and also after Eclipse restart it continued to contact that site.
> We have to investigate a better way how to use mirros for the update site. Maybe it can be configured that it isn't retried.
> In the meantime I'll configure the update site to use "www.apache.org/dist", this will at least distribute downloads to two servers.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)