# Some sites are missing letter icons

**URL:** <https://meta.discourse.org/t/some-sites-are-missing-letter-icons/68027>\
**Category:** Bug\
**Created:** [2017年八月14日 16:00 UTC](https://meta.discourse.org/t/some-sites-are-missing-letter-icons/68027 "2017-08-14T16:00:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)\
**Post date:** [2017年八月14日 16:00 UTC](https://meta.discourse.org/t/some-sites-are-missing-letter-icons/68027/1 "2017-08-14T16:00:46Z")

</div>

This isn’t happening on Meta, but some other Discourse hosted sites are not showing letter icons for desktop views (in Firefox). They appear to work in the mobile view.

All of the users in this topic, found searching for something else:

> **[What is the proper method of accessing Apache servers](https://community.letsencrypt.org/t/what-is-the-proper-method-of-accessing-apache-servers/3479)**
>
> Hi, I’ve been trying to get the Let’s Encrupt client to install however I think the problem is that it’s not addressing the actual Apache server with my approved domains. Server configurations and the like are way over my head. The start up...

 ![screen-20170814-084952](https://global.discourse-cdn.com/meta/original/3X/8/d/8dfa84b5d77fb0948e15143837f3b1cc29900a8b.png)

In the JSON for webrocker:

```json
{"id":6180,"name":"","username":"webrocker","avatar_template":"https://avatars.discourse.org/v2/letter/w/e19adc/{size}.png"

```

Reviewing the code, it looks like `{first_letter}` and `{color}` get `gsub`ed in in `self.system_avatar_template` in `app/models/user.rb`, but size seems special because it changes based on view (hence working for mobile). I’m not clear where size is supposed to be subbed in and is failing to be.

I’ve seen this behavior at Imgur, too.

---

<div class="post-metadata">

**Author:** ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)\
**Post date:** [2017年八月14日 17:43 UTC](https://meta.discourse.org/t/some-sites-are-missing-letter-icons/68027/2 "2017-08-14T17:43:24Z")

</div>

我在 Firefox 55.0.1（32 位）中查看该主题时，能看到所有头像：

 ![DYtU8pu](https://global.discourse-cdn.com/meta/original/4X/f/1/a/f1a61df0bcf98bfe92731a32661243932617e1c6.png)

你说得对，头像有时确实会缺失。这在某些网站上随机出现（包括 Discourse 网站）。但刷新页面（对我而言）总能解决问题。这很可能主要是 Firefox 的问题，而非 Discourse 的问题。

---

<div class="post-metadata">

**Author:** ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)\
**Post date:** [2017年八月14日 18:01 UTC](https://meta.discourse.org/t/some-sites-are-missing-letter-icons/68027/3 "2017-08-14T18:01:24Z")

</div>

Reload didn’t help. Nor did logging in. Since I don’t have an icon at Let’s Encrypt, the UI got really bad:

 ![screen-20170814-105007](https://global.discourse-cdn.com/meta/original/3X/d/2/d262f12c47b1fc48bd1bf0bd7cb4ad267b57e68e.png)

I clicked on the 🔵 number to get that menu, but without a notification it is invisible and unclickable.

In browser console I see only one error, repeated three times:

```plaintext
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. ExtensionCommon.jsm:264
	withLastError resource://gre/modules/ExtensionCommon.jsm:264:9
	wrapPromise/< resource://gre/modules/ExtensionCommon.jsm:315:11

```

Given the location, the message is not Discourse related, and might or might not be related to the icon problem. I’ll guess I’ll give FF55 a try for this.

---

<div class="post-metadata">

**Author:** ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)\
**Post date:** [2017年八月14日 19:50 UTC](https://meta.discourse.org/t/some-sites-are-missing-letter-icons/68027/4 "2017-08-14T19:50:26Z")

</div>

It’s not FF55. It’s [Privacy Badger](https://www.eff.org/privacybadger). It has decided that [cdn.discourse.org](http://cdn.discourse.org) and [cdn-enterprise.discourse.org](http://cdn-enterprise.discourse.org) are safe, but that [avatars.discourse.org](http://avatars.discourse.org) is tracking me. The two CDN sites get a nice little DNT check box with “This domain promises to not track you” message, but avatars does not.

 ![screen-20170814-124804](https://global.discourse-cdn.com/meta/original/3X/f/3/f3a7c50f67e282d0dcd557f5e5df0d37f21d0d0e.png)

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2017年八月15日 01:11 UTC](https://meta.discourse.org/t/some-sites-are-missing-letter-icons/68027/5 "2017-08-15T01:11:05Z")

</div>

Yes, I believe we followed up on this before. Perhaps searching will turn it up.

---

<div class="post-metadata">

**Author:** ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)\
**Post date:** [2017年八月15日 02:03 UTC](https://meta.discourse.org/t/some-sites-are-missing-letter-icons/68027/6 "2017-08-15T02:03:10Z")

</div>

Found it. This topic can be closed.

> [@Discourse CDNs are blocked by privacy badger](https://meta.discourse.org/t/discourse-cdns-are-blocked-by-privacy-badger/17127/48):
>
> I see it happening again with the avatars host: Took me a while to realize it was PB.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2017年八月15日 02:35 UTC](https://meta.discourse.org/t/some-sites-are-missing-letter-icons/68027/7 "2017-08-15T02:35:20Z")

</div>


