Doesn't handle durable function 202 response with large number of zones
See original GitHub issueDescribe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- Add a number of DNS zones that your SP has access to, mine has 27
- Open developer tools
- Monitor the call to
/api/dns-zones
- It may return a 202 accepted response instead of 200 with a url to fetch the result
In my case the response was:
{
"id": "******",
"statusQueryGetUri": "https://******.azurewebsites.net/runtime/webhooks/durabletask/instances/********?taskHub=DurableFunctionsHub&connection=Storage&code=******==&returnInternalServerErrorOnFailure=true",
"sendEventPostUri": "https://********.azurewebsites.net/runtime/webhooks/durabletask/instances/******/raiseEvent/{eventName}?taskHub=DurableFunctionsHub&connection=Storage&code=********==",
"terminatePostUri": "https://********.azurewebsites.net/runtime/webhooks/durabletask/instances/******/terminate?reason={text}&taskHub=DurableFunctionsHub&connection=Storage&code=********==",
"purgeHistoryDeleteUri": "https://acmedcdcftappsprod.******.net/runtime/webhooks/durabletask/instances/********?taskHub=DurableFunctionsHub&connection=Storage&code=********==",
"restartPostUri": "https://********.azurewebsites.net/runtime/webhooks/durabletask/instances/******/restart?taskHub=DurableFunctionsHub&connection=Storage&code=******=="
}
and the response from the durable task status query url was wrapped like so:
{
"name": "GetDnsZones_Orchestrator",
"instanceId": "***",
"runtimeStatus": "Completed",
"input": null,
"customStatus": null,
"output": [
"my-zone",
"x27...",
],
"createdTime": "2021-06-01T10:08:14Z",
"lastUpdatedTime": "2021-06-01T10:09:18Z"
}
Environment (please complete the following information):
- Certificate Type: [e.g. Zone Apex, Sub-domain, Wildcard]
- Certificate Deploy Target: [e.g. App Service]
Additional context Add any other context about the problem here.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
ActivityFunction does not start when a large number of ...
I am building a fan-in / fan-out system using the Durable Function of Azure Function, but if the Activity Function is called from...
Read more >Durable Functions Troubleshooting Guide - Azure
Guide to troubleshoot common issues with durable functions.
Read more >Durable Function not returning large files
I have a Durable Function (version 3) which returns an Excel sheet as base64 encoded text assigned to a property of a simple...
Read more >Durable Function Fan out with Time limit - remains in " ...
Everything seems to work correctly. If any activity doesn't return within the time limit, the timeout task wins, and the data is processed...
Read more >How to use Axios interceptors to poll for long running API ...
This post looks at how Axios interceptors can be used to centralise polling logic in your UI application for long-running async API calls....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have not implemented it to handle 202, but you can create a pull request to improve it. Alternatively, it is recommended that you use the REST API to issue certificates.
Thanks will see how we go, may come back later with a PR.
In general it works fine, but when I raised this issue I tried a few times over a 30minute period and I wasn’t able to get it to load