0

I can't login into my Ubuntu accounts through gnome-control-center's "Online Accounts" Tab since it is raising error with "Error Connecting Ubuntu Single Sign-On server: \n Something went wrong, please try again"

and when i try to enable livepatch (ua enable livepatch) it fails:

One moment, checking your subscription first
Stderr: Could not retrieve client information.: GET request to "https://livepatch.canonical.com/v1/client/{...}/info" failed

Stdout: Unable to enable Livepatch: Failed running command '/snap/bin/canonical-livepatch enable <REDACTED>' [exit(1)]. Message: Could not retrieve client information.: GET request to "https://livepatch.canonical.com/v1/client/{...}/info" failed

Unable to determine current instance-id

and when I try to enable livepatch(canonical-livepatch enable <TOKEN>)

failed to register client: POST request to "https://livepatch.canonical.com/v1/client/{...}" failed

and please note that I am running a Ubuntu 22.04 LTS (AMD64) based machine. and please additioanly note that i tried

  1. Canonical livepatch service stopped working
  2. Canonical livepatch failed when I tried to enable token
  3. Canonical Livepatch internal error
  4. Canonical Livepatch has experienced an internal error, on start up
  5. Can't enable Canonical Livepatch on Ubuntu 20.04.1 LTS
  6. Signing into Ubuntu One for Livepatch
  7. https://ubuntuforums.org/showthread.php?t=2420465
  8. Can not enable Livepatch service on 22.04
  9. Ubuntu Single Sign-On Account stuck on "Connecting..."
  10. ubuntu 20.04 cannot login ubuntu Single Sign-On Account "Something went wrong, please try again"

but none of them worked!!


System Specifications

  • Operating System: Ubuntu 22.04
  • Life cycle: LTS
  • Architecture: AMD64
  • canonical-livepatch: v10.2.3
  • ubuntu-advantage-desktop-daemon: v1.9~22.04.1
  • ubuntu-advantage-pro: v27.8~22.04.1
  • ubuntu-advantage-tools: v27.8~22.04.1
  • Kernel version (uname -a): 5.15.0-37
Zorono
  • 41

1 Answers1

0

Thanks everybody... it worked again after trying the recommended commands in my ubuntu forums's question(https://ubuntuforums.org/showthread.php?t=2475854&p=14099828#post14099828)

sudo snap run canonical-livepatch disable
sudo snap remove canonical-livepatch
sudo rm /etc/machine-id /var/lib/dbus/machine-id
sudo systemd-machine-id-setup
sudo dbus-uuidgen --ensure=/etc/machine-id
sudo canonical-livepatch enable [unique token]
sudo snap forget [snapshot ID]
sudo snap install canonical-livepatch
sudo snap save
Zorono
  • 41