controlling / overriding mirrors . . . [message #1795064] |
Thu, 13 September 2018 20:24 |
Dallas Gimpel Messages: 2 Registered: September 2018 |
Junior Member |
|
|
Hi -
Our network security strategy includes the use of a proxy server. Sometime in the last 6 to 8 months or so, we lost our ability to update Eclipse itself and Eclipse plugins automatically via update sites. The Eclipse Marketplace client also stopped working for installation of new plugins, etc. We determined that our proxy server was denying access to the underlying mirror sites to which most (all?) update requests were being passed, thus preventing anyone from updating plugins or obtaining new software via Eclipse Marketplace.
We have now determined that sites are being denied (at least in part) by geo-location. Network security is necessarily strict at my employer so updating our proxy server is unfortunately not an option for us. For our purposes, we'd like to be able to update / install using servers that reside, for example, in the US. Is there any way to control which mirror site is used?
I did find this thread in which the last two responses suggest that the answer to my question is "no".
respectfully,
dgg
|
|
|
Re: controlling / overriding mirrors . . . [message #1795070 is a reply to message #1795064] |
Fri, 14 September 2018 04:58 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
If the download.eclipse.org server's transparent mirroring system is visible on the client side, which the other thread suggests is the case, then there is no way to avoid that when using that server.
One approach that might work is to use a specific mirror URL directly. E.g., you can use a URL like this one to discover which servers have mirrors for the Photon composite:
http://www.eclipse.org/downloads/download.php?file=/releases/photon/compositeContent.jar
The query string's file parameter's value must be the path of one of metadata files in the repository, which depends on the type of repository, e.g., compositeContent.jar, compositeContent.xml, content.jar, content.xml, or content.xml.xz.
If I download the file from a server that looks like one I might want to use directly, I can see in the browser from which URL it was downloaded to determine which server is a mirror. E.g., in this case I can discover that the following US-based location is a mirror for Photon:
http://mirror.math.princeton.edu/pub/eclipse/releases/photon/
I believe you could then directly use that URL instead...
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08410 seconds