Latest News: MIDAS v4.25 Now Available | COVID-19 Support

MIDAS Knowledge BaseMIDAS Knowledge Base

Why do I see a "502.2 Bad Gateway" error when trying to update MIDAS?

When performing an update to a self hosted edition of our MIDAS software, if you encounter a "CGI Error" or an "HTTP Error 502.2 - Bad Gateway" error, along with an accompanying message "The specified application misbehaved by not returning a complete set of headers", this may indicate a permission issue on your web server.

502 - The specified application misbehaved by not returning a complete set of headers

In order to successfully update your MIDAS booking system, the update process needs to download and extract the update to your server. This takes place in the existing server directory where your MIDAS installation resides.

If your server is configured to deny write access to this location to your web server/Perl (and therefore in turn, also MIDAS), the update will not be able to complete successfully, and may result in the error described above.

To resolve this, ensure that your web server is able to write to the location where your MIDAS booking system is installed. Once you've verified folder permissions, try updating again (via MIDAS Admin Options → Manage MIDAS → Update).


You might also be interested in...


MIDAS » KB » Support » Article 00093

← Return to Knowledge Base