January 07, 2019
Happy New Year everyone! Mine started out well… suddenly, without a deployment or Azure issues, a website went completely unresponsive. “502 – Web server received an invalid response while acting as a gateway or proxy server”
Looking at the change log there was a content change just before the site went down. The change made was that a shortcut was set on page_1 to page_2, while page_2 had a shortcut to page_1. So an endless loop was created.
Optimizely validates if the shortcut is set to “self”, but not for this scenario. So I created a validator that checks if the shortcut references a page that is a shortcut itself. You can find it here.
Original Article was posted on Optimizely Development: Add Extra Validation for Shortcut