Problem
IDE cannot connect to the plugin marketplace to check for updates and download the latest version of the plugins.
Help > Check for Updates.. fails with the following error message: Failed to load plugins from the default repository: Remote host terminated the handshake. The following exception is thrown in the idea.log file:
INFO - #c.i.i.p.m.MarketplaceRequests - Error reading Marketplace file: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake (file=/Users/<username>/Library/Caches/JetBrains/IntelliJIdea2024.1/plugins/meta/555377.json URL=https://plugins.jetbrains.com/files/20218/555377/meta.json)
INFO - STDERR - Exception in thread "DefaultDispatcher-worker-17" javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
INFO - STDERR - at java.base/sun.security.ssl.SSLSocketImpl.handleEOF(SSLSocketImpl.java:1719)
INFO - STDERR - at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1518)
INFO - STDERR - at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1425)
INFO - STDERR - at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455)
INFO - STDERR - at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426)
INFO - STDERR - at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:589)
INFO - STDERR - at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:187)
INFO - STDERR - at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1687)
INFO - STDERR - at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1611)
INFO - STDERR - at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:529)
INFO - STDERR - at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:308)
INFO - STDERR - at com.intellij.util.io.HttpRequests.openConnection(HttpRequests.java:626)
INFO - STDERR - at com.intellij.util.io.HttpRequests$RequestImpl.getConnection(HttpRequests.java:366)
INFO - STDERR - at com.intellij.ide.plugins.marketplace.MarketplaceRequests$Companion.readOrUpdateFile$lambda$10(MarketplaceRequests.kt:226)
INFO - STDERR - at com.intellij.util.io.HttpRequests.doProcess(HttpRequests.java:529)
INFO - STDERR - at com.intellij.util.io.HttpRequests.process(HttpRequests.java:511)
INFO - STDERR - at com.intellij.util.io.HttpRequests$RequestBuilderImpl.connect(HttpRequests.java:340)
INFO - STDERR - at com.intellij.ide.plugins.marketplace.MarketplaceRequests$Companion.readOrUpdateFile(MarketplaceRequests.kt:223)
INFO - STDERR - at com.intellij.ide.plugins.marketplace.MarketplaceRequests$Companion.loadPluginDescriptor(MarketplaceRequests.kt:189)
INFO - STDERR - at com.intellij.ide.plugins.marketplace.MarketplaceRequests$Companion.loadLastCompatiblePluginDescriptors(MarketplaceRequests.kt:107)
INFO - STDERR - at com.intellij.ide.plugins.marketplace.MarketplaceRequests$Companion.loadLastCompatiblePluginDescriptors$default(MarketplaceRequests.kt:101)
INFO - STDERR - at com.intellij.openapi.updateSettings.impl.pluginsAdvertisement.PluginAdvertiserServiceImpl$fetchPluginSuggestions$lastCompatiblePluginDescriptors$1.invokeSuspend(PluginAdvertiserService.kt:360)
INFO - STDERR - at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
INFO - STDERR - at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
INFO - STDERR - at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
INFO - STDERR - at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
INFO - STDERR - at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
INFO - STDERR - at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
INFO - STDERR - Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [ComponentManager(ProjectImpl@605977385), CoroutineName(com.intellij.openapi.updateSettings.impl.pluginsAdvertisement.PluginAdvertiserServiceImpl), StandaloneCoroutine{Cancelling}@41ef9d1e, Dispatchers.IO]
INFO - STDERR - Caused by: java.io.EOFException: SSL peer shut down incorrectly
INFO - STDERR - at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:489)
INFO - STDERR - at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:478)
INFO - STDERR - at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160)
INFO - STDERR - at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111)
INFO - STDERR - at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1510)
INFO - STDERR - ... 26 more
Connection to URLs: https://plugins.jetbrains.com/files/brokenPlugins.json and https://plugins.jetbrains.com/files/pluginsXMLIds.json from a browser fails, whether a proxy is used or not.
When trying to connect to the plugin marketplace via browser, the following errors are printed in the browser console:
Cause
There is a security software or VPN that blocks the connection: firewall, network threat protection, antivirus, etc.
Resolution
Try to use a different network – e.g. shared hotspot from a mobile phone. Ask the network administrator to modify firewall rules and allow access to: https://plugins.jetbrains.com.
Note: A whole list of URLs used by IntelliJ IDE can be found in the article What's the IP whitelist of IntelliJ IDE in case of firewall policy or restricted network.
See also: How to troubleshoot HTTP status code 403 error when downloading plugins
Comments
0 comments
Please sign in to leave a comment.