Icon web #900

Closed
opened 2025-11-07 06:52:18 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @xdxxp6qp on GitHub (Jan 10, 2021).

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

Originally created by @xdxxp6qp on GitHub (Jan 10, 2021). Hello, tell me why the site icons do not appear?
Author
Owner

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

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

@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

@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?

@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.

@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.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#900