Bug #15056

Error on requests with large query in URL

Added by Peter Amstutz over 1 year ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-
Release relationship:
Auto

Description

GET requests embed the filters in the "query" portion of the URL. However, when filters get very large (such as requesting a large number of specific uuids, such as when requesting details about child containers) the URL can exceed the server's limit on URL length, causing the request to fail.

To work around this, the API server support queries using POST. The query goes in the body of the request (application/x-www-form-urlencoded), with an added query parameter "_method=GET" so it will be processed as a GET request. This is documented here:

https://doc.arvados.org/api/requests.html

In addition, queries on large numbers of uuids can be broken up into batches (this may also provide a better user experience by showing loading progress sooner).

History

#1 Updated by Peter Amstutz over 1 year ago

  • Status changed from New to In Progress

#2 Updated by Peter Amstutz over 1 year ago

  • Description updated (diff)
  • Status changed from In Progress to New
  • Subject changed from Error on requests with query portion in URI to Error on requests with large query in URL

#3 Updated by Peter Amstutz over 1 year ago

  • Description updated (diff)

#4 Updated by Chrystian Klingenberg over 1 year ago

  • Target version set to Backlog Q1, Q2

#5 Updated by Chrystian Klingenberg over 1 year ago

  • Target version deleted (Backlog Q1, Q2)
  • Release set to 20

#6 Updated by Chrystian Klingenberg over 1 year ago

  • Release deleted (20)

#7 Updated by Chrystian Klingenberg over 1 year ago

  • Target version set to Backlog Q1, Q2

#8 Updated by Chrystian Klingenberg about 1 year ago

  • Target version changed from Backlog Q1, Q2 to Workbench2 Q3, Q4

#9 Updated by Chrystian Klingenberg about 1 year ago

  • Target version deleted (Workbench2 Q3, Q4)
  • Release set to 19

#10 Updated by Chrystian Klingenberg about 1 year ago

  • Status changed from New to In Progress

#11 Updated by Peter Amstutz 7 months ago

  • Release changed from 19 to 20

#12 Updated by Peter Amstutz 6 months ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF