-
Notifications
You must be signed in to change notification settings - Fork 20
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
Parse error on container.run() #17
Comments
Looking into it now, but can't seem to replicate. Can you provide any more information on your setup? |
We looked into the issue, I don't recall the specifics but it had something to do with the library not using secure websockets on windows. We patched it for our use case, see the added commits in https://github.com/epicteddy/node-lxd |
Having this same exact issue attempting to do both a container.exec and a container.run. After I incorporated @woubuc's changes I get this error now.
|
I am getting a similar error when trying to use container.run, but it also shows a
|
@lpgera will look into it but it looks like that may be a transient error on your end, are you sure the target endpoint is correct? Also may be a incorrectly setup proxy inbetween |
We had our own working implementation before, I am just trying to use this package because its control socket handling is better. So I don't think its a proxy or endpoint related problem. |
It was the same problem that has been patched in https://github.com/epicteddy/node-lxd. The certificate was not used when it was connecting to the websockets. |
same issue, i can create containers, delete them, start them, but can not run or execute anything in them. Error: Parse Error |
Is there any solution that works for this? Anyone know of a different lib i could use to exec ? |
any solution? |
mmm, i solved problem for my case. added a pull request if anyone want (new to github and don't really know how pull requests and forks work). |
When I try to run a command on my container, I get the following error:
My code:
The text was updated successfully, but these errors were encountered: