File uploads in a Passenger-backed application fail

Overview

A file upload initiated in an application written in Ruby, Node, or Python launched through Passenger will fail to upload. Thus far, the confirmed failure occurs in RefineryCMS with a generic undefined route message following upload.

Example conflict in RefineryCMS. Following upload, RefineryCMS reports the route as undefined.

Example conflict in RefineryCMS. Following upload, RefineryCMS reports the route as undefined.

Cause

It is a conflict between upload screening and Passenger, but the underlying cause is not clearly understood. Upload screening was added to enhance server security effective April 6, 2016.

Solution

Open a ticket in the control panel to request disabling upload screening on files. Once disabled, file uploads will post without interruption.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.