Slow Scala plugin download

When I install Intellij onto a new machine, it is now as much time to download the Scala plugin, as the whole 177Mb Intellij core!

I work in a large enterprise where many devs have not yet enabled Scala support. If you want to show them some Scala source, in a newer codebase, and that results in a 5+ minute pause watching the plugin download, it's not a good first impression of Scala.

If its simple to speed up plugin downloads, eg provision more capacity in farm, or turn on CDN replication, please consider this.

-Ben

5 comments
Comment actions Permalink

I'll ask about it our IT department.

Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

That's still the case. Basically I haven't been able to update Scala plugin from IntelliJ for quite a while due to timeouts. Previously, I worked this problem around by downloading it manually, it was slow but at least it did not die due to timeout. And last time, event this approach did not help.

0
Comment actions Permalink

Hello Alexander,

Could you please attach idea.log next time you have problems updating Scala plugin? Also could you please tell me when you were experiencing slow download speed while manuallly downloading from plugins.jetbrains.com? As far as I know there are no performance problems with plugins.jetbrains.com, but I can check if there were any when you were experiencing slow download speed.

Ivan Chirkov

0
Comment actions Permalink

Hi Ivan,

The section relating this issue is as follows. Basically, it is a timeout due to slow download speed. If I try to download it manually, the expected time is 20-40 minutes. The same issue is with Python plugin, so this is not Scala plugin specific. All other websites work fine, which makes me think the issue is with Jetbrains Plugins website.

 

2016-04-15 09:21:11,272 [346369924]   WARN - Settings.impl.PluginDownloader - Cannot download 'https://plugins.jetbrains.com/files/1347/25193/scala-intellij-bin-3.0.2.zip': Connection closed at byte 13139586. Expected 47130632 bytes.

, response: 200 OK

java.io.IOException: Cannot download 'https://plugins.jetbrains.com/files/1347/25193/scala-intellij-bin-3.0.2.zip':Connection closed at byte 13139586. Expected 47130632 bytes.

, response: 200 OK

            at com.intellij.util.io.HttpRequests$1RequestImpl.saveToFile(HttpRequests.java:219)

            at com.intellij.openapi.updateSettings.impl.PluginDownloader$2.process(PluginDownloader.java:254)

            at com.intellij.openapi.updateSettings.impl.PluginDownloader$2.process(PluginDownloader.java:251)

            at com.intellij.util.io.HttpRequests.process(HttpRequests.java:237)

            at com.intellij.util.io.RequestBuilder.connect(RequestBuilder.java:131)

            at com.intellij.openapi.updateSettings.impl.PluginDownloader.a(PluginDownloader.java:251)

            at com.intellij.openapi.updateSettings.impl.PluginDownloader.prepareToInstall(PluginDownloader.java:149)

            at com.intellij.openapi.updateSettings.impl.UpdateChecker.installPluginUpdates(UpdateChecker.kt:587)

            at com.intellij.openapi.updateSettings.impl.PluginUpdateInfoDialog$2.run(PluginUpdateInfoDialog.java:94)

            at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563)

            at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142)

            at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446)

            at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)

            at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)

            at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127)

            at com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:126)

            at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:369)

            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

            at java.util.concurrent.FutureTask.run(FutureTask.java:266)

            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

            at java.lang.Thread.run(Thread.java:745)

Caused by: java.io.IOException: Connection closed at byte 13139586. Expected 47130632 bytes.

            at com.intellij.util.net.NetUtils.copyStreamContent(NetUtils.java:226)

            at com.intellij.util.io.HttpRequests$1RequestImpl.saveToFile(HttpRequests.java:215)

            ... 21 more

 

0
Comment actions Permalink

Alexander, you can update plugin manually. For this purpose you have to download file from here: http://plugins.jetbrains.com/plugin/?id=1347

Then you need to use "Install plugin from disk..." button in plugins settings section.

0

Please sign in to leave a comment.