title: WordPress: Unexpected response from the server. The file may have been uploaded successfully. Check in the Media Library or reload the page
body: <p>Does anyone know what this error message on WordPress means?</p>
  
  <pre><code>Unexpected response from the server. The file may have been uploaded successfully. Check in the Media Library or reload the page.
  </code></pre>
  
  <p>I couldn't find any errors that I can think of.</p>
  
  <p><strong>This happened when I tried to upload an MP4 file that is about 200MB in size.</strong> I have set my WordPress to accept MP4 of up to 5GB so that shouldn't be a problem, I am using WordPress Multisite installation on Ubuntu 16.04. </p>
  
  <p>In my <code>php.ini</code> I have set the max upload size to 50GB and max post size to 50GB too and I also set the max memory to 1GB. But it just kept sending me that error and I have no idea where to look. All it says was an unexpected response and I have no idea what response that might be. </p>
  
  <p>I can upload MP4 with a size of 27MB with no problem, I know the default WordPress setting is 20MB so I'm pretty sure the size isn't the problem. </p>
  
  <p>I have also check that the file wasn't corrupted, it was working fine on my computer as well as YouTube. </p>
  
  <p>I tried restarting PHP (PHP-FPM) and Apache2 but it doesn't seem to be working.</p>
  
  <p>Does anyone has an idea of what is going on? Thanks </p>