Skip to content

"Download All Responses" button and API endpoint for retrieving guestbook responses time out when used to get responses from certain collections #12330

Description

@jggautier

What steps does it take to reproduce the issue?

  • When does this issue occur?
    When trying to get all guestbook responses for a collection by:

  • Which page(s) does it occurs on?

    • On the "Manage Dataset Guestbooks" pages of certain collections in Harvard Dataverse
    • In terminals and IDE's and where ever else users might use the API endpoint to get guestbook responses of certain collections in Harvard Dataverse
  • What happens?

    • After clicking "Download All Responses" and waiting for a bit, a "504 Gateway Time-out" page appears

    • After trying to use the API endpoint and waiting for a bit, the endpoint returns "504 Gateway Time-out"
      Endpoint runs for about a minute...
      Image

      ... and times out
      Image

    Sometimes users are able to get the responses, using the "Download All Responses" button or the API endpoint, after a few tries.

  • To whom does it occur (all users, curators, superusers)?
    Superusers and managers of collections

  • What did you expect to happen?

  • The guestbook always downloads as a CSV file, at least for collections with fewer file downloads
  • The "Retrieve Guestbook Responses for a Dataverse Collection endpoint" always returns the guestbook responses instead of a 504 timeout error, even for guestbooks with many file downloads. We created this endpoint for cases where users can't view or download their guestbook respones using their browsers because there are two many responses. See IQSS/dataverse #7767

Which version of Dataverse are you using?
v6.9 - v6.11

Any related open or closed issues to this bug report?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature: APIFeature: GuestbookGREI Re-archIssues related to the GREI Dataverse rearchitectureSPAThese changes are required for the Dataverse SPASize: 20A percentage of a sprint. 14 hours.Type: Buga defect

    Type

    Projects

    Status
    Sprint Ready

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions