Comments (19)
@fakedob Does Azure DNS zone of
***. org
exist?
If it exists, check the IAM setting.
I am sorry, I somehow missed the DNS IAM and just before your reply I have added it and my platform is now using its new SSL. Thank you, your work is of a great value
from appservice-acmebot.
ASAP
from appservice-acmebot.
@kbdavis07 I finished implement for deployment slot. It released
Please check README again. https://github.com/shibayan/azure-appservice-letsencrypt#adding-new-certificate
from appservice-acmebot.
That seems to do it, now it is some how working.
Thanks for your help!
Keep up the great work.
👍
from appservice-acmebot.
Please check the Monitor of AddCertificate
. (not AddCertificate_HttpStart
)
I think the setting is correct.
from appservice-acmebot.
No Errors
from appservice-acmebot.
from appservice-acmebot.
Does having a Dev slot makes any difference?
from appservice-acmebot.
from appservice-acmebot.
Found Error
Site is there through.
Is this suppose to be something else?
from appservice-acmebot.
Right now I am facing same problem. Following #31 I have created Azure DNS zone and moved all of the records to Azure and confirmed they are now populated. I am also using a prodiction container. I think the problem comes from SharedFunctions.cs#L155 the function app is not seeing the domains listed in my Azure DNS. You can see the full logs
Mine is throwing:
2018-12-05T17:06:25.150 [Error] Azure DNS zone "www.***.org" is not found 2018-12-05T17:06:25.178 [Error] Executed 'Dns01Precondition' (Failed, Id=c96eadcc-2343-4ce1-bf77-dee3dff18af0)Operation is not valid due to the current state of the object. 2018-12-05T17:06:25.201 [Error] Executed 'Dns01Precondition' (Failed, Id=c96eadcc-2343-4ce1-bf77-dee3dff18af0)Operation is not valid due to the current state of the object. 2018-12-05T17:06:25.226 [Error] bcd9a98a84d148abbf61190fdc017cc1: Function 'Dns01Precondition (Activity)' failed with an error. Reason: System.InvalidOperationException: Operation is not valid due to the current state of the object.at AzureAppService.LetsEncrypt.SharedFunctions.Dns01Precondition(DurableActivityContext context, ILogger log) in C:\projects\azure-appservice-letsencrypt\AzureAppService.LetsEncrypt\SharedFunctions.cs:line 155at Microsoft.Azure.WebJobs.Host.Executors.VoidTaskMethodInvoker
2.InvokeAsync(TReflected instance, Object[] arguments) in C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Executors\VoidTaskMethodInvoker.cs:line 20at Microsoft.Azure.WebJobs.Host.Executors.FunctionInvoker2.InvokeAsync(Object instance, Object[] arguments) in C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionInvoker.cs:line 63at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.InvokeAsync(IFunctionInvoker invoker, ParameterHelper parameterHelper, CancellationTokenSource timeoutTokenSource, CancellationTokenSource functionCancellationTokenSource, Boolean throwOnTimeout, TimeSpan timerInterval, IFunctionInstance instance) in C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionExecutor.cs:line 556at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.ExecuteWithWatchersAsync(IFunctionInstance instance, ParameterHelper parameterHelper, ILogger logger, CancellationTokenSource functionCancellationTokenSource) in C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionExecutor.cs:line 503at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.ExecuteWithLoggingAsync(IFunctionInstance instance, ParameterHelper parameterHelper, IFunctionOutputDefinition outputDefinition, ILogger logger, CancellationTokenSource functionCancellationTokenSource) in C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionExecutor.cs:line 439at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.ExecuteWithLoggingAsync(IFunctionInstance instance, FunctionStartedMessage message, FunctionInstanceLogEntry instanceLogEntry, ParameterHelper parameterHelper, ILogger logger, CancellationToken cancellationToken) in C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionExecutor.cs:line 249. IsReplay: False. State: Failed. HubName: DurableFunctionsHub. AppName: zaralab-ssl. SlotName: Production. ExtensionVersion: 1.7.0. SequenceNumber: 139.
Any advice is welcomed :)
from appservice-acmebot.
@kbdavis07 Oh, I understood. The implementation for slot was missing. Please wait a while.
from appservice-acmebot.
@fakedob Does Azure DNS zone of ***. org
exist?
If it exists, check the IAM setting.
from appservice-acmebot.
@kbdavis07 Oh, I understood. The implementation for slot was missing. Please wait a while.
So right now does not support "slots" only Production web app then.
Do you know when you will be adding that support?
Great work so far on the work you done through!
Press button to deploy to Azure and pretty much all set up.
Just now have "slots" support left to do.
:)
from appservice-acmebot.
I restarted the Function app, still not working so far, is there anything else I need to do?
from appservice-acmebot.
I'm still reviewing PR so please wait until release. After releasing, write comments.
from appservice-acmebot.
What do you suppose to use for the site name?
"SiteName":"ibdb(dev)",
I tried, ibdb, ibdb-dev, ibdb(dev), and ibdb/dev
Keep getting error
I am using this
Here is the Resource File from Azure
"id": "/subscriptions/xxx/resourceGroups/ibdb-dev/providers/Microsoft.Web/sites/ibdb/slots/dev",
"name": "ibdb/dev",
"type": "Microsoft.Web/sites/slots",
"kind": "app",
"location": "East US 2",
"properties": {
"name": "ibdb(dev)",
"state": "Running",
"hostNames": [
"dev.ibdb.com",
"dev.hunter07.work",
"ibdb-dev.azurewebsites.net"
],
"webSpace": "ibdb-dev-EastUS2webspace",
"selfLink": "https://xxx.api.azurewebsites.windows.net:454/subscriptions/xxx/webspaces/ibdb-dev-EastUS2webspace/sites/ibdb",
"repositorySiteName": "ibdb",
"owner": null,
"usageState": 0,
"enabled": true,
"adminEnabled": true,
"enabledHostNames": [
"dev.hunter07.work",
"dev.ibdb.com",
"ibdb-dev.azurewebsites.net",
"ibdb-dev.scm.azurewebsites.net"
],
"siteProperties": {
"metadata": null,
"properties": [
{
"name": "LinuxFxVersion",
"value": ""
},
{
"name": "WindowsFxVersion",
"value": null
}
],
"appSettings": null
},
"availabilityState": 0,
"sslCertificates": null,
"csrs": [],
"cers": null,
"siteMode": null,
"hostNameSslStates": [
{
"name": "dev.hunter07.work",
"sslState": 0,
"ipBasedSslResult": null,
"virtualIP": null,
"thumbprint": null,
"toUpdate": null,
"toUpdateIpBasedSsl": null,
"ipBasedSslState": 0,
"hostType": 0
},
{
"name": "dev.ibdb.com",
"sslState": 0,
"ipBasedSslResult": null,
"virtualIP": null,
"thumbprint": null,
"toUpdate": null,
"toUpdateIpBasedSsl": null,
"ipBasedSslState": 0,
"hostType": 0
},
{
"name": "ibdb-dev.azurewebsites.net",
"sslState": 0,
"ipBasedSslResult": null,
"virtualIP": null,
"thumbprint": null,
"toUpdate": null,
"toUpdateIpBasedSsl": null,
"ipBasedSslState": 0,
"hostType": 0
},
{
"name": "ibdb-dev.scm.azurewebsites.net",
"sslState": 0,
"ipBasedSslResult": null,
"virtualIP": null,
"thumbprint": null,
"toUpdate": null,
"toUpdateIpBasedSsl": null,
"ipBasedSslState": 0,
"hostType": 1
}
],
"computeMode": null,
"serverFarm": null,
"serverFarmId": "/subscriptions/xxx/resourceGroups/ibdb-dev/providers/Microsoft.Web/serverfarms/ibdb",
"reserved": false,
"isXenon": false,
"hyperV": false,
"lastModifiedTimeUtc": "2018-12-05T19:36:00.5",
"storageRecoveryDefaultState": "Running",
"contentAvailabilityState": 0,
"runtimeAvailabilityState": 0,
"siteConfig": null,
"deploymentId": "xxx",
"trafficManagerHostNames": null,
"sku": "Standard",
"scmSiteAlsoStopped": false,
"targetSwapSlot": null,
"hostingEnvironment": null,
"hostingEnvironmentProfile": null,
"clientAffinityEnabled": false,
"clientCertEnabled": false,
"hostNamesDisabled": false,
"domainVerificationIdentifiers": null,
"kind": "app",
"outboundIpAddresses": "xxx",
"possibleOutboundIpAddresses": "xxx",
"containerSize": 0,
"dailyMemoryTimeQuota": 0,
"suspendedTill": null,
"siteDisabledReason": 0,
"functionExecutionUnitsCache": null,
"maxNumberOfWorkers": null,
"homeStamp": "waws-prod-bnxxxx",
"cloningInfo": null,
"hostingEnvironmentId": null,
"tags": null,
"resourceGroup": "ibdb-dev",
"defaultHostName": "ibdb-dev.azurewebsites.net",
"slotSwapStatus": {
"timestampUtc": "2018-10-29T23:23:03.928Z",
"sourceSlotName": "dev",
"destinationSlotName": "staging"
},
"httpsOnly": false
}
}
from appservice-acmebot.
Please try "SiteName":"ibdb",
"SiteName" should not contain the slot name.
from appservice-acmebot.
Please try "SiteName":"ibdb",
"SiteName" should not contain the slot name.
That was the first thing I tried :)
As I mention before,
I tried, ibdb, ibdb-dev, ibdb(dev), and ibdb/dev
But, I restarted the function and trying it again and see if that some how that works.
from appservice-acmebot.
Related Issues (20)
- Bindings are not updated correctly when wildcard certificates are issued.
- Issuing Certificate for Linux WebApp with external DNS (cloudflare) HOT 2
- Question about using a non-Let's Encrypt provider
- Add app role-based authorization
- No longer works as it uses a deprecated graph API HOT 2
- Services was working but not anymore HOT 1
- Failure to automatically renew
- 3.4.11 README links to the "latest" ARM template instead of the released revision HOT 3
- 3.4.11 ARM template links to the "latest" blob instead of the released one HOT 1
- Renewals are failing HOT 1
- Missing properties object in arm template HOT 1
- Acmebot and Private Azure DNS HOT 1
- ContainerAppSecretNull error when trying to add a certificate for an App Container containing a secret HOT 1
- Error creating new certifcate in Azure linux App Service
- avoid adding/cleaning .well-known virtual path if it exists HOT 1
- Configure .well-known to be a Directory instead of a virtual application HOT 4
- Deployment Slot Blank HOT 3
- Troubleshooting: "Failed to access SCM site. Message: Response status code does not indicate success: 401 (Unauthorized)" HOT 1
- Support for .NET 6 ends on 12 November 2024 HOT 4
- Error 502 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appservice-acmebot.