Skip to content

Instantly share code, notes, and snippets.

@davetapley
Created April 30, 2024 19:34
Show Gist options
  • Save davetapley/627965624b7639ed23a48f50d1c5ec16 to your computer and use it in GitHub Desktop.
Save davetapley/627965624b7639ed23a48f50d1c5ec16 to your computer and use it in GitHub Desktop.
Acmebot
IssueCertificate
Reason
Microsoft.Azure.WebJobs.Extensions.DurableTask.FunctionFailedException: The activity function 'Dns01Authorization' failed: "The record could not be created because a CNAME record with the same name already exists in this zone. Status: 409 (Conflict) ErrorCode: Conflict
Content: {"code":"Conflict","message":"The record could not be created because a CNAME record with the same name already exists in this zone.","details":[{"code":"CannotCreateRecordDueToCNameNamingRestriction","message":"The record could not be created because a CNAME record with the same name already exists in this zone."}]}
Headers: Cache-Control: private X-Content-Type-Options: REDACTED Strict-Transport-Security: REDACTED x-ms-request-id: 5ff5f3dc-046c-4cdc-bf4e-d667891f579a X-Powered-By: REDACTED x-ms-ratelimit-remaining-subscription-resource-requests: REDACTED x-ms-correlation-request-id: REDACTED x-ms-routing-request-id: REDACTED X-Cache: REDACTED X-MSEdge-Ref: REDACTED Date: Tue, 30 Apr 2024 00:01:25 GMT Content-Length: 318 Content-Type: application/json; charset=utf-8 ". See the function execution logs for additional details. ---> Azure.RequestFailedException: The record could not be created because a CNAME record with the same name already exists in this zone. Status: 409 (Conflict) ErrorCode: Conflict
Content: {"code":"Conflict","message":"The record could not be created because a CNAME record with the same name already exists in this zone.","details":[{"code":"CannotCreateRecordDueToCNameNamingRestriction","message":"The record could not be created because a CNAME record with the same name already exists in this zone."}]}
Headers: Cache-Control: private X-Content-Type-Options: REDACTED Strict-Transport-Security: REDACTED x-ms-request-id: 5ff5f3dc-046c-4cdc-bf4e-d667891f579a X-Powered-By: REDACTED x-ms-ratelimit-remaining-subscription-resource-requests: REDACTED x-ms-correlation-request-id: REDACTED x-ms-routing-request-id: REDACTED X-Cache: REDACTED X-MSEdge-Ref: REDACTED Date: Tue, 30 Apr 2024 00:01:25 GMT Content-Length: 318 Content-Type: application/json; charset=utf-8
at Azure.ResourceManager.Dns.DnsTxtRecordRestOperations.CreateOrUpdateAsync(String subscriptionId, String resourceGroupName, String zoneName, DnsRecordType dnsRecordType, String relativeRecordSetName, DnsTxtRecordData data, Nullable1 ifMatch, String ifNoneMatch, CancellationToken cancellationToken) at Azure.ResourceManager.Dns.DnsTxtRecordCollection.CreateOrUpdateAsync(WaitUntil waitUntil, String txtRecordName, DnsTxtRecordData data, Nullable1 ifMatch, String ifNoneMatch, CancellationToken cancellationToken) at KeyVault.Acmebot.Functions.SharedActivity.Dns01Authorization(ValueTuple2 input) in /home/runner/work/keyvault-acmebot/keyvault-acmebot/KeyVault.Acmebot/Functions/SharedActivity.cs:line 276 at Microsoft.Azure.WebJobs.Host.Executors.FunctionInvoker2.InvokeAsync(Object instance, Object[] arguments) at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.InvokeWithTimeoutAsync(IFunctionInvoker invoker, ParameterHelper parameterHelper, CancellationTokenSource timeoutTokenSource, CancellationTokenSource functionCancellationTokenSource, Boolean throwOnTimeout, TimeSpan timerInterval, IFunctionInstance instance) in D:\a_work\1\s\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionExecutor.cs:line 581 at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.ExecuteWithWatchersAsync(IFunctionInstanceEx instance, ParameterHelper parameterHelper, ILogger logger, CancellationTokenSource functionCancellationTokenSource) in D:\a_work\1\s\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionExecutor.cs:line 527 at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.ExecuteWithLoggingAsync(IFunctionInstanceEx instance, FunctionStartedMessage message, FunctionInstanceLogEntry instanceLogEntry, ParameterHelper parameterHelper, ILogger logger, CancellationToken cancellationToken) in D:\a_work\1\s\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionExecutor.cs:line 306 --- End of inner exception stack trace --- at Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableOrchestrationContext.CallDurableTaskFunctionAsync[TResult](String functionName, FunctionType functionType, Boolean oneWay, String instanceId, String operation, RetryOptions retryOptions, Object input, Nullable1 scheduledTimeUtc) in D:\a\_work\1\s\src\WebJobs.Extensions.DurableTask\ContextImplementations\DurableOrchestrationContext.cs:line 751 at KeyVault.Acmebot.Functions.SharedOrchestrator.IssueCertificate(IDurableOrchestrationContext context) in /home/runner/work/keyvault-acmebot/keyvault-acmebot/KeyVault.Acmebot/Functions/SharedOrchestrator.cs:line 32 at Microsoft.Azure.WebJobs.Host.Executors.VoidTaskMethodInvoker2.InvokeAsync(TReflected instance, Object[] arguments) in D:\a_work\1\s\src\Microsoft.Azure.WebJobs.Host\Executors\VoidTaskMethodInvoker.cs:line 20 at Microsoft.Azure.WebJobs.Host.Executors.FunctionInvoker`2.InvokeAsync(Object instance, Object[] arguments) in D:\a_work\1\s\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionInvoker.cs:line 52 at Microsoft.Azure.WebJobs.Extensions.DurableTask.TaskOrchestrationShim.InvokeUserCodeAndHandleResults(RegisteredFunctionInfo orchestratorInfo, OrchestrationContext innerContext) in D:\a_work\1\s\src\WebJobs.Extensions.DurableTask\Listener\TaskOrchestrationShim.cs:line 150
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment