MIDAS Knowledge Base
How to fix a "502.2 Bad Gateway" error when trying to update MIDASIf 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" when updating a self hosted MIDAS booking system, this may indicate a permissions issue on your web server.
In order to successfully update your MIDAS booking software, the update process needs to download and extract the update to your server. This data and extraction takes place in the existing directory on your server 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, please ensure that your web server is able to write to the location where your booking system is installed.
Once you've verified folder permissions, try updating again (via MIDAS Admin Options → Manage MIDAS → Update).
MIDAS » KB » Support » Article 00093
Was this information helpful? Please Rate This Article: ★★★★★
← Return to the Knowledge Base