1. Home
  2. CGI & Passenger
  3. File uploads in a Passenger-backed application fail

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.

Updated on March 7, 2021

Related Articles