Store.xwiki.com:443 failed to respond

Hello,

I’m having trouble accessing all of your extension repositories from our Xwiki instance, I can access any HTTP sites through our proxy but not any HTTPS sites and I’m interested in using your OnlyOffice extension which isn’t accessible without HTTPS. Could you provide any help?

Xwiki version: 9.11.1
Java: jre1.8.0_191 / jdk1.8.0_191
Server: Windows server 2012 R2

Catalina.bat:

:gotJsseOpts
set “JAVA_OPTS=%JAVA_OPTS% %JSSE_OPTS%”
set “JAVA_OPTS=”-Dhttp.proxyHost=PROXYIP -Dhttp.proxyPort=8080"
set “JAVA_OPTS=”-Dhttps.proxyHost=PROXYIP -Dhttps.proxyPort=443"

Catalina.properties

#http proxy host setup
http.proxyHost=PROXYIP
http.proxyPort=8080
https.proxyHost=PROXYIP
https.proxyPort=443

When I run the extension update I receive the following errors:

Caused by: class java.io.IOException: Failed to request [https://store.xwiki.com/xwiki/rest/repository/extensions/yannflory%3Arealtime-netflux-frontend/versions/1.15]
at org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.getRESTResource(XWikiExtensionRepository.java:247)
at org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.getRESTObject(XWikiExtensionRepository.java:305)
at org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.resolve(XWikiExtensionRepository.java:350)
at org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.resolve(XWikiExtensionRepository.java:340)
at org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.resolve(DefaultExtensionRepositoryManager.java:288)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.resolveExtension(AbstractInstallPlanJob.java:790)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:750)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:309)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:277)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:208)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:206)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:189)
at org.xwiki.extension.job.internal.InstallJob.runInternal(InstallJob.java:112)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:206)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:189)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: class org.apache.http.NoHttpResponseException: store.xwiki.com:443 failed to respond
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:141)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163)
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:165)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
at org.apache.http.impl.execchain.MainClientExec.createTunnelToTarget(MainClientExec.java:473)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:398)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
at org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.getRESTResource(XWikiExtensionRepository.java:244)
at org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.getRESTObject(XWikiExtensionRepository.java:305)
at org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.resolve(XWikiExtensionRepository.java:350)
at org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.resolve(XWikiExtensionRepository.java:340)
at org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.resolve(DefaultExtensionRepositoryManager.java:288)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.resolveExtension(AbstractInstallPlanJob.java:790)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:750)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:309)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:277)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:208)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:206)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:189)
at org.xwiki.extension.job.internal.InstallJob.runInternal(InstallJob.java:112)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:206)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:189)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Hi Dannyscar. Actually store.xwiki.com is a an Extension repository maintained by XWiki SAS and it’s not supported/maintained by the XWiki open source project. AFAIK the right contact place for XWiki SAS for the moment is Contact us - XWiki

Is that a limitation on your side that you’re aware of? I’d highly suggest to open your proxy to HTTPS because otherwise you’re incurring big security risks (man in the middle attacks for ex) and I doubt that XWiki SAS will let you access its service with HTTP only…

Thanks for your reply.

I wasn’t aware of this, that it useful to know. Is it still available for open source installs or is it exclusive to SAS?

Not that I’m aware of. I had some of our technical team monitor our internal firewall and proxy logs. Nothing was getting blocked :confused:

Our proxy does work for HTTPS sites, I should also mention our Xwiki is only accessible internally.

From your experience does it look like I have my proxy configured correctly?

Hi Dannyscar,

Indeed, as vmassol mentioned previously, store.xwiki.com is a an Extension repository maintained by XWiki SAS, not by the XWiki open source project.
XWiki SAS decided to introduce paid apps in order to help sponsor the development of the Open Source project.
The paid extensions are also open source, but they have to be built from the source (with the appropriate technical knowledge).
If you go to any app page on the XWiki SAS store you’ll see a link to the sources and a link to the issues reported for it. So for each app you can create tickets on GitHub.
You can also send a message to XWiki SAS through the Contact us page and someone from XWiki SAS will get back to you by email.
(Disclaimer: I work with the apps and cloud team at XWiki SAS)

Thank you, I will create an issue on the OnlyOffice connector github page.