I am using the class "DSS2OnDemandTicksTRTH" from the java examples to download data through AWS.
I am getting the ASW URI, from which I am able to download file by hitting the URL from browser
I have made a jar of the class and am running it from unix shell. When I execute the jar, I am getting the URI, however while streaming the data, I am getting connection timed out error.
In the below line to be exact:
GzipCompressorInputStream gis = new GzipCompressorInputStream( myURLConnection.getInputStream(), true);
I have also tried downloading without using AWS server, still encountering the same error on the same line.
I tired increasing the HttpURLConnection timeout, but still facing the same issue.
Any other suggestions please?