netbox-proxbox icon indicating copy to clipboard operation
netbox-proxbox copied to clipboard

How are you supposed to use this without SSL?

Open mindcloud69 opened this issue 1 year ago • 0 comments

How are you supposed to use this without SSL? Because as far as I can tell that is what the error is.

I get the following when doing a full update for the first time.

Poxmox 8.1

<class 'proxmoxer.core.ResourceException'>

403 Forbidden: Permission check failed (/, Sys.Audit)

Python version: 3.9.18
NetBox version: 3.7.2
Plugins: 
  netbox_dns: 0.22.4
  netbox_documents: 0.6.3
  netbox_inventory: 1.5.2
  netbox_kea: 0.2.0
  netbox_lists: 3.1.1
  netbox_proxbox: 0.0.5
  netbox_secrets: 1.10.2
  netbox_topology_views: 3.9.0

Here is the config with host names changed and tokens removed. Note I also tried ssl True under proxmox config.

    "netbox_proxbox": {
        "proxmox": {proxmox.example.net",  # May also be IP address
            "http_port": 8006,
            "user": "root@pam",  # always required
            "password": "Strong@P4ssword",  # only required, if you don't want to use token based authentication
            "token": {
                "name": "netbox",  # Only type the token name and not the 'user@pam:tokenID' format
                "value": "removed",
            },
            "ssl": False,
        },
        # The following json is optional and applies only for multi-cluster use
        # {
        # 'domain': 'proxbox2.example.com',    # May also be IP address
        # 'http_port': 8006,
        # 'user': 'root@pam',   # always required
        # 'password': 'Strong@P4ssword', # only required, if you don't want to use token based authentication
        # 'token': {
        # 'name': 'tokenID',	# Only type the token name and not the 'user@pam:tokenID' format
        # 'value': '039az154-23b2-4be0-8d20-b66abc8c4686'
        # },
        # 'ssl': False
        # }
        "netbox": {
            "domain": "proxmox.example.net",  # Ensure localhost is added to ALLOWED_HOSTS
            "http_port": 8001,  # Gunicorn port.
            "token": "removed",
            "ssl": False,  # There is no support to SSL on Netbox yet, so let it always False.
            "settings": {"virtualmachine_role_id": 0, "node_role_id": 0, "site_id": 0},

mindcloud69 avatar Mar 24 '24 06:03 mindcloud69