Hi Vincent, thanks for pointing out the documentation. For the record I
used the following command to start jetty with proxy options:
java -jar start.jar -Dhttp.proxyHost=my.proxy.ip.addr
-Dhttp.proxyPort=proxy_port
-Dhttps.proxyHost=my.proxy.ip.addr -Dhttps.proxyPort=proxy_port --exec
Regards,
Dib
On Fri, Aug 26, 2016 at 3:10 PM, Vincent Massol <vincent(a)massol.net> wrote:
Hi,
Have you checked
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/
Installation#HRunningXWikibehindproxy-server ?
Thanks
-Vincent
On 26 Aug 2016, at 20:51, Dibyendu Das
<dibyendu.adm(a)gmail.com> wrote:
Hi,
I tried running XWiki on a Jetty server on a Windows box behind a proxy
server and get the following error. I have configured the environment
variables http_proxy and https_proxy correctly. Anyone knows why this
error
is showing?
2016-08-26 14:41:43,973 [Core extension repository updater] ERROR
aultExtensionRepositoryManager - Unexpected error when trying to find
extension
[org.xwiki.platform:xwiki-platform-search-solr-server-plugin-8.2.1] in
repository [
maven-xwiki:maven:http://nexus.xwiki.org/
nexus/content/groups/public]
org.xwiki.extension.ResolveException: Failed to resolve artifact
[org.xwiki.platform:xwiki-platform-search-solr-server-plugin:jar:8.2.1]
descriptor
at
org.xwiki.extension.repository.aether.internal.
AetherExtensionRepository.resolveMaven(AetherExtensionRepository.java:398)
at
org.xwiki.extension.repository.aether.internal.
AetherExtensionRepository.resolveMaven(AetherExtensionRepository.java:381)
at
org.xwiki.extension.repository.aether.internal.
AetherExtensionRepository.resolveMaven(AetherExtensionRepository.java:375)
at
org.xwiki.extension.repository.aether.internal.
AetherExtensionRepository.resolve(AetherExtensionRepository.java:192)
at
org.xwiki.extension.repository.internal.DefaultExtensionRepositoryMana
ger.resolve(DefaultExtensionRepositoryManager.java:212)
at
org.xwiki.extension.repository.internal.core.
DefaultCoreExtensionScanner.updateExtensions(DefaultCoreExtensionScanner.
java:213)
at
org.xwiki.extension.repository.internal.core.
DefaultCoreExtensionRepository$1.run(DefaultCoreExtensionRepository
.java:136)
at java.lang.Thread.run(Unknown Source)
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException:
Could
not transfer artifact
org.xwiki.platform:xwiki-platform-search-solr-server-plugin:pom:8.2.1
from/to maven-xwiki (
http://nexus.xwiki.org/nexus/content/groups/public ):
Connect to nexus.xwiki.org:8
0 timed out
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(
DefaultArtifactResolver.java:444)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.
resolveArtifacts(DefaultArtifactResolver.java:246)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.
resolveArtifact(DefaultArtifactResolver.java:223)
at
org.xwiki.extension.repository.aether.internal.
AetherExtensionRepository.loadPom(AetherExtensionRepository.java:509)
at
org.xwiki.extension.repository.aether.internal.
AetherExtensionRepository.resolveMaven(AetherExtensionRepository.java:392)
... 7 common frames omitted
Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could
not
transfer artifact
org.xwiki.platform:xwiki-platform-search-solr-server-plugin:pom:8.2.1
from/to maven-xwiki (
http://nexus.xwiki.org/nexus/content/groups/public ):
Connect to nexus.xwiki.org:80 ti
med out
at
org.eclipse.aether.connector.basic.ArtifactTransportListener.
transferFailed(ArtifactTransportListener.java:43)
at
org.eclipse.aether.connector.basic.BasicRepositoryConnector$
TaskRunner.run(BasicRepositoryConnector.java:355)
at
org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(
RunnableErrorForwarder.java:67)
at
org.eclipse.aether.connector.basic.BasicRepositoryConnector$
DirectExecutor.execute(BasicRepositoryConnector.java:581)
at
org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(
BasicRepositoryConnector.java:249)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.
performDownloads(DefaultArtifactResolver.java:520)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(
DefaultArtifactResolver.java:421)
... 11 common frames omitted
Caused by: org.apache.http.conn.ConnectTimeoutException: Connect to
nexus.xwiki.org:80 timed out
at
org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(
PlainSocketFactory.java:122)
at
org.apache.http.impl.conn.DefaultClientConnectionOperato
r.openConnection(DefaultClientConnectionOperator.java:179)
at
org.apache.http.impl.conn.ManagedClientConnectionImpl.open(
ManagedClientConnectionImpl.java:328)
at
org.apache.http.impl.client.DefaultRequestDirector.tryConnect(
DefaultRequestDirector.java:612)
at
org.apache.http.impl.client.DefaultRequestDirector.execute(
DefaultRequestDirector.java:447)
at
org.apache.http.impl.client.AbstractHttpClient.doExecute(
AbstractHttpClient.java:884)
at
org.apache.http.impl.client.CloseableHttpClient.execute(
CloseableHttpClient.java:71)
at
org.apache.http.impl.client.CloseableHttpClient.execute(
CloseableHttpClient.java:55)
at
org.apache.http.impl.client.DecompressingHttpClient.execute(
DecompressingHttpClient.java:164)
at
org.eclipse.aether.transport.http.HttpTransporter.execute(
HttpTransporter.java:318)
at
org.eclipse.aether.transport.http.HttpTransporter.implGet(
HttpTransporter.java:274)
at
org.eclipse.aether.spi.connector.transport.AbstractTransporter.get(
AbstractTransporter.java:59)
at
org.eclipse.aether.connector.basic.BasicRepositoryConnector$
GetTaskRunner.runTask(BasicRepositoryConnector.java:447)
at
org.eclipse.aether.connector.basic.BasicRepositoryConnector$
TaskRunner.run(BasicRepositoryConnector.java:350)
... 16 common frames omitted
2016-08-26 14:43:08,566 [Core extension repository updater] ERROR
aultExtensionRepositoryManager - Unexpected error when trying to find
extension
[org.xwiki.platform:xwiki-platform-search-solr-server-plugin-8.2.1] in
repository [extensions.xwiki.org:xwiki:http://extensi
ons.xwiki.org/xwiki/rest]
org.xwiki.extension.ResolveException: Failed to create extension object
for
extension
[org.xwiki.platform:xwiki-platform-search-solr-server-plugin-8.2.1]
at
org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.
resolve(XWikiExtensionRepository.java:340)
at
org.xwiki.extension.repository.internal.DefaultExtensionRepositoryMana
ger.resolve(DefaultExtensionRepositoryManager.java:212)
at
org.xwiki.extension.repository.internal.core.
DefaultCoreExtensionScanner.updateExtensions(DefaultCoreExtensionScanner.
java:213)
at
org.xwiki.extension.repository.internal.core.
DefaultCoreExtensionRepository$1.run(DefaultCoreExtensionRepository
.java:136)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Failed to request [
http://extensions.xwiki.org/xwiki/rest/repository/
extensions/org.xwiki.platform%3Axwiki-platform-search-solr-
server-plugin/versions/8.2.1
]
at
org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.
getRESTResource(XWikiExtensionRepository.java:242)
at
org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.
getRESTObject(XWikiExtensionRepository.java:300)
at
org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.
resolve(XWikiExtensionRepository.java:335)
... 4 common frames omitted
Caused by: org.apache.http.conn.HttpHostConnectException: Connect to
extensions.xwiki.org:80 [
extensions.xwiki.org/104.25.106.17,
extensions.xwiki.org/104.25.107.17,
extensions.xwiki.org/2400:cb00:2048:1:0:0:6819:6b11,
extensions.xwiki.org/2400:cb00:2048:1:0:0:6819:6a11
] failed: Connection timed out: connect
at
org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(
DefaultHttpClientConnectionOperator.java:158)
at
org.apache.http.impl.conn.BasicHttpClientConnectionManager.connect(
BasicHttpClientConnectionManager.java:338)
at
org.apache.http.impl.execchain.MainClientExec.
establishRoute(MainClientExec.java:380)
at
org.apache.http.impl.execchain.MainClientExec.
execute(MainClientExec.java:236)
at
org.apache.http.impl.execchain.ProtocolExec.
execute(ProtocolExec.java:184)
at
org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
at
org.apache.http.impl.execchain.RedirectExec.
execute(RedirectExec.java:110)
at
org.apache.http.impl.client.InternalHttpClient.doExecute(
InternalHttpClient.java:184)
at
org.apache.http.impl.client.CloseableHttpClient.execute(
CloseableHttpClient.java:82)
at
org.apache.http.impl.client.CloseableHttpClient.execute(
CloseableHttpClient.java:107)
at
org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.
getRESTResource(XWikiExtensionRepository.java:239)
... 6 common frames omitted
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown
Source)
at
java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown
Source)
at
java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at
org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(
PlainConnectionSocketFactory.java:74)
at
org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(
DefaultHttpClientConnectionOperator.java:141)
... 16 common frames omitted
2016-08-26 14:43:18,658 [Core extension repository updater] ERROR
aultExtensionRepositoryManager - Unexpected error when trying to find
extension [org.eclipse.aether:aether-connector-basic-1.1.0] in
repository
> [
maven-xwiki:maven:http://nexus.xwiki.org/nexus/content/grou
> ps/public]
> org.xwiki.extension.ResolveException: Failed to resolve artifact
> [org.eclipse.aether:aether-connector-basic:jar:1.1.0] descriptor
at
org.xwiki.extension.repository.aether.internal.
AetherExtensionRepository.resolveMaven(AetherExtensionRepository.java:398)
at
org.xwiki.extension.repository.aether.internal.
AetherExtensionRepository.resolveMaven(AetherExtensionRepository.java:381)
at
org.xwiki.extension.repository.aether.internal.
AetherExtensionRepository.resolveMaven(AetherExtensionRepository.java:375)
at
org.xwiki.extension.repository.aether.internal.
AetherExtensionRepository.resolve(AetherExtensionRepository.java:192)
at
org.xwiki.extension.repository.internal.DefaultExtensionRepositoryMana
ger.resolve(DefaultExtensionRepositoryManager.java:212)
at
org.xwiki.extension.repository.internal.core.
DefaultCoreExtensionScanner.updateExtensions(DefaultCoreExtensionScanner.
java:213)
at
org.xwiki.extension.repository.internal.core.
DefaultCoreExtensionRepository$1.run(DefaultCoreExtensionRepository
.java:136)
at java.lang.Thread.run(Unknown Source)
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException:
Could
not transfer artifact org.eclipse.aether:aether-
connector-basic:pom:1.1.0
):
> Connect to nexus.xwiki.org:80 timed out
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(
DefaultArtifactResolver.java:444)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.
resolveArtifacts(DefaultArtifactResolver.java:246)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.
resolveArtifact(DefaultArtifactResolver.java:223)
at
org.xwiki.extension.repository.aether.internal.
AetherExtensionRepository.loadPom(AetherExtensionRepository.java:509)
at
org.xwiki.extension.repository.aether.internal.
AetherExtensionRepository.resolveMaven(AetherExtensionRepository.java:392)
... 7 common frames omitted
Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could
not
> transfer artifact org.eclipse.aether:aether-connector-basic:pom:1.1.0
):
Connect to nexus.xwiki.org:80 timed out
at
org.eclipse.aether.connector.basic.ArtifactTransportListener.
transferFailed(ArtifactTransportListener.java:43)
at
org.eclipse.aether.connector.basic.BasicRepositoryConnector$
TaskRunner.run(BasicRepositoryConnector.java:355)
at
org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(
RunnableErrorForwarder.java:67)
at
org.eclipse.aether.connector.basic.BasicRepositoryConnector$
DirectExecutor.execute(BasicRepositoryConnector.java:581)
at
org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(
BasicRepositoryConnector.java:249)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.
performDownloads(DefaultArtifactResolver.java:520)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(
DefaultArtifactResolver.java:421)
... 11 common frames omitted
Caused by: org.apache.http.conn.ConnectTimeoutException: Connect to
nexus.xwiki.org:80 timed out
at
org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(
PlainSocketFactory.java:122)
at
org.apache.http.impl.conn.DefaultClientConnectionOperato
r.openConnection(DefaultClientConnectionOperator.java:179)
at
org.apache.http.impl.conn.ManagedClientConnectionImpl.open(
ManagedClientConnectionImpl.java:328)
at
org.apache.http.impl.client.DefaultRequestDirector.tryConnect(
DefaultRequestDirector.java:612)
at
org.apache.http.impl.client.DefaultRequestDirector.execute(
DefaultRequestDirector.java:447)
at
org.apache.http.impl.client.AbstractHttpClient.doExecute(
AbstractHttpClient.java:884)
at
org.apache.http.impl.client.CloseableHttpClient.execute(
CloseableHttpClient.java:71)
at
org.apache.http.impl.client.CloseableHttpClient.execute(
CloseableHttpClient.java:55)
at
org.apache.http.impl.client.DecompressingHttpClient.execute(
DecompressingHttpClient.java:164)
at
org.eclipse.aether.transport.http.HttpTransporter.execute(
HttpTransporter.java:318)
at
org.eclipse.aether.transport.http.HttpTransporter.implGet(
HttpTransporter.java:274)
at
org.eclipse.aether.spi.connector.transport.AbstractTransporter.get(
AbstractTransporter.java:59)
at
org.eclipse.aether.connector.basic.BasicRepositoryConnector$
GetTaskRunner.runTask(BasicRepositoryConnector.java:447)
at
org.eclipse.aether.connector.basic.BasicRepositoryConnector$
TaskRunner.run(BasicRepositoryConnector.java:350)
... 16 common frames omitted
Thanks
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users