Some sites are missing letter icons

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:

In the JSON for webrocker:

{"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 gsubed 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.

Veo todas las avatares en ese tema con Firefox 55.0.1 (32 bits):

Tienes razón, a veces faltan las avatares. Esto ha ocurrido en algunos sitios al azar (también en sitios de Discourse). Pero recargar la página soluciona el problema (para mí) todas las veces. Probablemente sea principalmente un problema de Firefox más que de Discourse.

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

I clicked on the :large_blue_circle: 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:

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.

1 me gusta

It’s not FF55. It’s Privacy Badger. It has decided that cdn.discourse.org and cdn-enterprise.discourse.org are safe, but that 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.

4 Me gusta

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

2 Me gusta

Found it. This topic can be closed.

1 me gusta