[lxc-users] lxc list -> "Error: Failed to fetch http://unix.socket/1.0: 500 Internal Server Error"

Tomasz Chmielewski mangoo at wpkg.org
Sun Aug 19 07:41:27 UTC 2018


On some Ubuntu 18.04 systems running LXD from snap I'm getting the 
following after using any lxc command:



# lxc shell some-container
Error: Failed to fetch http://unix.socket/1.0: 500 Internal Server Error

or:

# lxc list
Error: Get http://unix.socket/1.0: EOF


Restarting lxd with the following command does not help:

# systemctl restart snap.lxd.daemon



The existing containers seem to be running just fine (except it's not 
possible to use lxc list, lxc exec, lxc shell etc.).


The affected and unaffected systems are running the following versions:

# snap list
Name  Version    Rev   Tracking  Publisher  Notes
core  16-2.34.3  5145  stable    canonical  core
lxd   3.4        8393  stable    canonical  -



Full system restart helps, but it would be great to know if there is a 
"better" fix.



Tomasz Chmielewski
https://lxadm.com


More information about the lxc-users mailing list