Git Product home page Git Product logo

Comments (19)

fakedob avatar fakedob commented on June 4, 2024 1

@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.

shibayan avatar shibayan commented on June 4, 2024 1

ASAP

from appservice-acmebot.

shibayan avatar shibayan commented on June 4, 2024 1

@kbdavis07 I finished implement for deployment slot. It released :shipit:
Please check README again. https://github.com/shibayan/azure-appservice-letsencrypt#adding-new-certificate

from appservice-acmebot.

kbdavis07 avatar kbdavis07 commented on June 4, 2024 1

That seems to do it, now it is some how working.

image

Thanks for your help!

Keep up the great work.

👍

from appservice-acmebot.

shibayan avatar shibayan commented on June 4, 2024

Please check the Monitor of AddCertificate. (not AddCertificate_HttpStart)
I think the setting is correct.

from appservice-acmebot.

kbdavis07 avatar kbdavis07 commented on June 4, 2024

No Errors

image

from appservice-acmebot.

kbdavis07 avatar kbdavis07 commented on June 4, 2024

image

from appservice-acmebot.

kbdavis07 avatar kbdavis07 commented on June 4, 2024

Does having a Dev slot makes any difference?

from appservice-acmebot.

kbdavis07 avatar kbdavis07 commented on June 4, 2024

image

from appservice-acmebot.

kbdavis07 avatar kbdavis07 commented on June 4, 2024

Found Error

image

Site is there through.

image

Is this suppose to be something else?

from appservice-acmebot.

fakedob avatar fakedob commented on June 4, 2024

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

screenshot 2018-12-05 at 19 02 54

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.VoidTaskMethodInvoker2.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.

shibayan avatar shibayan commented on June 4, 2024

@kbdavis07 Oh, I understood. The implementation for slot was missing. Please wait a while.

from appservice-acmebot.

shibayan avatar shibayan commented on June 4, 2024

@fakedob Does Azure DNS zone of ***. org exist?
If it exists, check the IAM setting.

from appservice-acmebot.

kbdavis07 avatar kbdavis07 commented on June 4, 2024

@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.

kbdavis07 avatar kbdavis07 commented on June 4, 2024

I restarted the Function app, still not working so far, is there anything else I need to do?

from appservice-acmebot.

shibayan avatar shibayan commented on June 4, 2024

I'm still reviewing PR so please wait until release. After releasing, write comments.

from appservice-acmebot.

kbdavis07 avatar kbdavis07 commented on June 4, 2024

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

image

I am using this

image

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.

shibayan avatar shibayan commented on June 4, 2024

Please try "SiteName":"ibdb",
"SiteName" should not contain the slot name.

from appservice-acmebot.

kbdavis07 avatar kbdavis07 commented on June 4, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.