# Ubuntu – Unable to connect to snappy or run snappy commands on Ubuntu 17.10

17.10snap

Since upgrading to Ubuntu 17.10, I've been unable to connect to the snap daemon. So for instance, if I use it from the command line, and type: "sudo snap find hello", it'll fail telling me that I cannot connect to the service on localhost.

Upon trying to start the service, I get the following:

-- Unit snapd.service has begun starting up.
Jan 20 17:58:00 hostname snapd[7848]: AppArmor status: apparmor is enabled but some features are missing: dbus, network
Jan 20 17:58:00 hostname snapd[7848]: AppArmor status: apparmor is enabled but some features are missing: dbus, network
Jan 20 17:58:00 hostname snapd[7848]: error: invalid character 'e' looking for beginning of value
Jan 20 17:58:00 hostname systemd[1]: snapd.service: Main process exited, code=exited, status=1/FAILURE
Jan 20 17:58:00 hostname systemd[1]: Failed to start Snappy daemon.
-- Subject: Unit snapd.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit snapd.service has failed.
--
-- The result is failed.
Jan 20 17:58:00 hostname systemd[1]: snapd.service: Unit entered failed state.
Jan 20 17:58:00 hostname systemd[1]: snapd.service: Failed with result 'exit-code'.
Jan 20 17:58:00 hostname systemd[1]: snapd.service: Service hold-off time over, scheduling restart.


I tried reinstalling snappy, which hasn't worked.

I've had to use a 4.15 rc8 kernel lately (for WiFi drivers), but I also tried using the 4.13-25 kernel thinking that it might be missing security features, but this didn't help either.

I'm having a hard time grasping what the "invalid character 'e' looking for beginning of value" means, as I think that is what will lead me to my solution.

As a side note, snappy apps are working, because I use the Rocket.chat snap and it's definitely been working, but I am uncertain whether it is updating or not.