[lxc-users] Error: websocket: close 1006 (abnormal closure): unexpected EOF

Tomasz Chmielewski mangoo at wpkg.org
Thu Sep 19 21:14:21 UTC 2019


Ubuntu 18.04, lxd installed from snap.

Very often, a "lxc shell container" or "lxc exec container some-command" 
session gets interrupted with:

Error: websocket: close 1006 (abnormal closure): unexpected EOF


I suppose this happens when lxd snap gets auto-updated (i.e. today, from 
lxd ver 3.17, rev. 11964 to rev. 11985).


This is quite annoying and leads to various errors, including data loss:

- some long-running jobs within "lxc shell container" console get 
interrupted when this happens

- script/jobs/builds running as "lxc exec container some-command" also 
get interrupted when this happens


Is there a way to prevent this?


Tomasz Chmielewski


More information about the lxc-users mailing list