[GH-ISSUE #1303] Icon web #905

Closed
opened 2026-03-03 02:04:33 +03:00 by kerem · 4 comments
Owner

Originally created by @xdxxp6qp on GitHub (Jan 10, 2021).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/1303

Hello, tell me why the site icons do not appear?

Originally created by @xdxxp6qp on GitHub (Jan 10, 2021). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/1303 Hello, tell me why the site icons do not appear?
kerem closed this issue 2026-03-03 02:04:33 +03:00
Author
Owner

@BlackDex commented on GitHub (Jan 10, 2021):

Post some logs and which version you are using then maybe we can help you

<!-- gh-comment-id:757388687 --> @BlackDex commented on GitHub (Jan 10, 2021): Post some logs and which version you are using then maybe we can help you
Author
Owner

@xdxxp6qp commented on GitHub (Jan 10, 2021):

version 1.18.0

[2021-01-10 18:07:54.583][bitwarden_rs::api::icons][WARN] IP 10.13.10.2 for domain '10.13.10.2' is not a global IP!
[2021-01-10 18:07:54.583][bitwarden_rs::api::icons][ERROR] Domain is blacklisted. 10.13.10.2
[2021-01-10 18:07:54.583][bitwarden_rs::api::icons][ERROR] Error downloading icon: Domain is blacklisted. 10.13.10.2
[2021-01-10 18:07:54.583][response][INFO] GET /icons//icon.png (icon) => 404 Not Found
[2021-01-10 18:07:54.589][request][INFO] GET /icons/online.mtsbank.ru/icon.png
[2021-01-10 18:07:54.589][response][INFO] GET /icons//icon.png (icon) => 404 Not Found
[2021-01-10 18:07:54.594][request][INFO] GET /icons/online.sberbank.ru/icon.png
[2021-01-10 18:07:54.595][response][INFO] GET /icons//icon.png (icon) => 404 Not Found
[2021-01-10 18:07:54.596][request][INFO] GET /icons/online.vbrr.ru/icon.png
[2021-01-10 18:07:54.596][response][INFO] GET /icons//icon.png (icon) => 404 Not Found
[2021-01-10 18:07:54.597][request][INFO] GET /icons/signin.ea.com/icon.png
[2021-01-10 18:07:54.597][response][INFO] GET /icons//icon.png (icon) => 404 Not Found
[2021-01-10 18:07:54.597][request][INFO] GET /icons/signin.rockstargames.com/icon.png
[2021-01-10 18:07:54.597][response][INFO] GET /icons//icon.png (icon) => 404 Not Found
[2021-01-10 18:07:54.602][response][INFO] GET /icons//icon.png (icon) => 404 Not Found
[2021-01-10 18:09:44.640][bitwarden_rs::api::icons][WARN] Download failed for https://account.keenetic.com/favicon.ico
[2021-01-10 18:10:04.650][bitwarden_rs::api::icons][WARN] Download failed for http://account.keenetic.com/favicon.ico
[2021-01-10 18:10:04.650][bitwarden_rs::api::icons][ERROR] Empty response
[2021-01-10 18:10:04.650][bitwarden_rs::api::icons][ERROR] Error downloading icon: Empty response
[2021-01-10 18:10:04.651][response][INFO] GET /icons//icon.png (icon) => 404 Not Found
[2021-01-10 18:22:54.783][request][INFO] POST /api/accounts/prelogin
[2021-01-10 18:22:54.784][response][INFO] POST /api/accounts/prelogin (prelogin) => 200 OK
[2021-01-10 18:22:54.924][request][INFO] POST /identity/connect/token
[2021-01-10 18:22:54.924][response][INFO] POST /identity/connect/token (login) => 404 Not Found
[2021-01-10 18:22:56.476][request][INFO] POST /api/accounts/prelogin
[2021-01-10 18:22:56.477][response][INFO] POST /api/accounts/prelogin (prelogin) => 200 OK
[2021-01-10 18:22:56.610][request][INFO] POST /identity/connect/token
[2021-01-10 18:22:56.610][response][INFO] POST /identity/connect/token (login) => 404 Not Found
[2021-01-10 18:23:07.889][request][INFO] GET /api/sync
[2021-01-10 18:23:07.941][response][INFO] GET /api/sync?<data..> (sync) => 200 OK
[2021-01-10 18:25:06.800][response][INFO] GET /icons//icon.png (icon) => 404 Not Found
[2021-01-10 18:25:08.990][request][INFO] POST /api/accounts/prelogin
[2021-01-10 18:25:08.990][response][INFO] POST /api/accounts/prelogin (prelogin) => 200 OK
[2021-01-10 18:25:09.126][request][INFO] POST /identity/connect/token
[2021-01-10 18:25:09.126][response][INFO] POST /identity/connect/token (login) => 404 Not Found
[2021-01-10 18:25:37.648][request][INFO] GET /icons/10.13.10.2/icon.png
[2021-01-10 18:25:37.648][response][INFO] GET /icons//icon.png (icon) => 404 Not Found
[2021-01-10 18:26:27.319][request][INFO] GET /icons/10.13.10.2/icon.png
[2021-01-10 18:26:27.319][response][INFO] GET /icons//icon.png (icon) => 404 Not Found

<!-- gh-comment-id:757485284 --> @xdxxp6qp commented on GitHub (Jan 10, 2021): version 1.18.0 [2021-01-10 18:07:54.583][bitwarden_rs::api::icons][WARN] IP 10.13.10.2 for domain '10.13.10.2' is not a global IP! [2021-01-10 18:07:54.583][bitwarden_rs::api::icons][ERROR] Domain is blacklisted. 10.13.10.2 [2021-01-10 18:07:54.583][bitwarden_rs::api::icons][ERROR] Error downloading icon: Domain is blacklisted. 10.13.10.2 [2021-01-10 18:07:54.583][response][INFO] GET /icons/<domain>/icon.png (icon) => 404 Not Found [2021-01-10 18:07:54.589][request][INFO] GET /icons/online.mtsbank.ru/icon.png [2021-01-10 18:07:54.589][response][INFO] GET /icons/<domain>/icon.png (icon) => 404 Not Found [2021-01-10 18:07:54.594][request][INFO] GET /icons/online.sberbank.ru/icon.png [2021-01-10 18:07:54.595][response][INFO] GET /icons/<domain>/icon.png (icon) => 404 Not Found [2021-01-10 18:07:54.596][request][INFO] GET /icons/online.vbrr.ru/icon.png [2021-01-10 18:07:54.596][response][INFO] GET /icons/<domain>/icon.png (icon) => 404 Not Found [2021-01-10 18:07:54.597][request][INFO] GET /icons/signin.ea.com/icon.png [2021-01-10 18:07:54.597][response][INFO] GET /icons/<domain>/icon.png (icon) => 404 Not Found [2021-01-10 18:07:54.597][request][INFO] GET /icons/signin.rockstargames.com/icon.png [2021-01-10 18:07:54.597][response][INFO] GET /icons/<domain>/icon.png (icon) => 404 Not Found [2021-01-10 18:07:54.602][response][INFO] GET /icons/<domain>/icon.png (icon) => 404 Not Found [2021-01-10 18:09:44.640][bitwarden_rs::api::icons][WARN] Download failed for https://account.keenetic.com/favicon.ico [2021-01-10 18:10:04.650][bitwarden_rs::api::icons][WARN] Download failed for http://account.keenetic.com/favicon.ico [2021-01-10 18:10:04.650][bitwarden_rs::api::icons][ERROR] Empty response [2021-01-10 18:10:04.650][bitwarden_rs::api::icons][ERROR] Error downloading icon: Empty response [2021-01-10 18:10:04.651][response][INFO] GET /icons/<domain>/icon.png (icon) => 404 Not Found [2021-01-10 18:22:54.783][request][INFO] POST /api/accounts/prelogin [2021-01-10 18:22:54.784][response][INFO] POST /api/accounts/prelogin (prelogin) => 200 OK [2021-01-10 18:22:54.924][request][INFO] POST /identity/connect/token [2021-01-10 18:22:54.924][response][INFO] POST /identity/connect/token (login) => 404 Not Found [2021-01-10 18:22:56.476][request][INFO] POST /api/accounts/prelogin [2021-01-10 18:22:56.477][response][INFO] POST /api/accounts/prelogin (prelogin) => 200 OK [2021-01-10 18:22:56.610][request][INFO] POST /identity/connect/token [2021-01-10 18:22:56.610][response][INFO] POST /identity/connect/token (login) => 404 Not Found [2021-01-10 18:23:07.889][request][INFO] GET /api/sync [2021-01-10 18:23:07.941][response][INFO] GET /api/sync?<data..> (sync) => 200 OK [2021-01-10 18:25:06.800][response][INFO] GET /icons/<domain>/icon.png (icon) => 404 Not Found [2021-01-10 18:25:08.990][request][INFO] POST /api/accounts/prelogin [2021-01-10 18:25:08.990][response][INFO] POST /api/accounts/prelogin (prelogin) => 200 OK [2021-01-10 18:25:09.126][request][INFO] POST /identity/connect/token [2021-01-10 18:25:09.126][response][INFO] POST /identity/connect/token (login) => 404 Not Found [2021-01-10 18:25:37.648][request][INFO] GET /icons/10.13.10.2/icon.png [2021-01-10 18:25:37.648][response][INFO] GET /icons/<domain>/icon.png (icon) => 404 Not Found [2021-01-10 18:26:27.319][request][INFO] GET /icons/10.13.10.2/icon.png [2021-01-10 18:26:27.319][response][INFO] GET /icons/<domain>/icon.png (icon) => 404 Not Found
Author
Owner

@Biepa commented on GitHub (Jan 11, 2021):

Do you configured somewhere something with the icons?
In the log every path with "icons" hast two slashes in it. Maybe thats a problem?

<!-- gh-comment-id:758089111 --> @Biepa commented on GitHub (Jan 11, 2021): Do you configured somewhere something with the icons? In the log every path with "icons" hast two slashes in it. Maybe thats a problem?
Author
Owner

@BlackDex commented on GitHub (Jan 11, 2021):

Well it looks like ICON_BLACKLIST_NON_GLOBAL_IPS is set to true which blocks downloading icons using private ip ranges.
This is to prevent scraping of your internal network for work IP's with http(s) services.

Also, the only domain i see further there is account.keenetic.com, and that doesn't work for both bitwarden_rs and bitwarden.com icon downloading. The reason is, that site uses window.location.href = "/auth/" to redirect the site via javascript.
That is not something we support and ever will support.

<!-- gh-comment-id:758107391 --> @BlackDex commented on GitHub (Jan 11, 2021): Well it looks like `ICON_BLACKLIST_NON_GLOBAL_IPS` is set to `true` which blocks downloading icons using private ip ranges. This is to prevent scraping of your internal network for work IP's with http(s) services. Also, the only domain i see further there is `account.keenetic.com`, and that doesn't work for both bitwarden_rs and bitwarden.com icon downloading. The reason is, that site uses `window.location.href = "/auth/"` to redirect the site via javascript. That is not something we support and ever will support.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#905
No description provided.