PhpStorm won't auto-update

Answered

Hello !

I'm using PhpStorm on Ubuntu 16.04 LTS and auto-update seems broken. I keep getting the notification asking to download and update, but the IDE is just restarting without doing anything else. Running from the terminal, there is a stack trace :

[  23395]  ERROR - intellij.openapi.progress.Task - Received fatal alert: handshake_failure
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
    at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
    at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
    at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:2023)
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1125)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
    at sun.net.www.protocol.http.HttpURLConnection.followRedirect0(HttpURLConnection.java:2662)
    at sun.net.www.protocol.http.HttpURLConnection.followRedirect(HttpURLConnection.java:2584)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1770)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
    at com.intellij.util.io.HttpRequests.openConnection(HttpRequests.java:444)
    at com.intellij.util.io.HttpRequests.access$200(HttpRequests.java:56)
    at com.intellij.util.io.HttpRequests$RequestImpl.getConnection(HttpRequests.java:253)
    at com.intellij.util.io.HttpRequests.createErrorMessage(HttpRequests.java:130)
    at com.intellij.util.io.HttpRequests$RequestImpl.saveToFile(HttpRequests.java:330)
    at com.intellij.openapi.updateSettings.impl.UpdateChecker$downloadAndInstallPatch$tempFile$1.process(UpdateChecker.kt:518)
    at com.intellij.openapi.updateSettings.impl.UpdateChecker$downloadAndInstallPatch$tempFile$1.process(UpdateChecker.kt:68)
    at com.intellij.util.io.HttpRequests.doProcess(HttpRequests.java:374)
    at com.intellij.util.io.HttpRequests.process(HttpRequests.java:368)
    at com.intellij.util.io.HttpRequests.access$100(HttpRequests.java:56)
    at com.intellij.util.io.HttpRequests$RequestBuilderImpl.connect(HttpRequests.java:235)
    at com.intellij.openapi.updateSettings.impl.UpdateChecker.a(UpdateChecker.kt:518)
    at com.intellij.openapi.updateSettings.impl.UpdateChecker.access$downloadAndInstallPatch(UpdateChecker.kt:68)
    at com.intellij.openapi.updateSettings.impl.UpdateChecker$installPlatformUpdate$1.run(UpdateChecker.kt:492)
    at com.intellij.openapi.progress.impl.CoreProgressManager$6.run(CoreProgressManager.java:256)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
    at com.intellij.openapi.progress.impl.CoreProgressManager$9.run(CoreProgressManager.java:384)
    at com.intellij.openapi.progress.impl.CoreProgressManager$3.run(CoreProgressManager.java:170)
    at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:494)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:155)
    at com.intellij.openapi.application.impl.ApplicationImpl.a(ApplicationImpl.java:555)
    at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:308)
    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)
[  23396]  ERROR - intellij.openapi.progress.Task - PhpStorm 2016.2  Build #PS-162.1121.38
[  23396]  ERROR - intellij.openapi.progress.Task - JDK: 1.8.0_76-release
[  23397]  ERROR - intellij.openapi.progress.Task - VM: OpenJDK 64-Bit Server VM
[  23397]  ERROR - intellij.openapi.progress.Task - Vendor: JetBrains s.r.o
[  23397]  ERROR - intellij.openapi.progress.Task - OS: Linux
[  23397]  ERROR - intellij.openapi.progress.Task - Last Action: CheckForUpdate

 

Any ideas ?

2 comments
Comment actions Permalink

Hello, this is a known issue: https://youtrack.jetbrains.com/issue/IDEA-156936

Patch failed to be downloaded due to networking error but updater still tries to update via the corrupted file. The issue is still under investigation. As a workaround please reinstall IDE from scratch.

0
Comment actions Permalink

Thanks for the link, problem is now fixed (see my comment there)

0

Please sign in to leave a comment.