API ::: Error - Not logged into Proxmox Host. No Login Access Ticket found or Ticket

informant

Renowned Member
Jan 31, 2012
793
10
83
Hi all,

we would test proxmox-API, but if we would login we get the message: Error - Not logged into Proxmox Host. No Login Access Ticket found or Ticket Expired. Logininformation are correct. We have a cluster and login to cluster with pve login-informations. What can we do to login correctly?
cluster log said:
authentication failure; rhost=217.65.130.114 user=admin@pve msg=invalid credentials

In password we have special character - it´s a problem with authentication. character "!" does not work, bu why?

please help. very thanks.

regards
 
Last edited:
Re: API ::: Error - Not logged into Proxmox Host. No Login Access Ticket found or Tic

????

=> character "!" does not work.. it´s a bug in api code :)
 
Re: API ::: Error - Not logged into Proxmox Host. No Login Access Ticket found or Tic

Hi dietmar,

i have test the exsample code of API-website (https://github.com/CpuID/pve2-api-php-client). I have only insert the login informations on the code.
if i use a password for exsample Test!2013-pw.Z i get the error with invalid credentials. if i use a password Test2013-pw.Z without the character ! i have access and no problems. Can you check it please. very thanks

regards
 
Re: API ::: Error - Not logged into Proxmox Host. No Login Access Ticket found or Tic

Hi dietmar,

i have test the exsample code of API-website (https://github.com/CpuID/pve2-api-php-client). I have only insert the login informations on the code.
if i use a password for exsample Test!2013-pw.Z i get the error with invalid credentials. if i use a password Test2013-pw.Z without the character ! i have access and no problems. Can you check it please. very thanks

regards

Hi,my 2 cents, but maybe this is because the php code do

urlencode($field_value);

so ! is converted to %21

?

 
Re: API ::: Error - Not logged into Proxmox Host. No Login Access Ticket found or Tic

hi sprit,

thanks for reply. this idea we have, too. but we dont know, if proxmox can read the character aftetr convert. we would test it today and give a response.

regards