Hi @SSantra Sorry to hear you’re having trouble. Typically when we see CORS issues like this it means one of the following
- Your local development environment isn’t running (or there’s a port conflict)
- Your local SSL cert required for running the Nerdpacks locally, which is installed via the CLI, is not present, outdated, or corrupt
- There is a proxy/firewall settings that is preventing your browser from reaching <sub-domain>.nr-local.net or *.nr-ext-net`, which is where we serve-up the local content
Presumably your local dev environment is started and running with nr1 nerdpack:serve
so I’d like to troubleshoot #3 with you.
First we need to find the sub-domain the CLI is using for you, this looks similar (it’s a UUID), but is different from the Nerdpack UUID. It occasionally will change to.
Can you start the server, and visit either https://dbe2948b50a219802ae954cd9b4f1c55.nr-local.net:9973/nerdlets or if you’re getting errors about a different sub-domain, replace/update dbe2948b50a219802ae954cd9b4f1c55 with the one you’re currently getting errors for?
You should get some JSON back that looks similar to this in structure:
{
"packages": [
{
"EXPERIMENTAL_external": true,
"id": "b4736d5c-dee1-4987-aaa7-c2f164b86881",
"displayName": "GitHub Integration",
"version": "0.6.4",
"cliVersion": "1.22.1",
"sdkVersion": 2,
"description": "Create more context to your entities by having access to the GitHub repository, contributors and README.",
"icon": "//cd12749b63ac3b8fbc6b81ee821d5ecc.nr-local.net:9973/b4736d5c-dee1-4987-aaa7-c2f164b86881.png",
"artifacts": [
{
"schema": {
"schemaType": "NERDLET",
"id": "b4736d5c-dee1-4987-aaa7-c2f164b86881.github",
"displayName": "GitHub Repo",
"description": "GitHub integration to give every service its own About Page",
"entities": [
{
"domain": "APM",
"type": "APPLICATION"
},
{
"domain": "BROWSER",
"type": "APPLICATION"
},
{
"domain": "MOBILE",
"type": "APPLICATION"
}
],
"actionCategory": "troubleshoot",
"pkgId": "b4736d5c-dee1-4987-aaa7-c2f164b86881",
"nerdpackId": "b4736d5c-dee1-4987-aaa7-c2f164b86881",
"artifactId": "github"
},
"js": [
"//cd12749b63ac3b8fbc6b81ee821d5ecc.nr-local.net:9973/vendors~b4736d5c-dee1-4987-aaa7-c2f164b86881--vendors.js",
"//cd12749b63ac3b8fbc6b81ee821d5ecc.nr-local.net:9973/b4736d5c-dee1-4987-aaa7-c2f164b86881--github.js"
],
"css": [
"//cd12749b63ac3b8fbc6b81ee821d5ecc.nr-local.net:9973/b4736d5c-dee1-4987-aaa7-c2f164b86881--styles.css"
],
"icon": null
}
]
}
]
}