Hi GATK Users,

Happy Thanksgiving!
Our staff will be observing the holiday and will be unavailable from 22nd to 25th November. This will cause a delay in reaching out to you and answering your questions immediately. Rest assured we will get back to it on Monday November 26th. We are grateful for your support and patience.
Have a great holiday everyone!!!

Regards
GATK Staff
Latest Release: 11/14/18
Release Notes can be found here.

BUG: loading multiple set entities via the importEntities API returns a 502 error code

dheimandheiman Member, Broadie ✭✭

This has been noted by myself, @smeier, and @francois_a.

When using the importEntity API with a tsv file containing multiple set entities, we often get a return code of 502, however when we look at the workspace, we'll see that the load was a success.

Tagged:

Answers

  • KateNKateN Cambridge, MAMember, Broadie, Moderator admin

    Could you share a workspace where you see this behavior with [email protected]? I'd like to have a developer take a look.

  • dheimandheiman Member, Broadie ✭✭

    Hi @KateN,

    @hussein has confirmed that this is a known potential issue. This bug does not require a workspace to investigate, as it occurs during workspace setup, just a sufficiently large TSV file with multiple set entities. This can easily be put together by a dev with randomized data in their own workspace. If you want to see an example of way more than enough data, feel free to check out nci-dheiman-b-org/dev (already shared with [email protected]).

    The problem is that this API call isn't fully asynchronous - that is, it should simply return that the file was successfully received, and process it separately.

    Right now the API call is set to return a success upon finishing processing the file, but the session times out because the timeout limit is shorter than it takes to process the file. The timeout, however, does not kill the processing of the file, so when we check the workspace, we see all the data is there.

    There are two possible solutions to this issue - increase the timeout limit (yet again, so I've been told), or have the call simply return that the file was uploaded (and possibly validated to ensure proper formatting), and that it may take a few moments to show up while it processes.

    I think the latter is likely the cleanest solution, as it's not really possible to predict just how big the files users upload will be.

  • KateNKateN Cambridge, MAMember, Broadie, Moderator admin

    @hussein has put a note on that known issue ticket to add your information to the potential solution for the problem. I will be sure to update you when we see a fix go through on this matter. Thank you for reporting this!

Sign In or Register to comment.