• Resolved covvi

    (@covvi)


    Hi,

    I’ve built a form using GravityForms for external clients to supply their details, and a couple have come back with the same issues, that when they get to this field upload some certificates, they get this “Error: -200, Message: HTTP Error., File:[filename]” error that stops them from proceeding, as it’s a required field.

    I’ve tried filling out the form multiple times on my end using different browsers and devices, as well as the exact PDFs that the clients tried to upload, and it’s letting me proceed fine. I’ve found a couple of threads discussing this issue online, but they’re all several years old and don’t really have a definitive solution. I’ve seen some people say it may be a server/firewall issue, but I’m lost on what to try next. I’m running Themify Ultra with Wordfence. I do have the Captcha add-on installed for GravityForms, but it’s disabled for this form.

    I’ve dug more into Wordfence and found two examples which should relate to the issue, as they’re both linked to that form URL and mentioned a block triggered by file upload. I’ve also seen that you can switch this protection off, but I don’t feel comfortable leave that vulnerability open on the site. Is there a way to whitelist my forms/entire plugin to allow file uploads of certain types? Or turn up the tolerance to allow PDFs through without issue.

    If you have any suggestions on whether this is a server issue or not, then I’d be very grateful for the assistance

    Screenshot of the errors: https://www.covvi.com/wp-content/uploads/documents/Wordfence-Error.png

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @covvi,

    Where blocks are caused by a firewall rule and users were trying to upload a filetype your WordPress installation is set to allow, there are cases when customers need to disable one related to uploads. There are usually 3 possible firewall rules involved when somebody uploads a file to your site: “Malicious File Upload“, “Malicious File Upload (Patterns)”, or “Malicious File Upload (PHP)“ as reflected in your screenshot.

    There are layers to how uploaded files are checked by Wordfence. Some customers see false-positives from time-to-time as PDF or image files can easily match malicious PHP code patterns such as <? when viewed as text. If you turn the Malicious File Upload (PHP) rule off in Wordfence > All Options > Advanced Firewall Options > Rules, a different stage of the checking process will still scan the file(s) so shouldn’t present a major security concern.

    Many thanks,
    Peter.

    • This reply was modified 1 year ago by wfpeter. Reason: Modified reply to be less general to reflect screenshot provided
Viewing 1 replies (of 1 total)

The topic ‘“Error: -200, Message: HTTP Error” during file upload for some users’ is closed to new replies.