Date: 04/05/2023
Some customers have experienced resource errors 521. The Fasterize error 521 corresponds to a configuration that is not found in the engine. After an engine update, some proxies failed to load some configurations in V2 format.
On February 15, 2023, the deployment of the website-config package (4.14.1) changed the JSON schema used for client configurations in order to introduce a new key. This change should not have been included in the package because the feature was not finished.
The new version of the website-config package moved this new key to another location in the JSON schema.
During deployment, the deletion of the key previously and incorrectly introduced in the validation scheme had the effect of invalidating all V2 configs with this key. However, this key was added automatically by the API if it was not present.
A mechanism to load a configuration even if it is not valid was however introduced during the update but did not work. When processing requests associated with unloaded configurations, the engine responded with a 521 error.
The fallback mechanism at the front level has mitigated the problem at the cache layer. Indeed, a second attempt on another proxy is triggered in the event of a 521 error. However, the return-to-origin system is not in place for 521 errors (to prevent the discovery of configurations).
The message for 521 errors is not clear enough and should render a page like the one used for 592 or 594 errors.
At the rollback level, retrieving the commit corresponding to version N-1 was not so easy. The rollback was not possible via the CI because it took too long to execute and was therefore executed on a developer workstation.
As a percentage of all traffic:
Over the duration of the incident
Only on impacted customers
Percentage of requests impacted on all customers
Percentage of queries impacted on impacted customers