IntelliJ can't connect to internet for downloading updates, plugins, language packages

已回答

I am experiencing something that has been happening for moths in my IntelliJ IDE: I cannot download or update any plugins or the IDE itself because there seems to be a problem with the internet connection. I found some similar issues here on support, but not sure that those connection problems was in the range I'm facing.

The Error in the Plugin store is the following:

What I have already tried based on similar issues:

1. Chage the proxy settings from "no proxy" to "auto-detect proxy settings" but no result came from that.

2. Also, I already verified that there's no enableSNIExtension

3. And I added the -Djava.net.preferIPv4Stack=true

But none of those did the trick.

So, I added the following to my Debug Log settings

com.intellij.util.io.HttpRequests
#com.intellij.util.io.HttpRequests
com.intellij.util.proxy.CommonProxy
#com.intellij.util.proxy.CommonProxy

With that, the logs into idea.log is the following:

2023-01-13 10:28:08,238 [ 250917]   WARN - arketplace.MarketplaceRequests - Error reading Marketplace file: java.net.UnknownHostException: plugins.jetbrains.com (file=C:\Users\joanderson.g.santos\AppData\Local\JetBrains\IdeaIC2021.3\plugins\brokenPlugins.json URL=https://plugins.jetbrains.com/files/brokenPlugins.json)

2023-01-1310:28:08,239 [ 250918]   WARN - arketplace.MarketplaceRequests - Can not get broken plugins file from Marketplace: plugins.jetbrains.com

2023-01-1310:28:08,241 [ 250920]  DEBUG - ntellij.util.proxy.CommonProxy - CommonProxy.select called for https://plugins.jetbrains.com/files/pluginsXMLIds.json

2023-01-13 10:28:08,241 [ 250920]  DEBUG - ntellij.util.proxy.CommonProxy - CommonProxy.select returns custom proxy for https://plugins.jetbrains.com/files/pluginsXMLIds.json, [DIRECT]

2023-01-1310:28:08,241 [ 250920]  DEBUG - .intellij.util.io.HttpRequests - connecting to https://plugins.jetbrains.com/files/pluginsXMLIds.json

2023-01-1310:28:08,242 [ 250921]  DEBUG - ntellij.util.proxy.CommonProxy - CommonProxy.select called for socket://plugins.jetbrains.com:443

2023-01-13 10:28:08,242 [ 250921]  DEBUG - ntellij.util.proxy.CommonProxy - CommonProxy.select returns custom proxy for socket://plugins.jetbrains.com:443, [DIRECT]

2023-01-13 10:28:08,242 [ 250921]   WARN - arketplace.MarketplaceRequests - Error reading Marketplace file: java.net.UnknownHostException: plugins.jetbrains.com (file=C:\Users\joanderson.g.santos\AppData\Local\JetBrains\IdeaIC2021.3\plugins\pluginsXMLIds.json URL=https://plugins.jetbrains.com/files/pluginsXMLIds.json)

2023-01-1310:28:08,243 [ 250922]   INFO - ateSettings.impl.UpdateChecker - failed to load plugins from default repository: plugins.jetbrains.com

2023-01-1310:28:08,903 [ 251582]  DEBUG - ntellij.util.proxy.CommonProxy - CommonProxy.select called for https://plugins.jetbrains.com/files/pluginsXMLIds.json

2023-01-13 10:28:08,903 [ 251582]  DEBUG - ntellij.util.proxy.CommonProxy - CommonProxy.select returns custom proxy for https://plugins.jetbrains.com/files/pluginsXMLIds.json, [DIRECT]

2023-01-1310:28:08,903 [ 251582]  DEBUG - .intellij.util.io.HttpRequests - connecting to https://plugins.jetbrains.com/files/pluginsXMLIds.json

2023-01-1310:28:08,903 [ 251582]  DEBUG - ntellij.util.proxy.CommonProxy - CommonProxy.select called for socket://plugins.jetbrains.com:443

2023-01-13 10:28:08,903 [ 251582]  DEBUG - ntellij.util.proxy.CommonProxy - CommonProxy.select returns custom proxy for socket://plugins.jetbrains.com:443, [DIRECT]

2023-01-13 10:28:08,904 [ 251583]   WARN - arketplace.MarketplaceRequests - Error reading Marketplace file: java.net.UnknownHostException: plugins.jetbrains.com (file=C:\Users\joanderson.g.santos\AppData\Local\JetBrains\IdeaIC2021.3\plugins\pluginsXMLIds.json URL=https://plugins.jetbrains.com/files/pluginsXMLIds.json)

2023-01-1310:28:09,089 [ 251768]  DEBUG - ntellij.util.proxy.CommonProxy - CommonProxy.select called for https://plugins.jetbrains.com/api/search/plugins?is_featured_search=true&build=IC-213.5744.223&max=18

2023-01-13 10:28:09,089 [ 251768]  DEBUG - ntellij.util.proxy.CommonProxy - CommonProxy.select returns custom proxy for https://plugins.jetbrains.com/api/search/plugins?is_featured_search=true&build=IC-213.5744.223&max=18, [DIRECT]

2023-01-1310:28:09,089 [ 251768]  DEBUG - .intellij.util.io.HttpRequests - connecting to https://plugins.jetbrains.com/api/search/plugins?is_featured_search=true&build=IC-213.5744.223&max=18

2023-01-1310:28:09,089 [ 251768]  DEBUG - ntellij.util.proxy.CommonProxy - CommonProxy.select called for socket://plugins.jetbrains.com:443

2023-01-13 10:28:09,089 [ 251768]  DEBUG - ntellij.util.proxy.CommonProxy - CommonProxy.select returns custom proxy for socket://plugins.jetbrains.com:443, [DIRECT]

2023-01-13 10:28:09,090 [ 251769]   INFO - gins.PluginManagerConfigurable - Main plugin repository is not available ('plugins.jetbrains.com'). Please check your network settings.

2023-01-1310:28:11,912 [ 254591]  DEBUG - ntellij.util.proxy.CommonProxy - CommonProxy.select called for https://plugins.jetbrains.com/api/search/plugins?is_featured_search=true&build=IC-213.5744.223&max=18

2023-01-13 10:28:11,912 [ 254591]  DEBUG - ntellij.util.proxy.CommonProxy - CommonProxy.select returns custom proxy for https://plugins.jetbrains.com/api/search/plugins?is_featured_search=true&build=IC-213.5744.223&max=18, [DIRECT]

2023-01-1310:28:11,912 [ 254591]  DEBUG - .intellij.util.io.HttpRequests - connecting to https://plugins.jetbrains.com/api/search/plugins?is_featured_search=true&build=IC-213.5744.223&max=18

2023-01-1310:28:11,913 [ 254592]  DEBUG - ntellij.util.proxy.CommonProxy - CommonProxy.select called for socket://plugins.jetbrains.com:443

2023-01-13 10:28:11,913 [ 254592]  DEBUG - ntellij.util.proxy.CommonProxy - CommonProxy.select returns custom proxy for socket://plugins.jetbrains.com:443, [DIRECT]

2023-01-13 10:28:11,913 [ 254592]   INFO - gins.PluginManagerConfigurable - Main plugin repository is not available ('plugins.jetbrains.com'). Please check your network settings.

Is there something I am missing?

0

Hello,

Is it possible to open "plugins.jetbrains.com" in browser? Looks like you have firewall or some other software that blocks connection.

0

Yes, It's possible to access in a browser

0

Do you use any antivirus software or firewall?

0

Antivirus yes. But yesterday infra guys deactivated them and the problem persisted

0

Could you please try to set proxy manually?

0

Sorry, but It's against company policies

0

What is your IDE version? Could you please check the issue with latest version and default settings?

0

请先登录再写评论。