My organization blocks all http:// addresses which of course is how all the updates are stored in SNAP. On our desktops, it’s easy to change the update addresses with https:// using the GUI; however, the system I’m trying to update to 8.0.3 is a headless Linux server without X11 or any graphical capabilities. I’ve searched through all config and xml files in the SNAP directories but haven’t come across anywhere I can edit the update repository address prefix.
Anyone have a suggestion how to overcome this. We focus on SAR in arctic regions and I have been mighty impressed with the new Copernicus 30m Global DEM and would like to transition our automated workflows to use that DEM but I cannot until I can upgrade to 8.0.3
The URLs for the updates are not easy to find.
The configuration is stored within a jar file.
If snap is the installation directory it is located in snap/snap/modules
There you need to look for the file org-esa-snap-snap-rcp.jar.
Within this file you need to navigate to org/esa/snap/rcp.
Open the file layer.xml in an text editor.
There you will find the following lines:
Actually, a little ahead of myself. I edited /org/esa/snap/rcp/layer.xml in org-esa-snap-snap-rcp.jar. To ensure the update took, I exported it from the .jar again and double checked the addresses and they were correct. My update process was unchanged.
It returned to the command prompt after the last line in that screen grab.
Hi @shawnmcarter, sorry to come back to this issue but I am running into the same problem as you. Did you manage to find a workaround?
Also you mentioned changing this in the GUI works fairly easy, however, when I try locally the updates keep failing. What I did is change the addresses to https in the Plugins/Settings menu. Is there something I am missing? Nevermind this question it works now on SNAP Desktop by changing all URLs on the Plugin Settings.
@marpet you mentioned the updated URLs will come in the next updates:
The URLs use https sind SNAP 8.0.4.
If you have updated the modules https should be already used.
This is exactly my problem, I cannot update modules because the current version uses HTTP, so I cannot take advantage of this. But if, as you say, SNAP 9 will be released in the next weeks then I can wait for that release to work with. Thank you again.