# Favicon not loading in FireFox

**URL:** https://meta.discourse.org/t/favicon-not-loading-in-firefox/40731
**Category:** Bug
**Created:** [2016年二月27日 14:22 UTC](https://meta.discourse.org/t/favicon-not-loading-in-firefox/40731 "2016-02-27T14:22:05Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [2016年二月27日 14:22 UTC](https://meta.discourse.org/t/favicon-not-loading-in-firefox/40731/1 "2016-02-27T14:22:05Z")

</div>

I don’t think it’s related but the latest upgrade seems to have wiped out the favicon: it appears as a white square to me both here on meta and on [talk.devuan.org](https://talk.devuan.org/).

EDIT: seems to have come back to normal here on meta.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2016年二月27日 14:31 UTC](https://meta.discourse.org/t/favicon-not-loading-in-firefox/40731/2 "2016-02-27T14:31:55Z")

</div>

I merged in a change by @tgxworld for following redirects in favicon downloads, perhaps it broke this

---

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [2016年二月28日 02:48 UTC](https://meta.discourse.org/t/favicon-not-loading-in-firefox/40731/3 "2016-02-28T02:48:27Z")

</div>

Still broken here (the favicon turned into a white square).

Is there a way to disable these favicon tricks and keep it static?

[Edited:] I had the preference set to use the notification with the favicon. I turned it off, but the favicon remains a white square.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2016年三月8日 09:02 UTC](https://meta.discourse.org/t/favicon-not-loading-in-firefox/40731/4 "2016-03-08T09:02:15Z")

</div>

I tested your site on Chrome and FireFox. Both browsers work for me. Has this been resolved for you? Are there any errors in your logs?

---

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [2016年三月8日 10:39 UTC](https://meta.discourse.org/t/favicon-not-loading-in-firefox/40731/5 "2016-03-08T10:39:46Z")

</div>

Hey, thank you @tgxworld for having a look. I’m upgrading the instance, but so far I’ve had a white square icon. Hopefully after the upgrade it will be fixed. Response in a few minutes…

---

<div class="post-metadata">

### Author: ![Alankrit\_Choudh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alankrit_choudh/32/119698_2.png) [@Alankrit\_Choudh](https://meta.discourse.org/u/Alankrit_Choudh)
#### Post date: [2016年三月8日 11:21 UTC](https://meta.discourse.org/t/favicon-not-loading-in-firefox/40731/6 "2016-03-08T11:21:12Z")

</div>

Updated to the latest, still having the same issue the favicon is loading, but  
[![](https://global.discourse-cdn.com/meta/original/3X/a/5/a5f1a9818de10b12779ae544bce9ed013c80b666.png) ](https://global.discourse-cdn.com/meta/original/3X/a/5/a5f1a9818de10b12779ae544bce9ed013c80b666.png)  
Takes a lot of time to loading finished.

---

<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: [2016年三月8日 11:25 UTC](https://meta.discourse.org/t/favicon-not-loading-in-firefox/40731/7 "2016-03-08T11:25:04Z")

</div>

Looks like message bus POSTs are timing out on your sites:

 ![](https://global.discourse-cdn.com/meta/original/3X/5/a/5abb7a623e793db9816581b05cca54656251945c.png)

Notice the URL at upper right: `/message-bus/` those requests are taking 25+ seconds

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2016年三月8日 11:42 UTC](https://meta.discourse.org/t/favicon-not-loading-in-firefox/40731/8 "2016-03-08T11:42:59Z")

</div>

That is by design 🙂 its long polling, also happens here

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2016年三月8日 11:49 UTC](https://meta.discourse.org/t/favicon-not-loading-in-firefox/40731/9 "2016-03-08T11:49:38Z")

</div>

OK, I see why this is happening, we are start listening to the message bus a bit too early, before the whole page rendered. Firefox gets confused here and just keeps spinning.

Will have a look at how to avoid this …

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2016年三月8日 12:29 UTC](https://meta.discourse.org/t/favicon-not-loading-in-firefox/40731/10 "2016-03-08T12:29:18Z")

</div>

Should be fixed per:

[https://github.com/discourse/discourse/commit/6c1d5b8cd356baa24fc1457cc544224e55902783](https://github.com/discourse/discourse/commit/6c1d5b8cd356baa24fc1457cc544224e55902783)

---

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [2016年三月8日 15:12 UTC](https://meta.discourse.org/t/favicon-not-loading-in-firefox/40731/13 "2016-03-08T15:12:05Z")

</div>

After upgrading to the latest Discourse, including @sam’s patch to the spinning issue, I still get a **white square** as a favicon.

The normal favicon images is set as: `/user_avatar/talk.devuan.org/system/16/20.png`

Which is:

I have another image for the favicon in the assets topic pointing to `/uploads/default/original/1X/850b3654d4b4d94dbf6a98b27de7146d69aa723b.png` (i.e.,

Setting one or the other brings a white square.

How can I debug this?

[edit: thanks @zogstrip]

**update** : the favicon appears normally **when logged out**.

---

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [2016年三月14日 13:40 UTC](https://meta.discourse.org/t/favicon-not-loading-in-firefox/40731/14 "2016-03-14T13:40:13Z")

</div>

All right, I figured out that it’s not a Firefox issue but a Tor Browser Bundle issue.

It’s unclear yet what exactly affects this, but I suspect anti-tracking code. There are a number of related bugs in the Tor Trac but nothing reporting this white square misbehavior.

To be investigated on Tor side.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2016年三月14日 13:41 UTC](https://meta.discourse.org/t/favicon-not-loading-in-firefox/40731/15 "2016-03-14T13:41:10Z")

</div>


