canonical / firmware-updater

An experimental firmware updater UI based on fwupd
GNU General Public License v3.0
110 stars 17 forks source link

Firmware updates throw a 401 error code, work in the command line #274

Open superm1 opened 6 months ago

superm1 commented 6 months ago

Trying to do a reinstall or an upgrade I'm getting a 401 error in firmware-updater GUI. image

I ran the same upgrade using the command line and it worked just fine.

I think this is because the remote that provides the update requires authentication. It's an embargo remote for pre-release updates. The /etc/fwupd/remotes.d/ file for it specifies a Username and Password field that I think are being ignored when trying to get the update using the firmware-updater GUI.

Here are the software versions I have:

$ fwupdmgr --version 
compile   com.hughsie.libxmlb           0.3.15
compile   com.hughsie.libjcat           0.2.0
compile   org.freedesktop.fwupd         1.9.15
runtime   org.freedesktop.fwupd-efi     1.4
compile   org.freedesktop.gusb          0.4.8
runtime   com.hughsie.libjcat           0.2.0
runtime   org.freedesktop.gusb          0.4.8
runtime   org.kernel                    6.8.0-20-generic
runtime   org.freedesktop.fwupd         1.9.15

$ snap info firmware-updater
name:      firmware-updater
summary:   Firmware Updater
publisher: Canonical✓
store-url: https://snapcraft.io/firmware-updater
contact:   https://github.com/canonical/firmware-updater/
license:   GPL-3.0+
description: |
  Update Firmware
commands:
  - firmware-updater
services:
  firmware-updater.firmware-notifier:    simple, enabled, inactive
  firmware-updater.firmware-updater-app: dbus, enabled, inactive
snap-id:      EI0D1KHjP8XiwMZKqSjuh6W8zvcowUVP
tracking:     latest/candidate
refresh-date: 3 days ago, at 19:12 CDT
channels:
  latest/stable:    0+git.90251bb 2024-02-20 (121) 11MB -
  latest/candidate: 0+git.2c6f9c3 2024-03-25 (122) 11MB -
  latest/beta:      ↑                                   
  latest/edge:      0+git.019bf66 2023-07-17 (105) 11MB -
installed:          0+git.2c6f9c3            (122) 11MB -