[lxc-users] websocket and authentication

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Wed Feb 15 15:28:36 UTC 2017


Hi,

I was wondering if someone could help me a bit with exec over the REST API
(in python in my case).

I found this example: https://github.com/lxc/lxd/issues/231 but
unfortunately this did not work for me (after changing 8080 to 8443).

I suspect this is caused by missing authentication, but as I am a websocket
n00b, I was wondering if someone could help me out by providing some more
info, a link or a code snippet.

Also: should I use ws:// or wss:// ?

Thanks for any help!
Frans
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170215/747cc3f1/attachment.html>


More information about the lxc-users mailing list