In general tickets time out 2h after creation for security reasons, the pbs client has an async task that renews the auth ticket every 15 minutes or so (similar to the web interface) to avoid that from happening on long-running tasks, seems a bit weird to have that fail here.Is this the reason for the ticket timeout?
proxmox-backup-manager task log UPID
(the UPID is also displayed in the web UI)FYI: That's the gui task log render optimization, it only actually adds the text in the view port and enforce empty space outside that, so that the scroll bars are correct.Which apparanty resulted in 90% blank space in the beginning of the document...
Please do not reply to other threads with unrelated posts but open a new thread, thanks! FYI: you're using the cookie name from PVE not PBS, the latter would beHi all
Can I ask somebody for help with how to authenticate using curl to access the proxmox backup server API.
At the moment I am using the below in a bash script
START_TASK_DATA=`curl -v -s -k --cookie "PVEAuthCookie=$TICKET" -X GET $HOST/api2/json/access/roles`
echo $START_TASK_DATA
but keep getting - "authentication failed - no authentication credentials provided."
Does anyone know how to do this? What is the syntax to use the "ticket" for authentication?
PBSAuthCookie
We use essential cookies to make this site work, and optional cookies to enhance your experience.