Hello everyone,
I’m trying to install SNAP v5.0 on a CentOS 7 64 bits machine using unattended mode and a response.varfile to set my parameters using the following command:
$ sh esa-snap_sentinel_unix_5_0.sh -q -varfile response.varfile
with the following response.varfile :
deleteSnapDir=DESKTOP
executeLauncherAction$Boolean=false
forcePython$Boolean=false
sys.adminRights$Boolean=true
sys.component.S1TBX$Boolean=true
sys.component.S2TBX$Boolean=true
sys.component.S3TBX$Boolean=true
sys.component.SMOS$Boolean=false
sys.component.SNAP$Boolean=true
sys.installationDir=<install_dir>
sys.languageId=en
sys.symlinkDir=<bin_dir>
The installation is doing just fine.
My problem occurs during the update using the following command :
$ snap --nosplash --nogui --modules --update-all
the proxy is not correctly set and the command returns :
Server returned HTTP response code: 407 for URL: http://step.esa.int/updatecenter/5.0/snap-community/updates.xml.gz
I tried to manually configure the proxy in the GUI : this is working and the updates may be done in the GUI.
But I was unable to do the same and configure it using unattended mode since I don’t want to use the GUI.
I tried to add the following options in the response.varfile:
install4j.noProxyAutoDetect=true
install4j.showProxyConfig=true
install4j.proxySet=true
install4j.proxyHost=<host_address>
install4j.proxyPort=<my_proxy_port>
install4j.proxyAuth=true
install4j.proxyAuthUser=<my_proxy_login>
install4j.proxyAuthPassword=<my_proxy_pswd>
without any success.
What did I miss?
Is that a correct way to manually configure the proxy?
Is there any configuration file where the information about the proxy may be provided?
Thanks for your help,
Christophe T.