Rocket.chat: Avatars sometimes not rendered in main chat window

Created on 24 Aug 2016  Ā·  13Comments  Ā·  Source: RocketChat/Rocket.Chat

Your Rocket.Chat version: demo instance

Description: Sometimes the avatars are just missing in the main chat window. I already did some research to see if it's an client side issue, but it looks like that the server just renders the DOM incorrectly:

em5wf2kge6zkjdjgt


The DOM is rendered as:

<button class="thumb user-card-message" data-username="aaron.ogle" tabindex="1"></button>

rather than:

<button class="thumb user-card-message" data-username="aaron.ogle" tabindex="1">
  <div class="avatar">
    <div class="avatar-image" style="background-image:url(/avatar/aaron.ogle.jpg?_dc=0);"></div>
  </div>
</button>

Reported by: @Molle500, @TheReal1604, @lunitic and @frdmn

uux bug

Most helpful comment

i think this is fixed. I havn't seen it happen for a while

All 13 comments

Happends ALOT nowdays for some reason :/

Oh right, I forgot to include you @Molle500 as reporter!

Edited above :)

This issue suddenly hit our server this morning. One user reported they were missing past a certain time in our message history, and as I was talking to him I switched tabs and came back and suddenly a portion of avatars were missing from my window as well. When I continued chatting the new messages had the avatars back again. I pulled the latest 0.44 release and refreshed and thought I fixed the issue, but they seem to randomly appear or disappear when changing between conversations.

screen shot 2016-10-27 at 09 35 34

EDIT: Restarted the computer running the service and it seems to have resolved the issue.

This seem to be fixed on the latest versions. Can confirm if this is still happening?

Haven't run into it in the last few weeks at least.

On Wed, Dec 7, 2016 at 7:03 AM Gabriel Engel notifications@github.com
wrote:

This seem to be fixed on the latest versions. Can confirm if this is still
happening?

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/RocketChat/Rocket.Chat/issues/4100#issuecomment-265470092,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQ1jhWp401hzlUhDDd17X7fdN5Yqf_sbks5rFsrYgaJpZM4JsEHh
.

I dont think this is happening anymore.

It got a lot better, but apparently still happens sometimes on slow machines :(

Hmm happen just now, one users avatar missing. But i“m on a super good computer and 100mbit/s internet @engelgabriel

On what browser @Molle500 ?

i think this is fixed. I havn't seen it happen for a while

Happened on our instance today. We had to restart the server.

āž” | Rocket.Chat Version: 0.58.2                            
āž” | NodeJS Version: 4.8.4 - x64                      
āž” | Platform: linux                             
āž” | Process Port: 3000                              
āž” | Site URL: https://whatevertheurlis.com 
āž” | ReplicaSet OpLog: Disabled                        
āž” | Commit Hash: 988103d449                  
āž” | Commit Branch: HEAD        

Dev Tools of the browser was showing GET request erros on https://our-chat-url/avatar/username_X=?_dc=undefined 404 (NOT FOUND)

Has anybody seen this issue on any newer version?

nope

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  Ā·  3Comments

amayer5125 picture amayer5125  Ā·  3Comments

Buzzele picture Buzzele  Ā·  3Comments

royalaid picture royalaid  Ā·  3Comments

lunitic picture lunitic  Ā·  3Comments