Intellij Updates/Marketplace Port
已回答
Is there a setting that allows check for updates & marketplace plugins to use port 443? Our network team said it's trying to use port 5228 that is blocked with a firewall rule currently. So both of these features fail with connection errors.
请先登录再写评论。
Hi,
Could you please clarify if this port is for inbound or outbound? We use 443 by default to send HTTPS requests.
In general, it is better to whitelist endpoints, not port numbers. We can recommend whitelisting the following:
- https://account.jetbrains.com
- https://www.jetbrains.com/updates/updates.xml
- https://download.jetbrains.com
- https://download-cf.jetbrains.com
- https://plugins.jetbrains.com
Also, make sure to double-check any HTTP Proxy configurations that you might have.
It is when going to either of these 2 options:
1) File - Settings - Plugins - Marketplace (Spinner until giving error:"Marketplace plugins are not loaded. Check the internet connection and refresh"
2) Help - Check For Updates eventually gives error: "Connection failed (Unexpected end of file from server). Please check network connection and try again."
Something in those 2 options is trying to use the port, 5228, that our firewall doesn't currently allow. Was wanting to know if there was a setting to route that to 443 instead?
In order to get more details about the current errors could you please enable the following HTTP requests debug logs at
Help | Diagnostic Tools | Debug Log Settings
Reproduce both errors and provide us with the IDE logs at Help | Collect Logs and Diagnostic Data by uploading at https://uploads.jetbrains.com/browse and sharing the UploadID.
Also, can you confirm if you have a proxy? If so, make sure that is configured in the IDE in the same way as you have in your web browser.
Upload id: 2023_06_23_hhAQ2nW5kuFLs5pyeLBMQ5 (file: idea-logs-20230623-08151013792458531451942312.zip)
Do not currently use any proxy.
> Is there a setting that allows check for updates & marketplace plugins to use port 443?
As we can see from the logs 443 port number was used by the IDE for sending requests to our endpoints. For example:
> Our network team said it's trying to use port 5228 that is blocked with a firewall rule currently. So both of these features fail with connection errors.
Could you provide some diagnostic details from your side where you see that 5228 port being used by the IDE?
Also, please share a screenshot from Settings/Preferences | Appearance & Behavior | System Settings | HTTP Proxy
Here is a complete error stacktrace returned by the IDE:
Something between the IDE and our server breaks the connection. Please see https://stackoverflow.com/questions/19824339/java-simple-code-java-net-socketexception-unexpected-end-of-file-from-server
Network admin was able to do a trace and find the issue and resolve. Thank you for your assistance.