mozilla / send

Simple, private file sharing from the makers of Firefox
https://send.firefox.com
Mozilla Public License 2.0
13.26k stars 1.56k forks source link

[Send v2] Uploads taking longer than ~65 seconds hang #1077

Closed AlexandruTrif closed 5 years ago

AlexandruTrif commented 5 years ago

[Affected Versions]:

[Affected Platforms]:

[Prerequisites]:

[Steps to reproduce]:

  1. Open the Firefox browser and navigate to https://send2.dev.lcip.org/
  2. Click “Add files(s)” and select a file larger than 250MB.
  3. Click “Open” and upload the file.
  4. Observe the behavior.

[Expected result]:

[Actual result]:

[Notes]:

dannycoates commented 5 years ago

This looks like a timeout issue after ~60 seconds as opposed to a size issue. This happened before with the load balancer which we fixed and I verified. According to what I can see that LB setting is still set ok at 86400s. @jbuck any ideas? It seems weird that something else would be timing out. Production is using almost the same setup aside from the websocket without issue.

johngruen commented 5 years ago

@clouserw also

Softvision-AndreeaCupsa commented 5 years ago

This issue is also reproducible with the Send Android build. However, the upload does not always hang after approx. 65 seconds like on the website, it stops after a period of time between approx. 30 and 180 seconds.

jbuck commented 5 years ago

1134 is a patch in-progress that might help solve GCS timeout issues and https://github.com/mozilla-services/cloudops-infra/pull/544 fixes the websocket timeout issue. Both need to be fixed to resolve this issue

dannycoates commented 5 years ago

This should be fixed on the dev site as of cd8ab540f2c8514bdc9d6434d54ddd6c52c77698

Softvision-AndreeaCupsa commented 5 years ago

I have verified this issue and is no longer reproducible on the https://send2.dev.lcip.org/ website.