31/12/2020 Azure Service Bus Input Bug
Created by: Sam Menown
Modified on: Tue, 5 Jan, 2021 at 2:16 PM
On the 31st December 2020, a bug was identified with a third-party library 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 via the Github page. 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 library to view invalid/malformed header requests sent between the Service Bus and the SDK library (used by Lasernet).
More details can be found about the library used here:
Did you find it helpful?
Sorry we couldn't be helpful. Help us improve this article with your feedback.