[SOLVED] Is API Access restricted via v5.1-40?

Editor

Well-Known Member
Apr 26, 2017
108
1
58
Turkey
Hello,

Has the API login been changed with the latest update?

I was login with version 5.1-38 but I upgraded to v5.1-40 and I lost access with the API.

I restarted the server but It did not work.
 
Hello,

Has the API login been changed with the latest update?

I was login with version 5.1-38 but I upgraded to v5.1-40 and I lost access with the API.

I restarted the server but It did not work.

Hi, no normally that should not be the case.

Can you please provide more information?
Which API bindings do you use?
Does the create ticket call itself fail or something else?
 
Hi, no normally that should not be the case.

Can you please provide more information?
Which API bindings do you use?
Does the create ticket call itself fail or something else?

Hi,

I was using this plugin, pve2-api-php-client

Everything worked without problems and I wanted to update Proxmox.. updated and I can not get into the page that I linked with the API two minutes ago.

The error message is that my login information is incorrect. There was no problem before updating.

Update // Can I access the update log?
 
Last edited:
Everything worked without problems and I wanted to update Proxmox.. updated and I can not get into the page that I linked with the API two minutes ago.

The error message is that my login information is incorrect. There was no problem before updating.

Is the app using the API running constantly or gets it startup for each call, or better said, did it an actual relogin after the upgrade or not?

I cloned this binding and tried out a standard example, i.e., login and do a simple GET call, worked like a charm here...

Update // Can I access the update log?

Sure, here the whole changelog of packages which could be possibly affecting this:
https://git.proxmox.com/?p=pve-http-server.git;a=shortlog
https://git.proxmox.com/?p=pve-manager.git;a=shortlog
The package changelog also contains this information in a easier digestible way.
 
Is the app using the API running constantly or gets it startup for each call, or better said, did it an actual relogin after the upgrade or not?
I cloned this binding and tried out a standard example, i.e., login and do a simple GET call, worked like a charm here...


I constantly use API and I used it two minutes before the update. I can not log in with the API after updating.
Do I have a chance to get the update back, downgrade to 5.1.3x?
 
Last edited:
@t.lamprecht , I get caught the firewall because I did not make a scheduled Proxmox update.
I solved the problem right now. I think I need a vacation. :)

Thank you for your time & interest.
 
@t.lamprecht , I get caught the firewall because I did not make a scheduled Proxmox update.
I solved the problem right now. I think I need a vacation. :)

Thank you for your time & interest.

Just good to know you could resolve it (and, tbh, that I/we did not break something which wasn't caught before release ;) )
 
  • Like
Reactions: Editor

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!