Page MenuHomePhabricator

Can't upload large files with X-Wikimedia-Debug turned on
Closed, ResolvedPublic

Description

Steps to reproduce:

  • Point to mwdebug1002 with X-Wikimedia-Debug
  • Upload file > 2MB on testwiki (files as small as 1.3MB seem to also trigger it, the actual limit might be 1MB)

The upload should fail with a 413 Request Entity Too Large error from nginx. I assume the nginx we're hitting here is the SSL terminator.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
greg subscribed.

(not really a RelEng task, we care about the debug servers and use them, but Ops manages them and the nginx config)

ema triaged this task as Medium priority.May 29 2017, 10:06 AM

Change 356022 had a related patch set uploaded (by Ema; owner: Ema):
[operations/puppet@production] debug_proxy: increase client_max_body_size

https://gerrit.wikimedia.org/r/356022

Change 356022 merged by Ema:
[operations/puppet@production] debug_proxy: increase client_max_body_size

https://gerrit.wikimedia.org/r/356022

@Gilles the problem should be fixed now, please let me know if that's not the case.

Gilles claimed this task.