Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Avatars sometimes not rendered in main chat window

Open frdmn opened this issue 10 years ago • 13 comments

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

frdmn avatar Aug 24 '16 14:08 frdmn

Happends ALOT nowdays for some reason :/

Molle500 avatar Aug 24 '16 15:08 Molle500

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

Edited above :)

frdmn avatar Aug 24 '16 15:08 frdmn

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.

agentirons avatar Oct 27 '16 16:10 agentirons

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

engelgabriel avatar Dec 07 '16 15:12 engelgabriel

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

On Wed, Dec 7, 2016 at 7:03 AM Gabriel Engel [email protected] 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 .

agentirons avatar Dec 07 '16 16:12 agentirons

I dont think this is happening anymore.

Molle500 avatar Dec 07 '16 19:12 Molle500

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

engelgabriel avatar Dec 14 '16 14:12 engelgabriel

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

Molle500 avatar Dec 15 '16 10:12 Molle500

On what browser @Molle500 ?

engelgabriel avatar Dec 20 '16 22:12 engelgabriel

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

Molle500 avatar Apr 20 '17 19:04 Molle500

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)

bakhtizin avatar Oct 16 '17 09:10 bakhtizin

Has anybody seen this issue on any newer version?

Hudell avatar Jun 06 '18 17:06 Hudell

nope

sampaiodiego avatar Oct 19 '18 17:10 sampaiodiego