Request to lower the timeout or improve the smart remote repository UI detection mechanism in order to prevent issues related to connection topics such as socket timeouts.
The scenario and implications:
When browsing to a smart remote repository it could take considerable time to load the remote repository page if the socketTimeout configured for the remote repository is high. Also if the load balancer is timing out requests that have a short socketTimeout it could be fail the UI load request with a 50x error.
Specifically the discoversmartrepocapabilities UI endpoint is taking prolonged time and therefore might fail the remote repository settings page loading.
The request that is triggered as a result of it to the remote repository endpoint is api/system/version as in the screenshot below which is dependent on the socketTimeout configured for the remote repository for a repository with 6 min timeout defined.