0

Recently we upgraded mod_wsgi to v 4.5.15. When trying to upload a 700KB or bigger file to a Django project from Chrome, the Django website crashes. The same file upload from Firefox works fluently.

What I found in documentation, that there are more options to configure for mod_wsgi than in previous versions. The complete list of settings is located in the documentation of WSGIDaemonProcess.

Currently I have only python-path defined in the options. If the upload issue is related to the configuration at all, which settings should I try to tackle?

Side question: what could be the difference in Chrome and Firefox that deals differently with file uploads.

Aidas Bendoraitis
  • 1,465
  • 2
  • 14
  • 17
  • Sadly I think this question will be more suited on Chrome forum in my own opinion, as it seem a product limitation/bug – yagmoth555 Apr 11 '17 at 23:28
  • I have just reported the issue to Chrome too. Let's see if they can help me to solve this issue. Otherwise, maybe there will be some devops here who knows the answer. – Aidas Bendoraitis Apr 12 '17 at 00:08

1 Answers1

0

There seemed to be a conflict between mod_wsgi and mod_http2 in Apache configuration. There is a reported similar bug about that.

Disabling mod_http2 fixes the issue. Maybe upgrading mod_http2 to the latest version will do the same.

Aidas Bendoraitis
  • 1,465
  • 2
  • 14
  • 17