Well both are HTTP repositories so it should be exactly the same thing. Maybe there is a bug in AETHER that does not really go through the standard proxy.
Trying to look at how they connect to HTTP. On Wed, Oct 17, 2012 at 5:45 PM, Jeremie BOUSQUET <[email protected]> wrote: > Could there be a distinct way of specifying network proxy depending on > extension repository (nexus/aether or xwiki) ? > I've set it both as http_proxy env variable and in JAVA_OPTS... From > the logs it's clear that it goes through proxy for connections to > xwiki repo, for nexus I don't know. > > 2012/10/17 Thomas Mortagne <[email protected]>: >> Forget that actually the 404 on extensions.xwiki.org is perfectly normal >> indeed. >> >> Now I don't see why you get an error from nexus repository, I >> installed the same extension on xwiki.org 1h ago. >> >> On Wed, Oct 17, 2012 at 5:21 PM, Thomas Mortagne >> <[email protected]> wrote: >>> The last version on extensions.xwiki.org is 4.2 now so you should not >>> get an error about 4.1.4. >>> >>> On Wed, Oct 17, 2012 at 5:17 PM, Jeremie BOUSQUET >>> <[email protected]> wrote: >>>> Just retried, but got same result ... >>>> >>>> 2012/10/17 Thomas Mortagne <[email protected]>: >>>>> You just picked a bad timing, should be OK now. >>>>> >>>>> But note that there is a less visible bug after you installed the >>>>> repository with EM, see http://jira.xwiki.org/browse/XWIKI-8329 for >>>>> details. >>>>> >>>>> On Wed, Oct 17, 2012 at 5:00 PM, Jeremie BOUSQUET >>>>> <[email protected]> wrote: >>>>>> Hello, >>>>>> >>>>>> I'm trying to install the Extension Repository Application in my wiki, >>>>>> in order to test importing, updating, and installation of my own >>>>>> extension (before pushing it to xwiki.org) >>>>>> I'm on xwiki 4.1.4. >>>>>> >>>>>> When trying to install the ExRApp from extension manager, it fails to >>>>>> find a dependency >>>>>> (xwiki-platform-extension-repository-xwiki-server-api): >>>>>> >>>>>> From the install plan logs, the following returns 404: >>>>>> "GET >>>>>> http://extensions.xwiki.org/xwiki/rest/repository/extensions/org.xwiki.platform%3Axwiki-platform-extension-repository-xwiki-server-api/versions/4.1.4 >>>>>> HTTP/1.1[\r][\n]" >>>>>> >>>>>> That seems normal since it's not published to the extension repository >>>>>> on xwiki.org. >>>>>> After that I suppose it tries the next configured repository (xwiki >>>>>> nexus) but that also fails: >>>>>> >>>>>> Could not find extension dependency >>>>>> [org.xwiki.platform:xwiki-platform-extension-repository-xwiki-server-api-4.1.4] >>>>>> in repository [maven-xwiki >>>>>> (http://nexus.xwiki.org/nexus/content/groups/public)] >>>>>> >>>>>> class org.xwiki.extension.ResolveException: Failed to resolve >>>>>> extension >>>>>> [org.xwiki.platform:xwiki-platform-extension-repository-xwiki-server-api-4.1.4] >>>>>> descriptor >>>>>> at >>>>>> org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.resolveMaven(AetherExtensionRepository.java:317) >>>>>> at >>>>>> org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.resolve(AetherExtensionRepository.java:168) >>>>>> at >>>>>> org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.resolve(DefaultExtensionRepositoryManager.java:168) >>>>>> at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.resolveExtension(AbstractInstallPlanJob.java:712) >>>>>> at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:577) >>>>>> at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:552) >>>>>> at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:743) >>>>>> at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:662) >>>>>> at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:386) >>>>>> at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:333) >>>>>> at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:236) >>>>>> at >>>>>> org.xwiki.extension.job.internal.InstallPlanJob.start(InstallPlanJob.java:88) >>>>>> at org.xwiki.job.AbstractJob.start(AbstractJob.java:134) >>>>>> at >>>>>> org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:156) >>>>>> at java.lang.Thread.run(Thread.java:619) >>>>>> Caused by: $throwable.class: null >>>>>> >>>>>> Surprising, because it's there on http://nexus.xwiki.org ... >>>>>> >>>>>> >>>>>> Thanks for help, >>>>>> Jeremie >>>>>> >>>>>> Side Note: I was a bit surprised to see that updating logback.xml to >>>>>> have most logs at "debug" level, impacts the install plan displayed by >>>>>> the extension manager. For example now it dumps all details of >>>>>> performed http requests, and I'm pretty sure it didn't with untouched >>>>>> logback.xml. Not sure if I find it nice or not, but I wondered if this >>>>>> is expected... I suppose it's because extension manager captures part >>>>>> of the logs. >>>>>> _______________________________________________ >>>>>> users mailing list >>>>>> [email protected] >>>>>> http://lists.xwiki.org/mailman/listinfo/users >>>>> >>>>> >>>>> >>>>> -- >>>>> Thomas Mortagne >>>>> _______________________________________________ >>>>> users mailing list >>>>> [email protected] >>>>> http://lists.xwiki.org/mailman/listinfo/users >>>> _______________________________________________ >>>> users mailing list >>>> [email protected] >>>> http://lists.xwiki.org/mailman/listinfo/users >>> >>> >>> >>> -- >>> Thomas Mortagne >> >> >> >> -- >> Thomas Mortagne >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
