MIDAS Knowledge Base
How to fix a "502.2 Bad Gateway" error when trying to update MIDASWhen 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.
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).
← Return to Knowledge Base