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

How are you supposed to use this without SSL? #169

Open
mindcloud69 opened this issue Mar 24, 2024 · 0 comments
Open

How are you supposed to use this without SSL? #169

mindcloud69 opened this issue Mar 24, 2024 · 0 comments

Comments

@mindcloud69
Copy link

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},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant