On the 31st December 2020, a bug was identified with a third-party library supplied by Microsoft which resulted in some instability between Lasernet and the Azure Service Bus. This could be identified by the following error message:
“Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature”
Within a short time, a workaround was implemented. By temporarily changing the date on the server to “01/01/2021” and then restoring it to the original date the following day avoided any further complications.
On the same day, a fix was provided by Microsoft. Our Development team worked hard on implementing the fix but was unable to initiate the release as there was insufficient time to conduct the standard internal testing/validation process in which all changes are subject to (especially third-party library updates). However, the fix will be available on the next release.
What caused the error?
During our investigation, we noticed the issue was caused by the year 2020 had 366 days rather than 365. This caused the Microsoft supplied library to view invalid/malformed header requests sent between the Service Bus and the SDK library (used by Lasernet).
More details can be found directly from Microsoft here: