Download Submissions does not respect AWS load balancing constraints

Created on 7 June 2023, over 1 year ago
Updated 8 June 2023, over 1 year ago

Problem/Motivation

When downloading results from a site using an AWS Load Balancer, sometimes for longer files (eg 7000 submissions) the files can be truncated. Different results are returned when trying to download the same thing repeatedly.

Steps to reproduce

Use site with AWS Load Balancer. Create many submissions. Download submissions at admin/structure/webform/manage/my_form/results/submissions

Proposed resolution

We believe that the proper solution would involve supporting AWS application-based stickiness - https://docs.aws.amazon.com/elasticloadbalancing/latest/application/stic... . This seems to require setting a cookie during the period that a download is occurring. Unfortunately, Drupal's session cookie does not have a consistent name (it is SESS{uid} where {uid} varies by session). AWS wants something like DRUPAL_WEBFORM_DOWNLOAD_IN_PROGRESS to be set.

Remaining tasks

Design solution, and implement. Or help us with a suggested other module.

User interface changes

na

API changes

na

Data model changes

na

πŸ’¬ Support request
Status

Closed: works as designed

Version

6.1

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada joe.murray

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024