scaleway / netbox-netprod-importer

Poll data from network devices in production and import it into netbox
GNU General Public License v3.0
101 stars 31 forks source link

404 Client Error: Not Found for url: https://netbox.XXXX.xxx/api/dcim/_choices/?limit=50 #51

Closed Abulhallaj closed 3 years ago

Abulhallaj commented 3 years ago

Hi Everybody

I am having problem using Importer, after a lot of dispute with pynxos and SSL now I get 404 error on above URL.

The omitted log is:

=====>

DEBUG: netmiko: _read_channel_expect read_data: rface

DEBUG: netmiko: Pattern found: show\ ipv6\ interface show ipv6 interface

DEBUG: netmiko: read_channel: Core-XXXX# DEBUG: urllib3.connectionpool: Starting new HTTPS connection (1): netbox.XXXX.xxx DEBUG: urllib3.connectionpool: https://netbox.XXXX.xxx:443 "GET /api/dcim/devices/?name=Core-XXXX&limit=50 HTTP/1.1" 200 1595 DEBUG: urllib3.connectionpool: https://netbox.XXXX.xxx:443 "GET /api/dcim/_choices/?limit=50 HTTP/1.1" 404 None DEBUG: netmiko: write_channel: b'\n' DEBUG: netmiko: read_channel: Core-XXXX# DEBUG: netmiko: read_channel: DEBUG: netmiko: read_channel: DEBUG: netmiko: write_channel: b'exit\n' ERROR: netbox_importer: Error when polling device Core-XXXX: 404 Client Error: Not Found for url: https://netbox.XXXX.xxx/api/dcim/_choices/?limit=50 --

<=====

Abulhallaj commented 3 years ago

Sorrt it's reported before here :

https://github.com/scaleway/netbox-netprod-importer/issues/39