Skip to content

Diode Injestion fails with SDK or Napalm Agent with "message": "failed to prepare change set: invalid character '<' looking for beginning of value" #243

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

Open
c003466 opened this issue Jan 31, 2025 · 9 comments

Comments

@c003466
Copy link

c003466 commented Jan 31, 2025

Diode Injestion fails with SDK or Napalm Agent with "message": "failed to prepare change set: invalid character '<' looking for beginning of value"
This is in the injestion logs under Error Tab

injested entity looks like

{
"device": {
"name": "TEST2-488",
"deviceType": {
"model": "WS-C2960X-48TS-L",
"manufacturer": {
"name": "CISCO"
}
},
"role": {
"name": "SWITCH"
},
"platform": {
"name": "ios",
"manufacturer": {
"name": "CISCO"
}
},
"serial": "123456789",
"site": {
"name": "Site ABC"
},
"assetTag": "123456879",
"status": "active",
"tags": [
{
"name": "tag 1"
},
{
"name": "tag 2"
}
]
}
}

System
NetBox Community v4.1.11 (2025-01-06)
Python 3.10.12
Django 5.0.10
Postgress 14.15
Diode Agent 0.6.0

Any help appreciated

Thanks

@dankotrajkovic
Copy link

Ran into the same issue on
Netbox 4.2.2
Python 3.12.3
Django==5.1.5
netboxlabs-diode-netbox-plugin==0.6.0
Postgres 16.6

@denis-ev
Copy link

denis-ev commented Feb 6, 2025

+1

any update on this?

@mfiedorowicz
Copy link
Member

It's most likely due to NetBox 4.2.x which we don't support it yet as there were some breaking changes recently, it's high on our priority list things to fix.

@eld1ng0jak
Copy link

Can report same issue using NetBox 4.1.11.
Any updates on this?

@dankotrajkovic
Copy link

Given the lack of reply on this issue, Diode feels like it is just in the experimental/testing days and not ready for other people to use it in production or for anything business critical.

@mfiedorowicz
Copy link
Member

We are heads down making significant progress on major changes planned for our next release around the end of April, which will resolve these issues comprehensively. Our development efforts are centered on expanding support for NetBox object types and their attributes, while simultaneously enhancing the visibility of ingestion failures to streamline troubleshooting.

@dlugo1
Copy link

dlugo1 commented Apr 8, 2025

Same issue exist on 4.1.10, looking forward for the update hopefully at the end of april.

@lukassavukaitis
Copy link

same issue with updated Diode server, plugin and orb agent

@mfiedorowicz
Copy link
Member

same issue with updated Diode server, plugin and orb agent

In Diode 1.0.0 we did a lot of breaking changes, have you installed everything from scratch like it was very first installation without any previous .env docker-compose.yaml, etc.? If not, I'd recommend to do so, including removing old docker volumes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants