Icon download errors

hi
My log is filled with ‘unable to download icon’ errors as outlined below. What can I do to remove these errors? I understand they’re not an issue but my log is just very congested now so it’s almost unreadable

[2025-04-21 21:45:04.948][vaultwarden::api::icons][WARN] Unable to download icon: Req.
[CAUSE] reqwest::Error {
    kind: Request,
    url: "https://user.gearbest.com/favicon.ico",
    source: hyper_util::client::legacy::Error(
        Connect,
        ConnectError(
            "dns error",
            ResolveError {
                kind: NoRecordsFound {
                    query: Query {
                        name: Name("user.gearbest.com.localdomain."),
                        query_type: AAAA,
                        query_class: IN,
                    },
                    soa: Some(
                        Record {
                            name_labels: Name("."),
                            rr_type: SOA,
                            dns_class: IN,
                            ttl: 3596,
                            rdata: Some(
                                SOA {
                                    mname: Name("a.root-servers.net."),
                                    rname: Name("nstld.verisign-grs.com."),
                                    serial: 2025042100,
                                    refresh: 1800,
                                    retry: 900,
                                    expire: 604800,
                                    minimum: 86400,
                                },
                            ),
                        },
                    ),
                    negative_ttl: Some(
                        3595,
                    ),
                    response_code: NXDomain,
                    trusted: true,
                },
            },
        ),
    ),
}
[2025-04-23 08:14:54.440][vaultwarden::api::icons][WARN] Unable to download icon: Req.
[CAUSE] reqwest::Error {
    kind: Status(
        404,
    ),
    url: "https://www.travelkon.com.au/favicon.ico",
}
[2025-04-23 08:33:47.474][vaultwarden::api::icons][WARN] Unable to download icon: Req.
[CAUSE] reqwest::Error {
    kind: Status(
        404,
    ),
    url: "https://sso.unraid.net/favicon.ico",
}

I’m seeing them too.

  • 404 errors mean “not found” - i.e. there is no icon to download
  • 403 errors mean “forbidden” - for some reason the server has decided not to send it to you. I tried a couple that returned 403 errors in my browser, one was actually not found, the other worked fine. I guess it’s blocking the VaultWarden user agent, or your IP for too many requests

[vaultwarden::api::icons][WARN] Unable to download icon: Req.
[CAUSE] reqwest::Error {
kind: Status(
403,
),
url: “https://www.newegg.com/favicon.ico”,
}

The GearBest one doesn’t resolve to a domain, which is why it will never work.

Option 1
I asked Perplexity and there’s no way to suppress log messages by category, that could be a useful feature request.

If you want to reduce logging you could try setting this docker environment variable

LOG_LEVEL=critical

Option 2
If you want to disable icon downloads, and keep icons permanently, you can add these environment variables to your docker compose

DISABLE_ICON_DOWNLOAD=true
ICON_CACHE_TTL=0
  • Restart your Vaultwarden instance for the changes to take effect.

I would ideally like vaultwarden to keep trying to download icons for new additions to my vault so I’ll try option 1

Thanks for your help

Perplexity is wrong, both on that log-level, which doesn’t exist, and that it isn’t possible per category which is possible.
There even is an example in the .env.template file.

Use LOG_LEVEL=info,vaultwarden::api::icons=off.

Worked perfectly, this is exactly what I was looking for. Thanks again