Open kollross opened 6 months ago
I can confirm this error.
Netbox 4.0.2 Python 3.12.3 pynetbox 7.0.1
The "issue" seems to be related to this change netbox-community/netbox/pull/16122
Setting the option back to "False" allows the script to connect again.
Issue seems to be caused by this line: https://github.com/netbox-community/Device-Type-Library-Import/blob/dda8ed8c2f8cd1a0fc533cd78df3548eebab7769/netbox_api.py#L50
The pynetbox library doesn't pass a token when getting netbox version https://github.com/netbox-community/pynetbox/blob/1b397f04ad104970e3f7d76efe990e56da8a7727/pynetbox/core/api.py#L111
Having the same error. Is there a fix? Thanks
Having the same error. Is there a fix? Thanks
This fix has been working for me so far: https://github.com/netbox-community/Device-Type-Library-Import/issues/141#issuecomment-2181105455
Authenticaion failure for Netbox 4.x is fixed in pynetbox 7.3.4: https://github.com/netbox-community/pynetbox/pull/616 I can confirm that the fix is working. The requirements.txt should be updated.
Since upgrading to Netbox 4.0, I'm running into an error when running nb-dt-import.py. I've performed a git pull but with no updates. I also performed a "[root@netbox-dev] # pip install -r requirements.txt", which updates some packages but nothing resolving the issue.
Netbox 4.0 Python 3.10.12 pynetbox 7.3.3
.env file
Here is the error:
On the Netbox side I'm seeing this error in the logs