Extension Updater - Connection times out

I’ve tried twice and this is still happening. At first, I thought it was a machine performance issue, but I resolved that problem.

image

Hi @laurin1

On that machine could you ping extensions.xwiki.org and nexus.xwiki.org?

Looks like your machine is missing internet connectivity to those.

Thx

Also, can you click on the red messages to see if you can get more details?

A little high to nexus, but I can ping both:

C:\Users\keithdavis>ping nexus.xwiki.org

Pinging nexus.xwiki.org [92.222.135.198] with 32 bytes of data:
Reply from 92.222.135.198: bytes=32 time=150ms TTL=42
Reply from 92.222.135.198: bytes=32 time=128ms TTL=42
Reply from 92.222.135.198: bytes=32 time=140ms TTL=42
Reply from 92.222.135.198: bytes=32 time=139ms TTL=42

Ping statistics for 92.222.135.198:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 128ms, Maximum = 150ms, Average = 139ms

C:\Users\keithdavis>ping extensions.xwiki.org

Pinging extensions.xwiki.org [104.25.107.17] with 32 bytes of data:
Reply from 104.25.107.17: bytes=32 time=29ms TTL=53
Reply from 104.25.107.17: bytes=32 time=15ms TTL=53
Reply from 104.25.107.17: bytes=32 time=32ms TTL=53
Reply from 104.25.107.17: bytes=32 time=16ms TTL=53

Ping statistics for 104.25.107.17:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 15ms, Maximum = 32ms, Average = 23ms

Well, I can click on it, but the text disappears before I can read it (I’m Extension Updater in the Administer Wiki controls, not in the DW) and when the Updater finishes, it clears the screen.

Also, this does not fail for every (extension? not sure what each connection attempt represents):

image

So, this last time it did complete, but took a very long time and still got lots of timeouts. Once that was done, I upgraded one of the extensions recommended. As you can see got one timeout during that process, but it did finish:

image

FYI, I’ve never had this issue before.

hmm maybe you could use the Developer tool from your browser to check the HTML DOM and find the full error message? Thx

Tried that. :slight_smile: Using Chrome, none of that text is show up in the dev tools (not even the “time out” text). I’ll try again.

err that doesn’t seem possible :slight_smile:

Ok, the text is there, but dev tools does the same thing that clicking on the link does! If I click on the element with dev tools open, I briefly get the the elements for the connection error, then it closes and “disappears”. Same thing, if I search for the words “timed out”, it shows me the elements briefly, then I’m moved to somewhere else in the dom immediately.

Oh, it’s because it’s constantly being reloaded. I found the DIV that the AJAX process is using to display this content, and because the process is still running, it changes almost constantly.

Ok, I was able to save the page to my desktop while it was running and then extract one of the errors:

class org.xwiki.extension.ResolveException: Failed to find version for extension id [org.xwiki.contrib.blog:application-blog-ui]
    at org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.resolveExtensionVersions(XWikiExtensionRepository.java:412)
    at org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.resolveVersions(XWikiExtensionRepository.java:419)
    at org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.resolveVersions(DefaultExtensionRepositoryManager.java:384)
    at org.xwiki.extension.job.internal.UpgradePlanJob.getVersions(UpgradePlanJob.java:149)
    at org.xwiki.extension.job.internal.UpgradePlanJob.upgradeExtension(UpgradePlanJob.java:123)
    at org.xwiki.extension.job.internal.UpgradePlanJob.upgrade(UpgradePlanJob.java:222)
    at org.xwiki.extension.job.internal.UpgradePlanJob.runInternal(UpgradePlanJob.java:325)
    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 java.io.IOException: Failed to request [https://store.xwiki.com/xwiki/rest/repository/extensions/org.xwiki.contrib.blog%3Aapplication-blog-ui/versions?requireTotalHits=true&start=0&number=-1]
    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.resolveExtensionVersions(XWikiExtensionRepository.java:408)
    at org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.resolveVersions(XWikiExtensionRepository.java:419)
    at org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.resolveVersions(DefaultExtensionRepositoryManager.java:384)
    at org.xwiki.extension.job.internal.UpgradePlanJob.getVersions(UpgradePlanJob.java:149)
    at org.xwiki.extension.job.internal.UpgradePlanJob.upgradeExtension(UpgradePlanJob.java:123)
    at org.xwiki.extension.job.internal.UpgradePlanJob.upgrade(UpgradePlanJob.java:222)
    at org.xwiki.extension.job.internal.UpgradePlanJob.runInternal(UpgradePlanJob.java:325)
    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.conn.HttpHostConnectException: Connect to store.xwiki.com:443 [store.xwiki.com/5.135.69.203] failed: Connection timed out: connect
    at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:159)
    at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:373)
    at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:381)
    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.resolveExtensionVersions(XWikiExtensionRepository.java:408)
    at org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.resolveVersions(XWikiExtensionRepository.java:419)
    at org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.resolveVersions(DefaultExtensionRepositoryManager.java:384)
    at org.xwiki.extension.job.internal.UpgradePlanJob.getVersions(UpgradePlanJob.java:149)
    at org.xwiki.extension.job.internal.UpgradePlanJob.upgradeExtension(UpgradePlanJob.java:123)
    at org.xwiki.extension.job.internal.UpgradePlanJob.upgrade(UpgradePlanJob.java:222)
    at org.xwiki.extension.job.internal.UpgradePlanJob.runInternal(UpgradePlanJob.java:325)
    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 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.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:339)
    at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
    at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:373)
    at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:381)
    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.resolveExtensionVersions(XWikiExtensionRepository.java:408)
    at org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.resolveVersions(XWikiExtensionRepository.java:419)
    at org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.resolveVersions(DefaultExtensionRepositoryManager.java:384)
    at org.xwiki.extension.job.internal.UpgradePlanJob.getVersions(UpgradePlanJob.java:149)
    at org.xwiki.extension.job.internal.UpgradePlanJob.upgradeExtension(UpgradePlanJob.java:123)
    at org.xwiki.extension.job.internal.UpgradePlanJob.upgrade(UpgradePlanJob.java:222)
    at org.xwiki.extension.job.internal.UpgradePlanJob.runInternal(UpgradePlanJob.java:325)
    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)

https://store.xwiki.com/xwiki/rest/repository/extensions/org.xwiki.contrib.blog%3Aapplication-blog-ui/versions?requireTotalHits=true&start=0&number=-1 seems fast. Maybe you have some proxy blocking it ?

Ugh. We’ve been playing “whack a mole” blocking hackers over the last week and we blocked 5.0.0.0/8. However, our router should only be blocking inbound. I need to figure out why that is not happening. I had not tested store.xwiki.com and that’s at 5.135.69.203.

Thanks for all your help and sorry to waste your time.