Python websocket on interactive exec

It turned out that I had an issue with access via certificates (Trouble auntentification in LXD and SSL/TLS keys) to LXD, so I’m closing the question