swayf / proxmoxer

python wrapper for Proxmox API v2 (https://pve.proxmox.com/pve-docs/api-viewer/index.html)
MIT License
156 stars 58 forks source link

401 Unauthorized errors #56

Closed gerard33 closed 11 months ago

gerard33 commented 6 years ago

As mentioned in #26 I also have 401 Unauthorized errors due to the session timing out.

File "/home/gerard/.local/lib/python3.6/site-packages/proxmoxer/core.py", line 79, in _request
    resp.content))
proxmoxer.core.ResourceException: 401 Unauthorized: b''

Is it possible to implement a fix for this? There are already some suggestions mentioned in that issue.