Get Timers Now!
X
 
Oct 17 - 21:18:38
-1
Game Suggestions
0 Watchers
Page:  1 
Duplicate messages in chat Started by: Voltaire on Nov 30, '17 20:51

See the following image: https://imgur.com/a/SsmSV

Clearly, the times in messages repeat just as the content, which means they get downloaded from server with correct timestamps, but are not identified as identical.

Report Post Tip

Has happened to me for as long as I can remember. Always assumed it was because of being on my phone, but it does it on my laptop as well. God help you when it happens during the credit giveaways >.<

Report Post Tip

When you are connected to our push server, it is done via websockets, the shittier your internet connection is, the more likely you lose that steady websocket and it falls back to older less efficient methods to try to keep the information going back and forth.  The browser maintains a list of messages it gets and should only display newer ids than what is has, but it sounds like somewhere between your connection going unstable (or disconnected/restarted) and it switching to polling, that some packets are lost and it loses its track of the message IDs (or they come and get processed in the wrong order, or no confirmation of messages), which results in a redisplay when it it tries to give you the messages.

This is something I will look into for those that have issues, but it will be a bit before we can pencil that in.

Report Post Tip

If you remember unique IDs of each received message and it still happens then this is gonna be tough debugging. Do you use localStorage to sync messages between tabs? That could cause duplicates if it bypasses the ID check.

Report Post Tip

Game Suggestions
Replying to: Duplicate messages in chat
Compose Body:

@Mention Notifications: On More info
How much do you want to tip for this post?

Minimum $20,000

(NaN)
G2
G1
L
H
D
C
Private Conversations
0 PLAYERS IN CHANNEL