Skip to content

Socket hang up - POST clone #3

@sokraflex

Description

@sokraflex

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions