Proxmox API Timeout

masterdaweb

Well-Known Member
Apr 17, 2017
87
5
48
32
Hi,

I'm running into trouble when working with PVE API.

When I pass a "large" array to "PUT /api2/json/nodes/{node}/qemu/{vmid}/config", Proxmox makes part of the changes and then throw Time Out Error.

If I pass a smaller array, with a few config params, it doesn't Time Out.

How can I increase TimeOut Limit value ?
 
Last edited:
Instead, I suggest you do one change at a time. I assume you add disks? If not, what do you change exactly?
 
Instead, I suggest you do one change at a time. I assume you add disks? If not, what do you change exactly?
Hi Dietmar,

Actually I'm changing RAM, CPU and a few others things.

Here it is a vardump from a Array that gives me TimeOut:

Code:
PUT /api2/json/nodes/{node}/qemu/{vmid}/config

Array
(
    [name] => vps167
    [description] => VM test
    [vcpus] => 1
    [cpulimit] => 1
    [net0] => virtio=96:85:27:22:96:4F,bridge=vmbr0,rate=6
    [boot] => cdn
    [numa] => 0
    [memory] => 1024
    [sockets] => 1
    [cores] => 1
    [cpuunits] => 512
    [autostart] => 1
    [kvm] => 1
    [onboot] => 0
)
 
Last edited:
You can't - unless you edit the https server code. I guess you should find out what causes those delays instead.
 

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!