-
Notifications
You must be signed in to change notification settings - Fork 105
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
error 401: no ticket #41
Comments
This isn't likely a problem with the library itself, 401 means your credentials are invalid. If this is regarding VNC setup see this. |
my credentials arn't invalid because i used this credit on another request like nodes request and works fine also when i change credit to wrong detail proxmox return credit error
result when credit has wronng: Fatal error: Uncaught exception 'ProxmoxVE\Exception\AuthenticationException' with message 'Can not login using credentials: [Host: XXXXXXX:8006], [Username: vnc@pve].' in /var/www/html/vendor/zzantares/proxmoxve/src/Proxmox.php:208 Stack trace: #0 /var/www/html/vendor/zzantares/proxmoxve/src/Proxmox.php(246): ProxmoxVE\Proxmox->login() #1 /var/www/html/vendor/zzantares/proxmoxve/src/Proxmox.php(87): ProxmoxVE\Proxmox->setCredentials(Array) #2 /var/www/html/vnc.php(25): ProxmoxVE\Proxmox->__construct(Array) #3 {main} thrown in /var/www/html/vendor/zzantares/proxmoxve/src/Proxmox.php on line 208 |
i used latest proxmox version , annd i just copied your code and i tested this code with root permissions and vnc but failed and return 401 no ticket , can someone help me to fix this issue thanks |
Hi
i have proble with ticket and cookie system
i got 401 error i think this happend because i used spicial port 4000 but i dont know how fix it
The text was updated successfully, but these errors were encountered: