cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
303
Views
1
Helpful
6
Replies

DNAC always on changed domain name ?

cgm
Level 1
Level 1

The standard sandbox domain for the DNA Center is sandboxdnac.cisco.com and though it shows the home page, authentication kind of loops back. Noticed in the details (quick start) that there is a new sandboxdnac2.cisco.com, and it works, but the activity instructions still point to the "old"? one...

6 Replies 6

Not sure if this correct reply. Overtime the sandboxes are replaced, or additional ones added. Then they are removed, out of date - so the names tend to swap around a little. Most of the time a DNS update is done.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

cgm
Level 1
Level 1

Thanks, seemed weird that instructions include one domain name and details pointed to a different one. And the perceived problem has since cleared (though it makes sense that it was just a cookie/oauth hiccup).

Trying to practice event subscriptions but I don't find a way to actually create an event, nor to confirm a subscription. Abusing this thread, may be you know how ?

TIA,

-Carlos

Awesome! Been a while but recall this to via the POST method to send a request to the /dna/intent/api/v1/event/subscription/{subscriptionType}endpoint, where {subscriptionType} is either email or rest. You will need to do some prerequisite set up https://developer.cisco.com/docs/dna-center/event-management/

This is a good guide too https://github.com/CiscoDevNet/DNAC-Subscription

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

cgm
Level 1
Level 1

Thanks, I had already run into the github repo, but my subscriptions are not working

Granted, with the sandboxdnac will not work (permissions) but I spun up a DNAC instance and I get:

{
    "errorMessage": {
        "errors": [
            "createEventSubscription failed due to WebhookConfig's Instance: not found"
        ]
    },
    "apiStatus": "FAILURE",
    "statusMessage": null
}
So I'm missing something it seems...

Yah the always on won’t accept POST (only GET). From the error, message "createEventSubscription failed due to WebhookConfig's Instance: not found" means the instance ID provided in the webhook configuration does not exist or is not accessible by your DNA Centre. Could be a few reasons for this error, Instance ID, webhook configuration, webhook reachability etc..

Hope this helps.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

cgm
Level 1
Level 1

Hehe, I may be getting into a new version detail... following the GUI it makes you create a (REST) webhook setting (instance?) and the docs may be are not up to date...

Settings/External services/Destinations/Webhook

Still, it does not work (after a GUI created subscription worked)