-
Notifications
You must be signed in to change notification settings - Fork 4
Unable to Deploy - An error occured while performing the operation #16
Comments
Hello @tdavis13 ! Can you please provide the output of the following commands?
It looks like there is an issue generating a cert for your default profile - which may not be set. Assuming the profile(account) that the nerdpack is being served to is not your default profile, you could try running
|
nr1-command-center>nr1 --version nr1-command-center>nr1 profiles:list XXXXX_NonProd_US (default) us |
@tdavis13 - are you able to successfully curl Another common issue (especially on Windows) is file/directory permissions. I would make sure your user (or whatever user installed nr1 CLI) has read/write access to the |
There was no .newrelic directory under nr1-command-center. Unless it is supposed to be somewhere else, I created a hidden file and the certs directory under it.
|
So, I wiped out the nr1-command-center directory I had and tried in a new location. Caught an error I may have missed before. On the download/unpack of the repository, I get an error with the uuid regeneration. Running just that command, I get: nr1-command-center>nr1 nerdpack:uuid --generate --force i You can run this command with "--verbose" for more info. nr1-command-center>nr1 nerdpack:uuid --generate --force --verbose x Error: 401 - Your API key is missing or is invalid { origin: 'service-gateway' } I had dropped and recreated my only profile. |
Yeah the The |
Looks like I just had to dig out the 'right' API key. Now, I get a Syntax Error. But, this may be a different issues now.
Child |
glad you solved it! Yes that issue is solved by filling this pre-req: Configured accountId within alarms.js (this.accountId = <your_account_id>) Basically put the accountId of whatever account you are deploying it to. |
This can be closed now. Finally got it all working. Now, it is humming. Go figure out how to make it sing now. |
I am running into an error trying to run the serve command and unable to get past this. I am not sure where the issue even sits.
nr1-command-center>nr1 nerdpack:serve --verbose
init version: @oclif/command@1.5.19 argv: [ '--verbose', [length]: 1 ]
init version: @oclif/command@1.5.19 argv: [ '--verbose', [length]: 1 ]
Found and loaded 2 nr1.json files on msp-alerts (60c98924-44fd-458f-bbf6-b96485cede4c) Nerdpack.
Schema file is 8 min old
Nerdpack:
√ msp-alerts (60c98924-44fd-458f-bbf6-b96485cede4c) nr1.json
Launchers:
√ nr1-command-center-launcher launchers\nr1-command-center-launcher\nr1.json
Nerdlets:
√ nr1-command-center-nerdlet nerdlets\nr1-command-center-nerdlet\nr1.json
Using profile XXXXX_NonProd_US
There is no certificate created yet.
Request: GET https://ca.service.newrelic.com/user/certificate
Data: undefined
Headers: {
'API-Key': 'XXXXXXX'
}
x Error: An error ocurred while performing the operation
{ origin: 'service' }
The text was updated successfully, but these errors were encountered: