TRTH v2 gzip download issue

meera_c
meera_c Newcomer

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?

Best Answer

  • Gurpreet
    Gurpreet admin
    Answer ✓

    Hi @meera_c

    Couple of suggestions that you can try out:

    1. Try using another os.

    2. If going through a proxy, try a direct connection to internet.

    3. Try a different network provider - maybe try from your home etc.

    If you still have issues, we can try to run your code and validate.

Answers

  • @meera_c, did you change any of the query parameters of the java example (i.e. did you add instruments or change the date range for the query) ? Asked in a different way: what is the size of the file to download ?

    Also: after how much time does it time out ?