Found this in strace: "WARNING:root:name 'socket' is not defined, Retrying in 12.8 seconds..."
I added the missing import of `socket`, but then I got this from strace:
connect(9, {sa_family=AF_UNIX, sun_path=http+unix://%2Fvar%2Fsnap%2Fcanonical-livepatch%2Fcurrent%2Flivepatchd-priv.sock/disable}, 90) = -1 ENOENT (No such file or directory)
so it's not correctly decoding the socket path from the URL.
Found this in strace: "WARNING:root:name 'socket' is not defined, Retrying in 12.8 seconds..."
I added the missing import of `socket`, but then I got this from strace:
connect(9, {sa_family=AF_UNIX, sun_path= http+unix: //%2Fvar% 2Fsnap% 2Fcanonical- livepatch% 2Fcurrent% 2Flivepatchd- priv.sock/ disable} , 90) = -1 ENOENT (No such file or directory)
so it's not correctly decoding the socket path from the URL.