Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default installation fails with "integration exited with error state" . . . "unable to deserialize successful nerdgraph response" #105

Open
themastadon opened this issue Feb 9, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@themastadon
Copy link

themastadon commented Feb 9, 2022

Followed setup instructions in the app.

When I first set up the sync integration everything seemed fine from the UI side. I was able to select Flex integrations in the UI and the app said that they were successfully deployed. However, no data was coming in. Investigating the Infrastructure agent logs revealed errors related to the sync integration. I also found that the integration configs of the flex integration I attempted to install had never been deployed to C:\Program Files\New Relic\newrelic-infra\newrelic-integrations.

REPO:

In app setup section
- download windows executable
- copy windows executable to C:\Program Files\New Relic\newrelic-infra\newrelic-integrations\nri-sync.exe
- Select account
- Select collection
- select api key
- paste auto-generated config file into C:\Program Files\New Relic\newrelic-infra\integrations.d\nri-sync-config.yml

Start the infrastructure agent
Agent log contains the following:

time="2022-02-09T11:36:11-08:00" level=warning msg="integration exited with error state" component=integrations.runner.Runner error="exit status 101" integration_name=nri-sync stderr="thread 'main' panicked at 'unable to deserialize successful nerdgraph response, err: {\"data\":{\"actor\":{\"account\":{\"id\":[id_redacted],\"nerdStorage\":{\"collection\":null}}}},\"errors\":[{\"extensions\":{\"errorClass\":\"INVALID_INPUT\"},\"locations\":[{\"column\":146,\"line\":1}],\"message\":\"Invalid document.\",\"path\":[\"actor\",\"account\",\"nerdStorage\",\"collection\"]}]}: Error(\"invalid type: null, expected a sequence\", line: 1, column: 74)', src/handler.rs:51:35\nnote: run with 'RUST_BACKTRACE=1' environment variable to display a backtrace"

Your Environment

  • Operating System and version: Windows 11 Home
  • Infrastructure agent version: 1.23.1 (but I also tested 1.18 with the same result.)
  • Infra agent is a fresh vanilla install with no custom configs of any kind.
@themastadon themastadon added the bug Something isn't working label Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant