-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Socket hang up - POST clone #3
Comments
Have you found a solution to this? I ran into the same issue when trying to create a new VM. |
Yes. We found out that this module has some programming mistakes from the base on - for example, it does not respond with error messages if errors occur. We completely rewrote the proxmox api implementation. Our module works stable, and we've added a lot of abstraction layers and methods helping the developer. For example, you can do sth like this:
cloning/starting/stopping works well, also conversions from and to a template. Error messages get reported. Problem is, that due to it's large scale and complexity, we need to completely document the API, which will take some time. That's the main reason why we didn't open source the module right away. If you're interested in trying or using it, feel free to contact me at martin.bories [at] megatherium.solutions, and I'm sure we can work something out :). |
Ah, I see. I have sent you an email for further discussion. Hope we can work out a deal! |
Thanks for that, I already replied to your mail some hours ago. |
Looks like our mail server filtered your response. I have whitelisted your email. Can you send again? Sorry about that. |
I forwarded the message to you again ;) |
On npm--> node-proxmox.js --> Line 110 --> Replace "req.write(querystring.stringify(body));" With "req.write(body);" |
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:
Result:
Any idea? Does Proxmox store logs of API calls anywhere?
Thanks for any help!
The text was updated successfully, but these errors were encountered: