Closed DanielGoehler closed 2 years ago
We mitigated this issue with "Number of retries if task failed" set to 5. These error happens at one of our tenants almost every day. Different Apps, Different Environment sometimes Sandbox 1, sometimes Sandbox 2, sometime Production. No clear target.
We're running against the limitations of Business Central here - there are simply a limited amount of connections (ALOps is not doing 100 requests at a time.. so I expect other "software" to have connections as well at that same time - it is a bit of a mystery how MS counts these connections): https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v1.0/dynamics-current-limits
What we can do:
What do you think?
Hi @waldo1001, thanks for you thoughts. You're right, ALOps are not the source of that simultaneous 100 requests. ALOps will cause only one simultaneous request. This customer have a lot integration LogicApps, we don't know details about. E.g. Webshop, which constanctly communicating with the Business Central backend would have this behavior. I will ask the customer if he scale back on this a little bit or if there is better time frame for importing the updates.
We can already set up a number of retries. Set up a "delay" for the next retry would be nice in the long run.
v1.449: ALOpsExtensionAPI: More Resilient on Deployment, delay and max retries can be configured with [checksecondsdelay] and [maxtries]
Thank you! The result speaks for itself. I set Check Delay (Sec) to 60 and the errors are gone (Same cloud customer, same app, nothing changed, just deployed a new version today):
Nice! Difficult for us to see as we didn't have any test-case .. but glad it helps!
We serialized the deployment process like suggested in #446, but we still get this error message from time to time. There was no other connection at the same time with the same ClientId to this tenant. If a http status 429 was returned, slow down would be best. Also in two cases, we got the server error message (Too many requests reached. Actual (101). Maximum (100).), mostly we saw the error message No overload can be found for "GetExtensions" and the following argument count: "1". (Translated)