Troubleshoot uploader HTTP errors

It might happen that the advanced drag&drop asynchronous uploader does not work, failing with a “-200: HTTP Error” or similar.

As of experience, this is likely caused by too strict server security settings. The uploader uses plupload and POSTs the file to the URL [home_url]/?wpfilebase_ajax=1&wpfb_action=upload.
Another source of failure might be other plugins inserting invalid error messages or whitespaces into the JSON data of the server response. So before you further stick into this, just disable any other plugins and try again. Then re-enable them one-by-one to spot the conflict.

Here’s how to get details about the error for debugging, which is essential when you ask us to help you on this:

  1. Navigate to the file add form with the broken uploader
  2. On Chrome+Windows Press F12, or Cntrl+Shift+I to open the Developer Tools. See detailed instructions for other OS. On firefox it should be the same, see Mozilla’s documentation.
  3. In the Developer Tool box, open/navigate to the Console. The should be a tab with this name, otherwise press Esc. You can alternatively open the console directly with the hotkey Cntrl+Shift+J
  4. Now start uploading a file and look for error messages in the console after the file upload completed.

Post this in the support forums or create a ticket.

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

One thought on “Troubleshoot uploader HTTP errors

  1. medicenter says:
    VN:F [1.9.22_1171]
    Rating: 0 (from 0 votes)

    I am having problems when uploading multiple files through file browser.

    I get a popup with “HTTP ERROR”.
    I searhed on youh online help, so I looked for errors with chrome, so:

    On the console of Chrome I see:
    Failed to load resource: net::ERR_CONNECTION_RESET http://mysite.com/?wpfilebase_ajax=1&wpfb_action=upload

    Is it a server problem or a plugin problem?
    When I close the popup the upload continues but the upload is very slow.
    What can I do to fix this?

Leave a Reply