[GH-ISSUE #1433] Cannot download Website icon #956

Closed
opened 2026-03-03 02:05:00 +03:00 by kerem · 1 comment
Owner

Originally created by @doyard on GitHub (Feb 24, 2021).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/1433

ls -l /root/Dropbox/bw-data/icon_cache/

...
-rw-r--r-- 1 1000 1000   1150 Sep  6 20:42 account.chsi.com.cn.png
-rw-r--r-- 1 root root      0 Feb 24 11:43 account.chsi.com.cn.png.miss
-rw-r--r-- 1 root root      0 Feb 24 09:54 account.italent.cn.png.miss
-rw-r--r-- 1 1000 1000   4150 Sep  6 20:41 account.jetbrains.com.png
-rw-r--r-- 1 root root      0 Feb 24 09:57 account.live.com.png.miss
-rw-r--r-- 1 root root      0 Feb 22 20:21 account.momentumdash.com.png.miss
-rw-r--r-- 1 1000 1000   5396 Sep  6 20:41 account.norton.com.png
-rw-r--r-- 1 1000 1000      0 Feb 18 11:18 account.norton.com.png.miss
-rw-r--r-- 1 1000 1000  15086 Sep  6 20:40 accounts.firefox.com.cn.png
-rw-r--r-- 1 root root      0 Feb 24 10:01 accounts.firefox.com.cn.png.miss
-rw-r--r-- 1 1000 1000  15086 Sep  6 20:41 accounts.firefox.com.png
-rw-r--r-- 1 root root      0 Feb 24 15:21 accounts.firefox.com.png.miss
-rw-r--r-- 1 1000 1000   5430 Sep  6 20:42 accounts.google.com.png
-rw-r--r-- 1 root root      0 Feb 21 20:24 accounts.google.com.png.miss
-rw-r--r-- 1 root root      0 Feb 24 15:17 account.software.dell.com.png.miss

nginx error logs

117.149.23.42 - some@email.com [24/Feb/2021:17:02:07 +0800] "GET /icons/passport.feng.com/icon.png HTTP/2.0" 404 255 "https://mydomain.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 Edg/88.0.705.74"
117.149.23.42 - some@email.com [24/Feb/2021:17:02:07 +0800] "GET /icons/mp.weixin.qq.com/icon.png HTTP/2.0" 404 255 "https://mydomain.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 Edg/88.0.705.74"
117.149.23.42 - some@email.com [24/Feb/2021:17:02:07 +0800] "GET /icons/disposal.1netbi.com/icon.png HTTP/2.0" 404 255 "https://mydomain.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 Edg/88.0.705.74"
117.149.23.42 - some@email.com [24/Feb/2021:17:02:07 +0800] "GET /icons/wallet.95516.com/icon.png HTTP/2.0" 404 255 "https://mydomain.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 Edg/88.0.705.74"
117.149.23.42 - some@email.com [24/Feb/2021:17:02:07 +0800] "GET /icons/www.yibei.com/icon.png HTTP/2.0" 404 255 "https://mydomain.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 Edg/88.0.705.74"
117.149.23.42 - some@email.com [24/Feb/2021:17:02:07 +0800] "GET /icons/app.yinxiang.com/icon.png HTTP/2.0" 404 255 "https://mydomain.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 Edg/88.0.705.74"
117.149.23.42 - some@email.com [24/Feb/2021:17:02:07 +0800] "GET /icons/lixian.vip.xunlei.com/icon.png HTTP/2.0" 404 255 "https://mydomain.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 Edg/88.0.705.74"
117.149.23.42 - - [24/Feb/2021:17:02:34 +0800] "GET /api/accounts/revision-date HTTP/2.0" 200 13 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 Edg/88.0.705.74"

server logs

[2021-02-24 17:04:22.247][request][INFO] GET /icons/lixian.vip.xunlei.com/icon.png
[2021-02-24 17:04:22.247][response][INFO] GET /icons/<domain>/icon.png (icon) => 404 Not Found
[2021-02-24 17:04:22.248][request][INFO] GET /icons/disposal.1netbi.com/icon.png
[2021-02-24 17:04:22.248][response][INFO] GET /icons/<domain>/icon.png (icon) => 404 Not Found
[2021-02-24 17:04:22.248][request][INFO] GET /icons/www.yibei.com/icon.png
[2021-02-24 17:04:22.250][response][INFO] GET /icons/<domain>/icon.png (icon) => 404 Not Found
services:
 bitwarden:
  container_name: bitwarden
  image: bitwardenrs/server
  restart: always
  volumes:
      - /root/bitwarden/logs:/logs
      - /root/Dropbox/bw-data:/data
      - /etc/timezone:/etc/timezone
      - /etc/localtime:/etc/localtime
 network_mode: 'host'
  environment:
   LOG_FILE: '/logs/bitwarden.log'
   WEBSOCKET_ENABLED: 'true'
   SIGNUPS_ALLOWED: 'false'
   ICON_BLACKLIST_NON_GLOBAL_IPS: 'false'

I tried to add ICON_BLACKLIST_NON_GLOBAL_IPS: 'false' to container environment, but no lucking.

Please help me. Thanks a lot.

Originally created by @doyard on GitHub (Feb 24, 2021). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/1433 `ls -l /root/Dropbox/bw-data/icon_cache/` ``` ... -rw-r--r-- 1 1000 1000 1150 Sep 6 20:42 account.chsi.com.cn.png -rw-r--r-- 1 root root 0 Feb 24 11:43 account.chsi.com.cn.png.miss -rw-r--r-- 1 root root 0 Feb 24 09:54 account.italent.cn.png.miss -rw-r--r-- 1 1000 1000 4150 Sep 6 20:41 account.jetbrains.com.png -rw-r--r-- 1 root root 0 Feb 24 09:57 account.live.com.png.miss -rw-r--r-- 1 root root 0 Feb 22 20:21 account.momentumdash.com.png.miss -rw-r--r-- 1 1000 1000 5396 Sep 6 20:41 account.norton.com.png -rw-r--r-- 1 1000 1000 0 Feb 18 11:18 account.norton.com.png.miss -rw-r--r-- 1 1000 1000 15086 Sep 6 20:40 accounts.firefox.com.cn.png -rw-r--r-- 1 root root 0 Feb 24 10:01 accounts.firefox.com.cn.png.miss -rw-r--r-- 1 1000 1000 15086 Sep 6 20:41 accounts.firefox.com.png -rw-r--r-- 1 root root 0 Feb 24 15:21 accounts.firefox.com.png.miss -rw-r--r-- 1 1000 1000 5430 Sep 6 20:42 accounts.google.com.png -rw-r--r-- 1 root root 0 Feb 21 20:24 accounts.google.com.png.miss -rw-r--r-- 1 root root 0 Feb 24 15:17 account.software.dell.com.png.miss ``` nginx error logs ``` 117.149.23.42 - some@email.com [24/Feb/2021:17:02:07 +0800] "GET /icons/passport.feng.com/icon.png HTTP/2.0" 404 255 "https://mydomain.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 Edg/88.0.705.74" 117.149.23.42 - some@email.com [24/Feb/2021:17:02:07 +0800] "GET /icons/mp.weixin.qq.com/icon.png HTTP/2.0" 404 255 "https://mydomain.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 Edg/88.0.705.74" 117.149.23.42 - some@email.com [24/Feb/2021:17:02:07 +0800] "GET /icons/disposal.1netbi.com/icon.png HTTP/2.0" 404 255 "https://mydomain.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 Edg/88.0.705.74" 117.149.23.42 - some@email.com [24/Feb/2021:17:02:07 +0800] "GET /icons/wallet.95516.com/icon.png HTTP/2.0" 404 255 "https://mydomain.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 Edg/88.0.705.74" 117.149.23.42 - some@email.com [24/Feb/2021:17:02:07 +0800] "GET /icons/www.yibei.com/icon.png HTTP/2.0" 404 255 "https://mydomain.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 Edg/88.0.705.74" 117.149.23.42 - some@email.com [24/Feb/2021:17:02:07 +0800] "GET /icons/app.yinxiang.com/icon.png HTTP/2.0" 404 255 "https://mydomain.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 Edg/88.0.705.74" 117.149.23.42 - some@email.com [24/Feb/2021:17:02:07 +0800] "GET /icons/lixian.vip.xunlei.com/icon.png HTTP/2.0" 404 255 "https://mydomain.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 Edg/88.0.705.74" 117.149.23.42 - - [24/Feb/2021:17:02:34 +0800] "GET /api/accounts/revision-date HTTP/2.0" 200 13 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 Edg/88.0.705.74" ``` server logs ``` [2021-02-24 17:04:22.247][request][INFO] GET /icons/lixian.vip.xunlei.com/icon.png [2021-02-24 17:04:22.247][response][INFO] GET /icons/<domain>/icon.png (icon) => 404 Not Found [2021-02-24 17:04:22.248][request][INFO] GET /icons/disposal.1netbi.com/icon.png [2021-02-24 17:04:22.248][response][INFO] GET /icons/<domain>/icon.png (icon) => 404 Not Found [2021-02-24 17:04:22.248][request][INFO] GET /icons/www.yibei.com/icon.png [2021-02-24 17:04:22.250][response][INFO] GET /icons/<domain>/icon.png (icon) => 404 Not Found ``` ```yml services: bitwarden: container_name: bitwarden image: bitwardenrs/server restart: always volumes: - /root/bitwarden/logs:/logs - /root/Dropbox/bw-data:/data - /etc/timezone:/etc/timezone - /etc/localtime:/etc/localtime network_mode: 'host' environment: LOG_FILE: '/logs/bitwarden.log' WEBSOCKET_ENABLED: 'true' SIGNUPS_ALLOWED: 'false' ICON_BLACKLIST_NON_GLOBAL_IPS: 'false' ``` I tried to add `ICON_BLACKLIST_NON_GLOBAL_IPS: 'false'` to container environment, but no lucking. Please help me. Thanks a lot.
kerem 2026-03-03 02:05:00 +03:00
Author
Owner

@doyard commented on GitHub (Feb 24, 2021):

BTW. Is there any ENV to specify a http port?

<!-- gh-comment-id:784933329 --> @doyard commented on GitHub (Feb 24, 2021): BTW. Is there any ENV to specify a http port?
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#956
No description provided.