Idepix auxdata remote length -1 error

Hi,

I am having this problem when using Idepix from snappy GPF.

INFO: org.esa.snap.watermask.operator.WatermaskUtils: Checking for '/root/.snap/auxdata/watermask/50INFO: org.esa.snap.watermask.operator.WatermaskUtils: Checking for '/root/.snap/auxdata/watermask/50m.zip' ...
INFO: org.esa.snap.watermask.operator.WatermaskUtils: /root/.snap/auxdata/watermask/50m.zip exists true local length 125715350 remote length -1
INFO: org.esa.snap.watermask.operator.WatermaskUtils: http retrieving http://step.esa.int/auxdata/watermask/images/50m.zip
Idepix error. Error:org.esa.snap.core.gpf.OperatorException: Mandatory auxdata file '50m.zip' could not be downloaded: Connection timed outm.zip' ...
INFO: org.esa.snap.watermask.operator.WatermaskUtils: /root/.snap/auxdata/watermask/50m.zip exists true local length 125715350 remote length -1
INFO: org.esa.snap.watermask.operator.WatermaskUtils: http retrieving http://step.esa.int/auxdata/watermask/images/50m.zip  
Idepix error. Error:org.esa.snap.core.gpf.OperatorException: Mandatory auxdata file '50m.zip' could not be downloaded: Connection timed out`

The error happens because when the Internet connection is offline it cannot check the size of the auxdata stored in /root/.snap/auxdata/watermask/ and therefore it returns -1 from the remote length. This sends an error and then it tries to download the auxdata again but fails because the computer is offline. Is there any way without editing the Java code itself that I can turn the remote size check off in the options (from the command line)?

Thanks.

Unfortunately, there is no switch to turn this test off. But this issue has already been fixed and if you use the current preview version of SNAP it will work