-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Hello there!
I just tried the library and listing nodes/vms works great so far within our proxmox installation.
After that, I tried cloning a VM template (which does not currently run), but instead of an error message or a response I simply receive a "Socket hang up" error.
Authentication is done via PAM (using "root"), so permissions shouldn't be a problem.
My code:
proxmox.post('/nodes/'+nodeId+'/qemu/'+vmId+'/clone', options, function(data) {
console.log(data);
});
Result:
Error: socket hang up
at createHangUpError (_http_client.js:200:15)
at TLSSocket.socketOnEnd (_http_client.js:292:23)
at emitNone (events.js:72:20)
at TLSSocket.emit (events.js:166:7)
at endReadableNT (_stream_readable.js:913:12)
at nextTickCallbackWith2Args (node.js:442:9)
at process._tickCallback (node.js:356:17)
Any idea? Does Proxmox store logs of API calls anywhere?
Thanks for any help!
Metadata
Metadata
Assignees
Labels
No labels